diff --git a/Adding Support for New Cloud Provider.md b/Adding Support for New Cloud Provider.md new file mode 100644 index 0000000..97b8c0f --- /dev/null +++ b/Adding Support for New Cloud Provider.md @@ -0,0 +1,138 @@ +# Adding Support for a New Cloud Provider + +## Requirements + +### Cluster Specifications +- **Minimum Requirements:** + - CPU: 48 vCPUs + - Memory: 192 GB +- **Recommended Node Size:** + - 3 nodes of `Standard_B16as_v2` (16 vCPUs, 64 GB RAM) + +### Networking +- Public Subnet + +### Storage Buckets +Create the following buckets: +1. `storage_container_private` +2. `storage_container_public` +3. `reports_container_private` +4. `telemetry_container_private` +5. `backups_container_private` +6. `flink_state_container_private` +7. `dial_state_container_public` + +### Additional Requirements +1. Storage Account +2. Random String +3. Encryption String +4. JWT Tokens +5. RSA Keys + +--- + +## Steps to Add a New Cloud Provider + +### Step 1: Create a New Folder +- Navigate to the `terraform` directory and create a folder for the new cloud provider. + Example: `terraform/gcp/` + +### Step 2: Recommended Folder Structure +Organize the folder as follows: +```plaintext +terraform// +├── _common +│ ├── kubernetescluster.hcl +│ ├── keys.hcl +│ ├── network.hcl +│ ├── output-file.hcl +│ ├── serviceaccount.hcl +│ ├── storage.hcl +│ └── upload-files.hcl +├── modules +│ ├── kubernetescluster +│ ├── keys +│ ├── network +│ ├── output-file +│ ├── serviceaccount +│ ├── storage +│ └── upload-files +└── template/ + ├── kubernetescluster + │ └── terragrunt.hcl + ├── create_tf_backend.sh + ├── environment.hcl + ├── global-values.yaml + ├── install.sh + ├── keys + │ └── terragrunt.hcl + ├── network + │ └── terragrunt.hcl + ├── output-file + │ └── terragrunt.hcl + ├── postman.env.json + ├── storage + │ └── terragrunt.hcl + ├── terragrunt.hcl + └── upload-files + └── terragrunt.hcl +``` + +### Step 3: Copy Template Files +Copy the template files from the Azure configuration: +```sh +cp sunbird-ed-installer/terraform/azure/template/{environment.hcl,global-values.yaml,install.sh} sunbird-ed-installer/terraform/gcp/template/ +In global-values.yaml, add this variable: +cloud_provider: "REPLACE_ME" # for configuring GCP and AWS installations +``` + +### Step 4: Structuring Output Files +This will become the input for Helm bundles: +```plaintext + global-cloud-values.yaml + environment.hcl + global-values.yaml +``` + +### Step 5: Helm Changes +In Helm charts, wherever cloud values are being referred to, use the following format: +```yaml +{{- if eq .Values.global.cloud_provider "aws" }} +# AWS Specific Values +{{- else if eq .Values.global.cloud_provider "gcp" }} +# GCP Specific Values +{{- end }} +``` + +#### Example: +In **Helm charts**, using a direct reference for **Azure**: +```yaml +container_name: "{{ .Values.global.azure_telemetry_container_name }}" +``` + +Using an `if-else` condition for multiple cloud providers: +```yaml +container_name: + {{- if eq .Values.global.cloud_provider "aws" }} + "{{ .Values.global.aws_public_bucket_name }}" + {{- else if eq .Values.global.cloud_provider "gcp" }} + "{{ .Values.global.gcp_public_bucket_name }}" + {{- else }} + "{{ .Values.telemetry_container_private }}" + {{- end }} +``` + +### Step 6: Enable Service Account and Add Annotations +When using storage buckets, ensure the appropriate service account is enabled and annotated +For example: +```yaml +serviceAccount: + create: true + name: + annotations: + iam.gke.io/gcp-service-account: iam.gke.io/gcp-service-account: @.iam.gserviceaccount.com +``` + +For **Azure installation**, please refer to the documentation: +`/sunbird-ed-installer/README.md` + diff --git a/README.md b/README.md index a5d8f9c..1d70486 100644 --- a/README.md +++ b/README.md @@ -4,21 +4,28 @@ #### Pre-requisites -1. Domain Name -2. SSL Certificate(FullChain -> private key and Certificate+CA_Bundle). **Fullchain is mandatory**, else installation will fail. - -#### Required CLI tools -1. Azure CLI (https://learn.microsoft.com/en-us/cli/azure/install-azure-cli) -2. jq (https://jqlang.github.io/jq/download/) -3. rclone (https://rclone.org/) -4. Terraform (https://developer.hashicorp.com/terraform/tutorials/aws-get-started/install-cli) -5. Terragrunt (https://terragrunt.gruntwork.io/docs/getting-started/install/) -7. Linux / Macos / Gitbash (Windows) -8. Python 3 -9. PyJwt python package (you can using using pip) -10. [kubectl](https://kubernetes.io/docs/tasks/tools/) -11. [helm](https://helm.sh/docs/intro/quickstart/#install-helm) -12. Postman CLI (https://learning.postman.com/docs/getting-started/installation/installation-and-updates/) +1. **Domain Name** +2. **SSL Certificate**: The FullChain, consisting of the private key and Certificate+CA_Bundle, is mandatory for installation. +3. **Google OAuth Credentials**: [Create credentials](https://developers.google.com/workspace/guides/create-credentials#oauth-client-id) +4. **Google V3 ReCaptcha Credentials**: [Create credentials](https://www.google.com/recaptcha/admin) +5. **Email Service Provider** +6. **MSG91 SMS Service Provider API Token** (Optional): Required for sending OTPs to registered email addresses during user registration or password reset. +7. **YouTube API Token** (Optional): Necessary for uploading video content directly via YouTube URL. + +#### Required CLI Tools + +1. [Azure CLI](https://learn.microsoft.com/en-us/cli/azure/install-azure-cli) +2. [jq](https://jqlang.github.io/jq/download/) +3. [rclone](https://rclone.org/) +4. [Terraform](https://developer.hashicorp.com/terraform/tutorials/aws-get-started/install-cli) +5. [Terragrunt](https://terragrunt.gruntwork.io/docs/getting-started/install/) +6. Linux / MacOS / GitBash (Windows) +7. Python 3 +8. PyJWT Python Package (install via pip) +9. [kubectl](https://kubernetes.io/docs/tasks/tools/) +10. [helm](https://helm.sh/docs/intro/quickstart/#install-helm) +11. [Postman CLI](https://learning.postman.com/docs/getting-started/installation/installation-and-updates/) + **Note:** @@ -39,7 +46,6 @@ We will copy your existing files in the below location with a `.bak` extension a | Name | Description | |----------------|------------------| |`environment` | Environment name (between 1 - 9 charcaters). Example: *dev*, *stage* | -|`random_string` | Alphanumeric random string (between 12 - 24) characters. Example: *U2PNfwcz6rb9756ZwAwZ* | #### Mandatory variables in `global-values.yaml` | Name | Description | @@ -60,6 +66,11 @@ cd dev 2. Update required values in `environment.hcl` and `global-values.yaml` files 3. Run `bash install.sh` +## Client form setup +To setup client forms - Run the install.sh with the function create_client_forms + +`bash install.sh create_client_forms` + ## Default users in the instance This installation setup creates the following default users with different roles. Feel free to update the password using "Forgot password" option or create new users using API's @@ -72,3 +83,4 @@ This installation setup creates the following default users with different roles |Book Reviewer | bookreviewer@yopmail.com | bookReviewer@123| |Public User 1 | user3@yopmail.com | User1@123| |Public User 2 | user2@yopmail.com | User2@123| + diff --git a/helmcharts/edbb/charts/bot/values.yaml b/helmcharts/edbb/charts/bot/values.yaml index 2acd977..7499a24 100644 --- a/helmcharts/edbb/charts/bot/values.yaml +++ b/helmcharts/edbb/charts/bot/values.yaml @@ -5,7 +5,7 @@ replicaCount: 1 image: repository: sunbirded.azurecr.io/bot - tag: "release-3.9.0_RC1_30_bot" + tag: "release-5.1.0_RC1_29_bot" pullPolicy: IfNotPresent pullSecrets: [] diff --git a/helmcharts/edbb/charts/knowledgemw/configs/env.yaml b/helmcharts/edbb/charts/knowledgemw/configs/env.yaml index bbb29f8..f13261a 100644 --- a/helmcharts/edbb/charts/knowledgemw/configs/env.yaml +++ b/helmcharts/edbb/charts/knowledgemw/configs/env.yaml @@ -3,7 +3,7 @@ sunbird_portal_base_url: "https://{{.Values.global.domain}}" sunbird_content_plugin_base_url: "https://{{.Values.global.domain}}" sunbird_keycloak_auth_server_url: "https://{{.Values.global.domain}}/auth" sunbird_data_service_api_base_url: "https://{{.Values.global.domain}}/api" -sunbird_dial_code_registry_url: "https://{{.Values.global.domain}}/dail/" +sunbird_dial_code_registry_url: "https://{{.Values.global.domain}}/dial/" sunbird_language_service_api_base_url: "https://{{.Values.global.domain}}/api/language" sunbird_cache_store: memory sunbird_cache_ttl: "1800" @@ -44,6 +44,8 @@ sunbird_dial_repo_api_key: "{{ .Values.global.sunbird_admin_api_token }}" sunbird_search_service_api_key: "{{ .Values.global.sunbird_admin_api_token }}" sunbird_plugin_repo_api_key: "{{ .Values.global.sunbird_admin_api_token }}" sunbird_data_service_api_key: "{{ .Values.global.sunbird_admin_api_token }}" -sunbird_learner_service_local_base_url: "{{ .Values.sunbird_learner_service_local_base_url | default "http://learner-service:9000"}}" +sunbird_learner_service_local_base_url: "{{ .Values.sunbird_learner_service_local_base_url | default "http://userorg-service:9000"}}" # spell check - https://github.com/Sunbird-Knowlg/knowledge-mw-service/blob/07c2cb26cc200df4c644d482a01eff299a37ad39/src/app.js#L33 -sunbird_contnet_service_base_url: "{{ .Values.sunbird_contnet_service_base_url | default "http://content-service:9000"}}" \ No newline at end of file +sunbird_contnet_service_base_url: "{{ .Values.sunbird_contnet_service_base_url | default "http://content-service:9000"}}" +# release-7.0.0 +sunbird_taxonomy_service_api_base_url: http://taxonomy-service:9000 diff --git a/helmcharts/edbb/charts/knowledgemw/values.yaml b/helmcharts/edbb/charts/knowledgemw/values.yaml index 3da071a..95a3b55 100644 --- a/helmcharts/edbb/charts/knowledgemw/values.yaml +++ b/helmcharts/edbb/charts/knowledgemw/values.yaml @@ -5,7 +5,7 @@ replicaCount: 1 image: repository: sunbirded.azurecr.io/knowledge-mw-service - tag: "release-5.2.0_RC1_d110f8f_3" + tag: "release-5.6.0_RC1_f24f1dd_10" pullPolicy: IfNotPresent pullSecrets: [] @@ -37,7 +37,13 @@ ingress: paths: - / -resources: {} +resources: + requests: + cpu: 100m + memory: 100Mi + limits: + cpu: 1 + memory: 1G autoscaling: enabled: false diff --git a/helmcharts/edbb/charts/kong-apis/configs/kong-apis.yaml b/helmcharts/edbb/charts/kong-apis/configs/kong-apis.yaml index c972fc0..5912fa0 100644 --- a/helmcharts/edbb/charts/kong-apis/configs/kong-apis.yaml +++ b/helmcharts/edbb/charts/kong-apis/configs/kong-apis.yaml @@ -20,7 +20,7 @@ kong_apis: - name: acceptTermsAndCondition uris: "{{ .Values.user_service_prefix }}/v1/tnc/accept" - upstream_url: "{{ .Values.learner_service_url }}/v1/user/tnc/accept" + upstream_url: "{{ .Values.userorg_service_url }}/v1/user/tnc/accept" strip_uri: true plugins: - name: jwt @@ -38,7 +38,7 @@ kong_apis: - name: addBadgeToUser uris: "{{ .Values.user_service_prefix }}/v1/badges/add" - upstream_url: "{{ .Values.learner_service_url }}/v1/user/badges/add" + upstream_url: "{{ .Values.userorg_service_url }}/v1/user/badges/add" strip_uri: true plugins: - name: jwt @@ -56,7 +56,7 @@ kong_apis: - name: addSystemSettings uris: "{{ .Values.data_service_prefix }}/v1/system/settings/set" - upstream_url: "{{ .Values.learner_service_url }}/v1/system/settings/set" + upstream_url: "{{ .Values.userorg_service_url }}/v1/system/settings/set" strip_uri: true plugins: - name: jwt @@ -88,7 +88,7 @@ kong_apis: - name: assignRole uris: "{{ .Values.user_service_prefix }}/v1/role/assign" - upstream_url: "{{ .Values.learner_service_url }}/v1/user/assign/role" + upstream_url: "{{ .Values.userorg_service_url }}/v1/user/assign/role" strip_uri: true plugins: - name: jwt @@ -106,7 +106,7 @@ kong_apis: - name: assignRoleV2 uris: "{{ .Values.user_service_prefix }}/v2/role/assign" - upstream_url: "{{ .Values.learner_service_url }}/v2/user/assign/role" + upstream_url: "{{ .Values.userorg_service_url }}/v2/user/assign/role" strip_uri: true plugins: - name: jwt @@ -160,7 +160,7 @@ kong_apis: - name: blockUser uris: "{{ .Values.user_service_prefix }}/v1/block" - upstream_url: "{{ .Values.learner_service_url }}/v1/user/block" + upstream_url: "{{ .Values.userorg_service_url }}/v1/user/block" strip_uri: true plugins: - name: jwt @@ -178,7 +178,7 @@ kong_apis: - name: checkUploadJobStatus uris: "{{ .Values.data_service_prefix }}/v1/upload/status" - upstream_url: "{{ .Values.learner_service_url }}/v1/upload/status" + upstream_url: "{{ .Values.userorg_service_url }}/v1/upload/status" strip_uri: true plugins: - name: jwt @@ -576,7 +576,7 @@ kong_apis: - name: createNote uris: "{{ .Values.notes_service_prefix }}/v1/create" - upstream_url: "{{ .Values.learner_service_url }}/v1/note/create" + upstream_url: "{{ .Values.userorg_service_url }}/v1/note/create" strip_uri: true plugins: - name: jwt @@ -594,7 +594,7 @@ kong_apis: - name: createOrg uris: "{{ .Values.org_service_prefix }}/v1/create" - upstream_url: "{{ .Values.learner_service_url }}/v1/org/create" + upstream_url: "{{ .Values.userorg_service_url }}/v1/org/create" strip_uri: true plugins: - name: jwt @@ -684,7 +684,7 @@ kong_apis: - name: createUser uris: "{{ .Values.user_service_prefix }}/v1/create" - upstream_url: "{{ .Values.learner_service_url }}/v1/user/create" + upstream_url: "{{ .Values.userorg_service_url }}/v1/user/create" strip_uri: true plugins: - name: jwt @@ -702,7 +702,7 @@ kong_apis: - name: createUserLearnerV3 uris: "{{ .Values.user_service_prefix }}/v1/signup" - upstream_url: "{{ .Values.learner_service_url }}/v1/user/signup" + upstream_url: "{{ .Values.userorg_service_url }}/v1/user/signup" strip_uri: true plugins: - name: jwt @@ -720,7 +720,7 @@ kong_apis: - name: createUserVersion2 uris: "{{ .Values.user_service_prefix }}/v2/create" - upstream_url: "{{ .Values.learner_service_url }}/v2/user/create" + upstream_url: "{{ .Values.userorg_service_url }}/v2/user/create" strip_uri: true plugins: - name: jwt @@ -738,7 +738,7 @@ kong_apis: - name: createUserVersion3 uris: "{{ .Values.user_service_prefix }}/v3/create" - upstream_url: "{{ .Values.learner_service_url }}/v3/user/create" + upstream_url: "{{ .Values.userorg_service_url }}/v3/user/create" strip_uri: true plugins: - name: jwt @@ -756,7 +756,7 @@ kong_apis: - name: createUserVersion4 uris: "{{ .Values.user_service_prefix }}/v4/create" - upstream_url: "{{ .Values.learner_service_url }}/v4/user/create" + upstream_url: "{{ .Values.userorg_service_url }}/v4/user/create" strip_uri: true plugins: - name: jwt @@ -774,7 +774,7 @@ kong_apis: - name: deleteNote uris: "{{ .Values.notes_service_prefix }}/v1/delete" - upstream_url: "{{ .Values.learner_service_url }}/v1/note/delete" + upstream_url: "{{ .Values.userorg_service_url }}/v1/note/delete" strip_uri: true plugins: - name: jwt @@ -1022,7 +1022,7 @@ kong_apis: - name: generateOtp uris: "{{ .Values.otp_service_prefix }}/v1/generate" - upstream_url: "{{ .Values.learner_service_url }}/v1/otp/generate" + upstream_url: "{{ .Values.userorg_service_url }}/v1/otp/generate" strip_uri: true plugins: - name: jwt @@ -1040,7 +1040,7 @@ kong_apis: - name: generateOtpV2 uris: "{{ .Values.otp_service_prefix }}/v2/generate" - upstream_url: "{{ .Values.learner_service_url }}/v2/otp/generate" + upstream_url: "{{ .Values.userorg_service_url }}/v2/otp/generate" strip_uri: true plugins: - name: jwt @@ -1162,7 +1162,7 @@ kong_apis: - name: getSystemSettings uris: "{{ .Values.data_service_prefix }}/v1/system/settings/get" - upstream_url: "{{ .Values.learner_service_url }}/v1/system/settings/get" + upstream_url: "{{ .Values.userorg_service_url }}/v1/system/settings/get" strip_uri: true plugins: - name: jwt @@ -1198,7 +1198,7 @@ kong_apis: - name: getUserByKey uris: "{{ .Values.user_service_prefix }}/v1/get" - upstream_url: "{{ .Values.learner_service_url }}/v1/user/get" + upstream_url: "{{ .Values.userorg_service_url }}/v1/user/get" strip_uri: true plugins: - name: jwt @@ -1216,7 +1216,7 @@ kong_apis: - name: getUserByKeyV2 uris: "{{ .Values.user_service_prefix }}/v2/get" - upstream_url: "{{ .Values.learner_service_url }}/v2/user/get" + upstream_url: "{{ .Values.userorg_service_url }}/v2/user/get" strip_uri: true plugins: - name: jwt @@ -1234,7 +1234,7 @@ kong_apis: - name: getUserProfile uris: "{{ .Values.user_service_prefix }}/v1/read" - upstream_url: "{{ .Values.learner_service_url }}/v1/user/read" + upstream_url: "{{ .Values.userorg_service_url }}/v1/user/read" strip_uri: true plugins: - name: jwt @@ -1252,7 +1252,7 @@ kong_apis: - name: getUserProfileV2 uris: "{{ .Values.user_service_prefix }}/v2/read" - upstream_url: "{{ .Values.learner_service_url }}/v2/user/read" + upstream_url: "{{ .Values.userorg_service_url }}/v2/user/read" strip_uri: true plugins: - name: jwt @@ -1270,7 +1270,7 @@ kong_apis: - name: indexSync uris: "{{ .Values.data_service_prefix }}/v1/index/sync" - upstream_url: "{{ .Values.learner_service_url }}/v1/data/sync" + upstream_url: "{{ .Values.userorg_service_url }}/v1/data/sync" strip_uri: true plugins: - name: jwt @@ -1361,7 +1361,7 @@ kong_apis: - name: listAllBadges uris: "{{ .Values.org_service_prefix }}/v1/badges/list" - upstream_url: "{{ .Values.learner_service_url }}/v1/badges/list" + upstream_url: "{{ .Values.userorg_service_url }}/v1/badges/list" strip_uri: true plugins: - name: jwt @@ -1595,7 +1595,7 @@ kong_apis: - name: listSystemSettings uris: "{{ .Values.data_service_prefix }}/v1/system/settings/list" - upstream_url: "{{ .Values.learner_service_url }}/v1/system/settings/list" + upstream_url: "{{ .Values.userorg_service_url }}/v1/system/settings/list" strip_uri: true plugins: - name: jwt @@ -1631,7 +1631,7 @@ kong_apis: - name: masterLocationCreate uris: "{{ .Values.data_service_prefix }}/v1/location/create" - upstream_url: "{{ .Values.learner_service_url }}/v1/location/create" + upstream_url: "{{ .Values.userorg_service_url }}/v1/location/create" strip_uri: true plugins: - name: jwt @@ -1649,7 +1649,7 @@ kong_apis: - name: masterLocationDelete uris: "{{ .Values.data_service_prefix }}/v1/location/delete" - upstream_url: "{{ .Values.learner_service_url }}/v1/location/delete" + upstream_url: "{{ .Values.userorg_service_url }}/v1/location/delete" strip_uri: true plugins: - name: jwt @@ -1667,7 +1667,7 @@ kong_apis: - name: masterLocationSearch uris: "{{ .Values.data_service_prefix }}/v1/location/search" - upstream_url: "{{ .Values.learner_service_url }}/v1/location/search" + upstream_url: "{{ .Values.userorg_service_url }}/v1/location/search" strip_uri: true plugins: - name: jwt @@ -1685,7 +1685,7 @@ kong_apis: - name: masterLocationUpdate uris: "{{ .Values.data_service_prefix }}/v1/location/update" - upstream_url: "{{ .Values.learner_service_url }}/v1/location/update" + upstream_url: "{{ .Values.userorg_service_url }}/v1/location/update" strip_uri: true plugins: - name: jwt @@ -1703,7 +1703,7 @@ kong_apis: - name: masterLocationUpload uris: "{{ .Values.data_service_prefix }}/v1/bulk/location/upload" - upstream_url: "{{ .Values.learner_service_url }}/v1/bulk/location/upload" + upstream_url: "{{ .Values.userorg_service_url }}/v1/bulk/location/upload" strip_uri: true plugins: - name: jwt @@ -1721,7 +1721,7 @@ kong_apis: - name: mergeUserAccounts uris: "{{ .Values.user_service_prefix }}/v1/account/merge" - upstream_url: "{{ .Values.learner_service_url }}/private/user/v1/account/merge" + upstream_url: "{{ .Values.userorg_service_url }}/private/user/v1/account/merge" strip_uri: true plugins: - name: jwt @@ -1739,7 +1739,7 @@ kong_apis: - name: orgAssignKeys uris: "{{ .Values.org_service_prefix }}/v1/assign/key" - upstream_url: "{{ .Values.learner_service_url }}/v1/org/assign/key" + upstream_url: "{{ .Values.userorg_service_url }}/v1/org/assign/key" strip_uri: true plugins: - name: jwt @@ -1757,7 +1757,7 @@ kong_apis: - name: orgBulkUpload uris: "{{ .Values.org_service_prefix }}/v1/upload" - upstream_url: "{{ .Values.learner_service_url }}/v1/org/upload" + upstream_url: "{{ .Values.userorg_service_url }}/v1/org/upload" strip_uri: true plugins: - name: jwt @@ -1955,7 +1955,7 @@ kong_apis: - name: privateUserAssignRole uris: "{{ .Values.user_service_prefix }}/private/v1/assign/role" - upstream_url: "{{ .Values.learner_service_url }}/private/user/v1/assign/role" + upstream_url: "{{ .Values.userorg_service_url }}/private/user/v1/assign/role" strip_uri: true plugins: - name: jwt @@ -1973,7 +1973,7 @@ kong_apis: - name: privateUserRead uris: "{{ .Values.user_service_prefix }}/private/v1/read" - upstream_url: "{{ .Values.learner_service_url }}/private/user/v1/read" + upstream_url: "{{ .Values.userorg_service_url }}/private/user/v1/read" strip_uri: true plugins: - name: jwt @@ -2349,7 +2349,7 @@ kong_apis: - name: readNote uris: "{{ .Values.notes_service_prefix }}/v1/read" - upstream_url: "{{ .Values.learner_service_url }}/v1/note/read" + upstream_url: "{{ .Values.userorg_service_url }}/v1/note/read" strip_uri: true plugins: - name: jwt @@ -2367,7 +2367,7 @@ kong_apis: - name: readOrg uris: "{{ .Values.org_service_prefix }}/v1/read" - upstream_url: "{{ .Values.learner_service_url }}/v1/org/read" + upstream_url: "{{ .Values.userorg_service_url }}/v1/org/read" strip_uri: true plugins: - name: jwt @@ -2421,7 +2421,7 @@ kong_apis: - name: readRoleMapping uris: "{{ .Values.data_service_prefix }}/v1/role/read" - upstream_url: "{{ .Values.learner_service_url }}/v1/role/read" + upstream_url: "{{ .Values.userorg_service_url }}/v1/role/read" strip_uri: true plugins: - name: jwt @@ -2439,7 +2439,7 @@ kong_apis: - name: readUserSpecificRole uris: "{{ .Values.user_service_prefix }}/v1/role/read" - upstream_url: "{{ .Values.learner_service_url }}/v1/user/role/read" + upstream_url: "{{ .Values.userorg_service_url }}/v1/user/role/read" strip_uri: true plugins: - name: jwt @@ -2457,7 +2457,7 @@ kong_apis: - name: readUserProfile uris: "{{ .Values.user_service_prefix }}/v1/profile/read" - upstream_url: "{{ .Values.learner_service_url }}/v1/user/getuser" + upstream_url: "{{ .Values.userorg_service_url }}/v1/user/getuser" strip_uri: true plugins: - name: jwt @@ -2957,7 +2957,7 @@ kong_apis: - name: searchNotes uris: "{{ .Values.notes_service_prefix }}/v1/search" - upstream_url: "{{ .Values.learner_service_url }}/v1/note/search" + upstream_url: "{{ .Values.userorg_service_url }}/v1/note/search" strip_uri: true plugins: - name: jwt @@ -2975,7 +2975,7 @@ kong_apis: - name: searchOrgExtended uris: "{{ .Values.org_service_prefix }}/v1/ext/search" - upstream_url: "{{ .Values.learner_service_url }}/v1/org/search" + upstream_url: "{{ .Values.userorg_service_url }}/v1/org/search" strip_uri: true plugins: - name: cors @@ -2989,7 +2989,7 @@ kong_apis: - name: searchOrg uris: "{{ .Values.org_service_prefix }}/v1/search" - upstream_url: "{{ .Values.learner_service_url }}/v1/org/search" + upstream_url: "{{ .Values.userorg_service_url }}/v1/org/search" strip_uri: true plugins: - name: cors @@ -3003,7 +3003,7 @@ kong_apis: - name: searchUser uris: "{{ .Values.user_service_prefix }}/v1/search" - upstream_url: "{{ .Values.learner_service_url }}/v1/user/search" + upstream_url: "{{ .Values.userorg_service_url }}/v1/user/search" strip_uri: true plugins: - name: jwt @@ -3021,7 +3021,7 @@ kong_apis: - name: sendEmailNotification uris: "{{ .Values.user_service_prefix }}/v1/notification/email" - upstream_url: "{{ .Values.learner_service_url }}/v1/notification/email" + upstream_url: "{{ .Values.userorg_service_url }}/v1/notification/email" strip_uri: true plugins: - name: jwt @@ -3111,7 +3111,7 @@ kong_apis: - name: unblockUser uris: "{{ .Values.user_service_prefix }}/v1/unblock" - upstream_url: "{{ .Values.learner_service_url }}/v1/user/unblock" + upstream_url: "{{ .Values.userorg_service_url }}/v1/user/unblock" strip_uri: true plugins: - name: jwt @@ -3435,7 +3435,7 @@ kong_apis: - name: updateNote uris: "{{ .Values.notes_service_prefix }}/v1/update" - upstream_url: "{{ .Values.learner_service_url }}/v1/note/update" + upstream_url: "{{ .Values.userorg_service_url }}/v1/note/update" strip_uri: true plugins: - name: jwt @@ -3453,7 +3453,7 @@ kong_apis: - name: updateOrg uris: "{{ .Values.org_service_prefix }}/v1/update" - upstream_url: "{{ .Values.learner_service_url }}/v1/org/update" + upstream_url: "{{ .Values.userorg_service_url }}/v1/org/update" strip_uri: true plugins: - name: jwt @@ -3471,7 +3471,7 @@ kong_apis: - name: updateOrgStatus uris: "{{ .Values.org_service_prefix }}/v1/status/update" - upstream_url: "{{ .Values.learner_service_url }}/v1/org/status/update" + upstream_url: "{{ .Values.userorg_service_url }}/v1/org/status/update" strip_uri: true plugins: - name: jwt @@ -3543,7 +3543,7 @@ kong_apis: - name: updateUser uris: "{{ .Values.user_service_prefix }}/v1/update" - upstream_url: "{{ .Values.learner_service_url }}/v1/user/update" + upstream_url: "{{ .Values.userorg_service_url }}/v1/user/update" strip_uri: true plugins: - name: jwt @@ -3615,7 +3615,7 @@ kong_apis: - name: userBulkUpload uris: "{{ .Values.user_service_prefix }}/v1/upload" - upstream_url: "{{ .Values.learner_service_url }}/v1/user/upload" + upstream_url: "{{ .Values.userorg_service_url }}/v1/user/upload" strip_uri: true plugins: - name: jwt @@ -3633,7 +3633,7 @@ kong_apis: - name: userExistenceApi uris: "{{ .Values.user_service_prefix }}/v1/exists" - upstream_url: "{{ .Values.learner_service_url }}/v1/user/exists" + upstream_url: "{{ .Values.userorg_service_url }}/v1/user/exists" strip_uri: true plugins: - name: jwt @@ -3651,7 +3651,7 @@ kong_apis: - name: userExistenceApiV2 uris: "{{ .Values.user_service_prefix }}/v2/exists" - upstream_url: "{{ .Values.learner_service_url }}/v2/user/exists" + upstream_url: "{{ .Values.userorg_service_url }}/v2/user/exists" strip_uri: true plugins: - name: jwt @@ -3669,7 +3669,7 @@ kong_apis: - name: userFeed uris: "{{ .Values.user_service_prefix }}/v1/feed" - upstream_url: "{{ .Values.learner_service_url }}/v1/user/feed" + upstream_url: "{{ .Values.userorg_service_url }}/v1/user/feed" strip_uri: true plugins: - name: jwt @@ -3687,7 +3687,7 @@ kong_apis: - name: userFeedCreate uris: "{{ .Values.user_service_prefix }}/feed/v1/create" - upstream_url: "{{ .Values.learner_service_url }}/v1/user/feed/create" + upstream_url: "{{ .Values.userorg_service_url }}/v1/user/feed/create" strip_uri: true plugins: - name: jwt @@ -3705,7 +3705,7 @@ kong_apis: - name: userFeedDelete uris: "{{ .Values.user_service_prefix }}/feed/v1/delete" - upstream_url: "{{ .Values.learner_service_url }}/v1/user/feed/delete" + upstream_url: "{{ .Values.userorg_service_url }}/v1/user/feed/delete" strip_uri: true plugins: - name: jwt @@ -3723,7 +3723,7 @@ kong_apis: - name: userFeedUpdate uris: "{{ .Values.user_service_prefix }}/feed/v1/update" - upstream_url: "{{ .Values.learner_service_url }}/v1/user/feed/update" + upstream_url: "{{ .Values.userorg_service_url }}/v1/user/feed/update" strip_uri: true plugins: - name: jwt @@ -3741,7 +3741,7 @@ kong_apis: - name: userMigrate uris: "{{ .Values.user_service_prefix }}/v1/migrate" - upstream_url: "{{ .Values.learner_service_url }}/v1/user/migrate" + upstream_url: "{{ .Values.userorg_service_url }}/v1/user/migrate" strip_uri: true plugins: - name: jwt @@ -3777,7 +3777,7 @@ kong_apis: - name: verifyOtp uris: "{{ .Values.otp_service_prefix }}/v1/verify" - upstream_url: "{{ .Values.learner_service_url }}/v1/otp/verify" + upstream_url: "{{ .Values.userorg_service_url }}/v1/otp/verify" strip_uri: true plugins: - name: jwt @@ -3795,7 +3795,7 @@ kong_apis: - name: verifyOtpV2 uris: "{{ .Values.otp_service_prefix }}/v2/verify" - upstream_url: "{{ .Values.learner_service_url }}/v2/otp/verify" + upstream_url: "{{ .Values.userorg_service_url }}/v2/otp/verify" strip_uri: true plugins: - name: jwt @@ -4065,7 +4065,7 @@ kong_apis: - name: forgotPassword uris: "{{ .Values.learner_private_route_prefix }}/user/v1/password/reset" - upstream_url: "{{ .Values.learner_service_url }}/private/user/v1/password/reset" + upstream_url: "{{ .Values.userorg_service_url }}/private/user/v1/password/reset" strip_uri: true plugins: - name: jwt @@ -4119,7 +4119,7 @@ kong_apis: - name: searchManagedUser uris: "{{ .Values.user_service_prefix }}/v1/managed" - upstream_url: "{{ .Values.learner_service_url }}/v1/user/managed" + upstream_url: "{{ .Values.userorg_service_url }}/v1/user/managed" strip_uri: true plugins: - name: jwt @@ -4281,7 +4281,7 @@ kong_apis: - name: getUserProfileV3 uris: "{{ .Values.user_service_prefix }}/v3/read" - upstream_url: "{{ .Values.learner_service_url }}/v3/user/read" + upstream_url: "{{ .Values.userorg_service_url }}/v3/user/read" strip_uri: true plugins: - name: jwt @@ -4299,7 +4299,7 @@ kong_apis: - name: updateUserDeclarations uris: "{{ .Values.user_service_prefix }}/v1/declarations" - upstream_url: "{{ .Values.learner_service_url }}/v1/user/declarations" + upstream_url: "{{ .Values.userorg_service_url }}/v1/user/declarations" strip_uri: true plugins: - name: jwt @@ -4317,7 +4317,7 @@ kong_apis: - name: updateUserConsent uris: "{{ .Values.user_service_prefix }}/v1/consent/update" - upstream_url: "{{ .Values.learner_service_url }}/v1/user/consent/update" + upstream_url: "{{ .Values.userorg_service_url }}/v1/user/consent/update" strip_uri: true plugins: - name: jwt @@ -4335,7 +4335,7 @@ kong_apis: - name: readUserConsent uris: "{{ .Values.user_service_prefix }}/v1/consent/read" - upstream_url: "{{ .Values.learner_service_url }}/v1/user/consent/read" + upstream_url: "{{ .Values.userorg_service_url }}/v1/user/consent/read" strip_uri: true plugins: - name: jwt @@ -4353,7 +4353,7 @@ kong_apis: - name: readUserConsentV2 uris: "{{ .Values.user_service_prefix }}/v2/consent/read" - upstream_url: "{{ .Values.learner_service_url }}/v2/user/consent/read" + upstream_url: "{{ .Values.userorg_service_url }}/v2/user/consent/read" strip_uri: true plugins: - name: jwt @@ -4493,7 +4493,7 @@ kong_apis: - name: createTenantPreferences uris: "{{ .Values.org_service_prefix }}/v2/preferences/create" - upstream_url: "{{ .Values.learner_service_url }}/v2/org/preferences/create" + upstream_url: "{{ .Values.userorg_service_url }}/v2/org/preferences/create" strip_uri: true plugins: - name: jwt @@ -4511,7 +4511,7 @@ kong_apis: - name: updateTenantPreferences uris: "{{ .Values.org_service_prefix }}/v2/preferences/update" - upstream_url: "{{ .Values.learner_service_url }}/v2/org/preferences/update" + upstream_url: "{{ .Values.userorg_service_url }}/v2/org/preferences/update" strip_uri: true plugins: - name: jwt @@ -4529,7 +4529,7 @@ kong_apis: - name: readTenantPreferencess uris: "{{ .Values.org_service_prefix }}/v2/preferences/read" - upstream_url: "{{ .Values.learner_service_url }}/v2/org/preferences/read" + upstream_url: "{{ .Values.userorg_service_url }}/v2/org/preferences/read" strip_uri: true plugins: - name: jwt @@ -6009,7 +6009,7 @@ kong_apis: - name: updateUserV2 uris: "{{ .Values.user_service_prefix }}/v2/update" - upstream_url: "{{ .Values.learner_service_url }}/v2/user/update" + upstream_url: "{{ .Values.userorg_service_url }}/v2/user/update" strip_uri: true plugins: - name: jwt @@ -6045,7 +6045,7 @@ kong_apis: - name: managedUserV1Create uris: "{{ .Values.user_service_prefix }}/v1/managed/create" - upstream_url: "{{ .Values.learner_service_url }}/v1/manageduser/create" + upstream_url: "{{ .Values.userorg_service_url }}/v1/manageduser/create" strip_uri: true plugins: - name: jwt @@ -6063,7 +6063,7 @@ kong_apis: - name: managedUserV2Create uris: "{{ .Values.user_service_prefix }}/v2/managed/create" - upstream_url: "{{ .Values.learner_service_url }}/v2/manageduser/create" + upstream_url: "{{ .Values.userorg_service_url }}/v2/manageduser/create" strip_uri: true plugins: - name: jwt @@ -6081,7 +6081,7 @@ kong_apis: - name: ssoUserV1Create uris: "{{ .Values.user_service_prefix }}/v1/sso/create" - upstream_url: "{{ .Values.learner_service_url }}/v1/ssouser/create" + upstream_url: "{{ .Values.userorg_service_url }}/v1/ssouser/create" strip_uri: true plugins: - name: jwt @@ -6099,7 +6099,7 @@ kong_apis: - name: ssoUserV2Create uris: "{{ .Values.user_service_prefix }}/v2/signup" - upstream_url: "{{ .Values.learner_service_url }}/v2/user/signup" + upstream_url: "{{ .Values.userorg_service_url }}/v2/user/signup" strip_uri: true plugins: - name: jwt @@ -6117,7 +6117,7 @@ kong_apis: - name: getUserProfileV4 uris: "{{ .Values.user_service_prefix }}/v4/read" - upstream_url: "{{ .Values.learner_service_url }}/v4/user/read" + upstream_url: "{{ .Values.userorg_service_url }}/v4/user/read" strip_uri: true plugins: - name: jwt @@ -6135,7 +6135,7 @@ kong_apis: - name: getUserProfileV5 uris: "{{ .Values.user_service_prefix }}/v5/read" - upstream_url: "{{ .Values.learner_service_url }}/v5/user/read" + upstream_url: "{{ .Values.userorg_service_url }}/v5/user/read" strip_uri: true plugins: - name: jwt @@ -6153,7 +6153,7 @@ kong_apis: - name: searchUserV2 uris: "{{ .Values.user_service_prefix }}/v2/search" - upstream_url: "{{ .Values.learner_service_url }}/v2/user/search" + upstream_url: "{{ .Values.userorg_service_url }}/v2/user/search" strip_uri: true plugins: - name: jwt @@ -6171,7 +6171,7 @@ kong_apis: - name: searchUserV3 uris: "{{ .Values.user_service_prefix }}/v3/search" - upstream_url: "{{ .Values.learner_service_url }}/v3/user/search" + upstream_url: "{{ .Values.userorg_service_url }}/v3/user/search" strip_uri: true plugins: - name: jwt @@ -6189,7 +6189,7 @@ kong_apis: - name: searchOrgV2 uris: "{{ .Values.org_service_prefix }}/v2/search" - upstream_url: "{{ .Values.learner_service_url }}/v2/org/search" + upstream_url: "{{ .Values.userorg_service_url }}/v2/org/search" strip_uri: true plugins: - name: cors @@ -7642,7 +7642,7 @@ kong_apis: - name: updateUserV3 uris: "{{ .Values.user_service_prefix }}/v3/update" - upstream_url: "{{ .Values.learner_service_url }}/v3/user/update" + upstream_url: "{{ .Values.userorg_service_url }}/v3/user/update" strip_uri: true plugins: - name: jwt @@ -8510,7 +8510,7 @@ kong_apis: - name: orgAddEncryptionKey uris: "{{ .Values.org_service_prefix }}/v1/update/encryptionkey" - upstream_url: "{{ .Values.learner_service_url }}/v1/org/update/encryptionkey" + upstream_url: "{{ .Values.userorg_service_url }}/v1/org/update/encryptionkey" strip_uri: true plugins: - name: jwt @@ -8561,4 +8561,532 @@ kong_apis: config.hour: "{{ .Values.small_rate_limit_per_hour }}" config.limit_by: credential - name: request-size-limiting - config.allowed_payload_size: "{{ .Values.small_request_size_limit }}" \ No newline at end of file + config.allowed_payload_size: "{{ .Values.small_request_size_limit }}" + +#release-7.0.0 + +- name: deleteUser + uris: "{{ .Values.user_service_prefix }}/v1/delete" + upstream_url: "{{ .Values.userorg_service_url }}/v1/user/delete" + strip_uri: true + plugins: + - name: jwt + - name: cors + - {{ .Values.statsd_pulgin | toYaml | nindent 4 | trim }} + - name: acl + config.whitelist: + - userUpdate + - name: rate-limiting + config.policy: local + config.hour: "{{ .Values.medium_rate_limit_per_hour }}" + config.limit_by: credential + - name: request-size-limiting + config.allowed_payload_size: "{{ .Values.medium_request_size_limit }}" + +- name: questionCreateV2 + uris: "{{ .Values.question_prefix }}/v2/create" + upstream_url: "{{ .Values.assessment_service_url }}/question/v5/create" + strip_uri: true + plugins: + - name: jwt + - name: cors + - {{ .Values.statsd_pulgin | toYaml | nindent 4 | trim }} + - name: acl + config.whitelist: + - contentCreate + - name: rate-limiting + config.policy: local + config.hour: "{{ .Values.medium_rate_limit_per_hour }}" + config.limit_by: credential + - name: request-size-limiting + config.allowed_payload_size: "{{ .Values.medium_request_size_limit }}" + +- name: questionReadV2 + uris: "{{ .Values.question_prefix }}/v2/read" + upstream_url: "{{ .Values.assessment_service_url }}/question/v5/read" + strip_uri: true + plugins: + - name: cors + - {{ .Values.statsd_pulgin | toYaml | nindent 4 | trim }} + - name: rate-limiting + config.policy: local + config.hour: "{{ .Values.medium_rate_limit_per_hour }}" + config.limit_by: ip + - name: request-size-limiting + config.allowed_payload_size: "{{ .Values.medium_request_size_limit }}" + +- name: questionPrivateReadV2 + uris: "{{ .Values.question_prefix }}/v2/private/read" + upstream_url: "{{ .Values.assessment_service_url }}/question/v5/private/read" + strip_uri: true + plugins: + - name: jwt + - name: cors + - {{ .Values.statsd_pulgin | toYaml | nindent 4 | trim }} + - name: acl + config.whitelist: + - contentAccess + - name: rate-limiting + config.policy: local + config.hour: "{{ .Values.medium_rate_limit_per_hour }}" + config.limit_by: credential + - name: request-size-limiting + config.allowed_payload_size: "{{ .Values.medium_request_size_limit }}" + +- name: questionUpdateV2 + uris: "{{ .Values.question_prefix }}/v2/update" + upstream_url: "{{ .Values.assessment_service_url }}/question/v5/update" + strip_uri: true + plugins: + - name: jwt + - name: cors + - {{ .Values.statsd_pulgin | toYaml | nindent 4 | trim }} + - name: acl + config.whitelist: + - contentUpdate + - name: rate-limiting + config.policy: local + config.hour: "{{ .Values.medium_rate_limit_per_hour }}" + config.limit_by: credential + - name: request-size-limiting + config.allowed_payload_size: "{{ .Values.medium_request_size_limit }}" + +- name: questionRetireV2 + uris: "{{ .Values.question_prefix }}/v2/retire" + upstream_url: "{{ .Values.assessment_service_url }}/question/v5/retire" + strip_uri: true + plugins: + - name: jwt + - name: cors + - {{ .Values.statsd_pulgin | toYaml | nindent 4 | trim }} + - name: acl + config.whitelist: + - contentAdmin + - name: rate-limiting + config.policy: local + config.hour: "{{ .Values.medium_rate_limit_per_hour }}" + config.limit_by: credential + - name: request-size-limiting + config.allowed_payload_size: "{{ .Values.medium_request_size_limit }}" + +- name: questionReviewV2 + uris: "{{ .Values.question_prefix }}/v2/review" + upstream_url: "{{ .Values.assessment_service_url }}/question/v5/review" + strip_uri: true + plugins: + - name: jwt + - name: cors + - {{ .Values.statsd_pulgin | toYaml | nindent 4 | trim }} + - name: acl + config.whitelist: + - contentAdmin + - name: rate-limiting + config.policy: local + config.hour: "{{ .Values.medium_rate_limit_per_hour }}" + config.limit_by: credential + - name: request-size-limiting + config.allowed_payload_size: "{{ .Values.medium_request_size_limit }}" + +- name: questionPublishV2 + uris: "{{ .Values.question_prefix }}/v2/publish" + upstream_url: "{{ .Values.assessment_service_url }}/question/v5/publish" + strip_uri: true + plugins: + - name: jwt + - name: cors + - {{ .Values.statsd_pulgin | toYaml | nindent 4 | trim }} + - name: acl + config.whitelist: + - contentCreate + - name: rate-limiting + config.policy: local + config.hour: "{{ .Values.medium_rate_limit_per_hour }}" + config.limit_by: credential + - name: request-size-limiting + config.allowed_payload_size: "{{ .Values.medium_request_size_limit }}" + +- name: questionListV2 + uris: "{{ .Values.question_prefix }}/v2/list" + upstream_url: "{{ .Values.assessment_service_url }}/question/v5/list" + strip_uri: true + plugins: + - name: rate-limiting + config.policy: local + config.hour: "{{ .Values.medium_rate_limit_per_hour }}" + config.limit_by: ip + - name: request-size-limiting + config.allowed_payload_size: "{{ .Values.medium_request_size_limit }}" + +- name: questionRejectV2 + uris: "{{ .Values.question_prefix }}/v2/reject" + upstream_url: "{{ .Values.assessment_service_url }}/question/v5/reject" + strip_uri: true + plugins: + - name: jwt + - name: cors + - {{ .Values.statsd_pulgin | toYaml | nindent 4 | trim }} + - name: acl + config.whitelist: + - contentAdmin + - name: rate-limiting + config.policy: local + config.hour: "{{ .Values.medium_rate_limit_per_hour }}" + config.limit_by: credential + - name: request-size-limiting + config.allowed_payload_size: "{{ .Values.medium_request_size_limit }}" + +- name: copyQuestionV2 + uris: "{{ .Values.question_prefix }}/v2/copy" + upstream_url: "{{ .Values.assessment_service_url }}/question/v5/copy" + strip_uri: true + plugins: + - name: jwt + - name: cors + - {{ .Values.statsd_pulgin | toYaml | nindent 4 | trim }} + - name: acl + config.whitelist: + - contentCreate + - name: rate-limiting + config.policy: local + config.hour: "{{ .Values.medium_rate_limit_per_hour }}" + config.limit_by: credential + - name: request-size-limiting + config.allowed_payload_size: "{{ .Values.medium_request_size_limit }}" + +- name: questionSetCreateV2 + uris: "{{ .Values.questionset_prefix }}/v2/create" + upstream_url: "{{ .Values.assessment_service_url }}/questionset/v5/create" + strip_uri: true + plugins: + - name: jwt + - name: cors + - {{ .Values.statsd_pulgin | toYaml | nindent 4 | trim }} + - name: acl + config.whitelist: + - contentCreate + - name: rate-limiting + config.policy: local + config.hour: "{{ .Values.medium_rate_limit_per_hour }}" + config.limit_by: credential + - name: request-size-limiting + config.allowed_payload_size: "{{ .Values.medium_request_size_limit }}" + +- name: questionSetReadV2 + uris: "{{ .Values.questionset_prefix }}/v2/read" + upstream_url: "{{ .Values.assessment_service_url }}/questionset/v5/read" + strip_uri: true + plugins: + - name: cors + - {{ .Values.statsd_pulgin | toYaml | nindent 4 | trim }} + - name: rate-limiting + config.policy: local + config.hour: "{{ .Values.medium_rate_limit_per_hour }}" + config.limit_by: ip + - name: request-size-limiting + config.allowed_payload_size: "{{ .Values.medium_request_size_limit }}" + +- name: questionSetPrivateReadV2 + uris: "{{ .Values.questionset_prefix }}/v2/private/read" + upstream_url: "{{ .Values.assessment_service_url }}/questionset/v5/private/read" + strip_uri: true + plugins: + - name: jwt + - name: cors + - {{ .Values.statsd_pulgin | toYaml | nindent 4 | trim }} + - name: acl + config.whitelist: + - contentAccess + - name: rate-limiting + config.policy: local + config.hour: "{{ .Values.medium_rate_limit_per_hour }}" + config.limit_by: credential + - name: request-size-limiting + config.allowed_payload_size: "{{ .Values.medium_request_size_limit }}" + +- name: questionSetUpdateV2 + uris: "{{ .Values.questionset_prefix }}/v2/update" + upstream_url: "{{ .Values.assessment_service_url }}/questionset/v5/update" + strip_uri: true + plugins: + - name: jwt + - name: cors + - {{ .Values.statsd_pulgin | toYaml | nindent 4 | trim }} + - name: acl + config.whitelist: + - contentUpdate + - name: rate-limiting + config.policy: local + config.hour: "{{ .Values.medium_rate_limit_per_hour }}" + config.limit_by: credential + - name: request-size-limiting + config.allowed_payload_size: "{{ .Values.medium_request_size_limit }}" + +- name: questionSetAddQuestionV2 + uris: "{{ .Values.questionset_prefix }}/v2/add" + upstream_url: "{{ .Values.assessment_service_url }}/questionset/v5/add" + strip_uri: true + plugins: + - name: jwt + - name: cors + - {{ .Values.statsd_pulgin | toYaml | nindent 4 | trim }} + - name: acl + config.whitelist: + - 'contentUpdate' + - name: rate-limiting + config.policy: local + config.hour: "{{ .Values.medium_rate_limit_per_hour }}" + config.limit_by: credential + - name: request-size-limiting + config.allowed_payload_size: "{{ .Values.medium_request_size_limit }}" + +- name: questionSetRemoveQuestionV2 + uris: "{{ .Values.questionset_prefix }}/v2/remove" + upstream_url: "{{ .Values.assessment_service_url }}/questionset/v5/remove" + strip_uri: true + plugins: + - name: jwt + - name: cors + - {{ .Values.statsd_pulgin | toYaml | nindent 4 | trim }} + - name: acl + config.whitelist: + - 'contentUpdate' + - name: rate-limiting + config.policy: local + config.hour: "{{ .Values.medium_rate_limit_per_hour }}" + config.limit_by: credential + - name: request-size-limiting + config.allowed_payload_size: "{{ .Values.medium_request_size_limit }}" + +- name: questionSetRetireV2 + uris: "{{ .Values.questionset_prefix }}/v2/retire" + upstream_url: "{{ .Values.assessment_service_url }}/questionset/v5/retire" + strip_uri: true + plugins: + - name: jwt + - name: cors + - {{ .Values.statsd_pulgin | toYaml | nindent 4 | trim }} + - name: acl + config.whitelist: + - contentAdmin + - name: rate-limiting + config.policy: local + config.hour: "{{ .Values.medium_rate_limit_per_hour }}" + config.limit_by: credential + - name: request-size-limiting + config.allowed_payload_size: "{{ .Values.medium_request_size_limit }}" + +- name: questionSetReviewV2 + uris: "{{ .Values.questionset_prefix }}/v2/review" + upstream_url: "{{ .Values.assessment_service_url }}/questionset/v5/review" + strip_uri: true + plugins: + - name: jwt + - name: cors + - {{ .Values.statsd_pulgin | toYaml | nindent 4 | trim }} + - name: acl + config.whitelist: + - contentAdmin + - name: rate-limiting + config.policy: local + config.hour: "{{ .Values.medium_rate_limit_per_hour }}" + config.limit_by: credential + - name: request-size-limiting + config.allowed_payload_size: "{{ .Values.medium_request_size_limit }}" + +- name: questionSetPublishV2 + uris: "{{ .Values.questionset_prefix }}/v2/publish" + upstream_url: "{{ .Values.assessment_service_url }}/questionset/v5/publish" + strip_uri: true + plugins: + - name: jwt + - name: cors + - {{ .Values.statsd_pulgin | toYaml | nindent 4 | trim }} + - name: acl + config.whitelist: + - contentAdmin + - name: rate-limiting + config.policy: local + config.hour: "{{ .Values.medium_rate_limit_per_hour }}" + config.limit_by: credential + - name: request-size-limiting + config.allowed_payload_size: "{{ .Values.medium_request_size_limit }}" + +- name: questionSetUpdateHierarchyV2 + uris: "{{ .Values.questionset_prefix }}/v2/hierarchy/update" + upstream_url: "{{ .Values.assessment_service_url }}/questionset/v5/hierarchy/update" + strip_uri: true + plugins: + - name: jwt + - name: cors + - {{ .Values.statsd_pulgin | toYaml | nindent 4 | trim }} + - name: acl + config.whitelist: + - contentUpdate + - name: rate-limiting + config.policy: local + config.hour: "{{ .Values.medium_rate_limit_per_hour }}" + config.limit_by: credential + - name: request-size-limiting + config.allowed_payload_size: "{{ .Values.medium_request_size_limit }}" + +- name: questionSetReadHierarchyV2 + uris: "{{ .Values.questionset_prefix }}/v2/hierarchy" + upstream_url: "{{ .Values.assessment_service_url }}/questionset/v5/hierarchy" + strip_uri: true + plugins: + - name: jwt + - name: cors + - {{ .Values.statsd_pulgin | toYaml | nindent 4 | trim }} + - name: acl + config.whitelist: + - anonymousContentAccess + - name: rate-limiting + config.policy: local + config.hour: "{{ .Values.medium_rate_limit_per_hour }}" + config.limit_by: credential + - name: request-size-limiting + config.allowed_payload_size: "{{ .Values.medium_request_size_limit }}" + +- name: questionSetRejectV2 + uris: "{{ .Values.questionset_prefix }}/v2/reject" + upstream_url: "{{ .Values.assessment_service_url }}/questionset/v5/reject" + strip_uri: true + plugins: + - name: jwt + - name: cors + - {{ .Values.statsd_pulgin | toYaml | nindent 4 | trim }} + - name: acl + config.whitelist: + - contentAdmin + - name: rate-limiting + config.policy: local + config.hour: "{{ .Values.medium_rate_limit_per_hour }}" + config.limit_by: credential + - name: request-size-limiting + config.allowed_payload_size: "{{ .Values.medium_request_size_limit }}" + +- name: questionImportAPIV2 + uris: "{{ .Values.question_prefix }}/v2/import" + upstream_url: "{{ .Values.assessment_service_url }}/question/v5/import" + strip_uri: true + plugins: + - name: jwt + - name: cors + - {{ .Values.statsd_pulgin | toYaml | nindent 4 | trim }} + - name: acl + config.whitelist: + - contentCreate + - name: rate-limiting + config.policy: local + config.hour: "{{ .Values.medium_rate_limit_per_hour }}" + config.limit_by: credential + - name: request-size-limiting + config.allowed_payload_size: "{{ .Values.medium_request_size_limit }}" + +- name: questionsetImportAPIV2 + uris: "{{ .Values.questionset_prefix }}/v2/import" + upstream_url: "{{ .Values.assessment_service_url }}/questionset/v5/import" + strip_uri: true + plugins: + - name: jwt + - name: cors + - {{ .Values.statsd_pulgin | toYaml | nindent 4 | trim }} + - name: acl + config.whitelist: + - contentCreate + - name: rate-limiting + config.policy: local + config.hour: "{{ .Values.medium_rate_limit_per_hour }}" + config.limit_by: credential + - name: request-size-limiting + config.allowed_payload_size: "{{ .Values.medium_request_size_limit }}" + +- name: copyQuestionSetV2 + uris: "{{ .Values.questionset_prefix }}/v2/copy" + upstream_url: "{{ .Values.assessment_service_url }}/questionset/v5/copy" + strip_uri: true + plugins: + - name: jwt + - name: cors + - {{ .Values.statsd_pulgin | toYaml | nindent 4 | trim }} + - name: acl + config.whitelist: + - contentCreate + - name: rate-limiting + config.policy: local + config.hour: "{{ .Values.medium_rate_limit_per_hour }}" + config.limit_by: credential + - name: request-size-limiting + config.allowed_payload_size: "{{ .Values.medium_request_size_limit }}" + +- name: questionSetUpdateComment + uris: "{{ .Values.questionset_prefix }}/v1/comment/update" + upstream_url: "{{ .Values.assessment_service_url }}/questionset/v4/comment/update" + strip_uri: true + plugins: + - name: jwt + - name: cors + - {{ .Values.statsd_pulgin | toYaml | nindent 4 | trim }} + - name: acl + config.whitelist: + - contentAdmin + - name: rate-limiting + config.policy: local + config.hour: "{{ .Values.medium_rate_limit_per_hour }}" + config.limit_by: credential + - name: request-size-limiting + config.allowed_payload_size: "{{ .Values.medium_request_size_limit }}" + +- name: questionSetUpdateCommentV2 + uris: "{{ .Values.questionset_prefix }}/v2/comment/update" + upstream_url: "{{ .Values.assessment_service_url }}/questionset/v5/comment/update" + strip_uri: true + plugins: + - name: jwt + - name: cors + - {{ .Values.statsd_pulgin | toYaml | nindent 4 | trim }} + - name: acl + config.whitelist: + - contentAdmin + - name: rate-limiting + config.policy: local + config.hour: "{{ .Values.medium_rate_limit_per_hour }}" + config.limit_by: credential + - name: request-size-limiting + config.allowed_payload_size: "{{ .Values.medium_request_size_limit }}" + +- name: questionSetReadComment + uris: "{{ .Values.questionset_prefix }}/v1/comment/read" + upstream_url: "{{ .Values.assessment_service_url }}/questionset/v4/comment/read" + strip_uri: true + plugins: + - name: jwt + - name: cors + - {{ .Values.statsd_pulgin | toYaml | nindent 4 | trim }} + - name: acl + config.whitelist: + - contentAccess + - name: rate-limiting + config.policy: local + config.hour: "{{ .Values.medium_rate_limit_per_hour }}" + config.limit_by: credential + - name: request-size-limiting + config.allowed_payload_size: "{{ .Values.medium_request_size_limit }}" + +- name: questionSetReadCommentV2 + uris: "{{ .Values.questionset_prefix }}/v2/comment/read" + upstream_url: "{{ .Values.assessment_service_url }}/questionset/v5/comment/read" + strip_uri: true + plugins: + - name: jwt + - name: cors + - {{ .Values.statsd_pulgin | toYaml | nindent 4 | trim }} + - name: acl + config.whitelist: + - contentAccess + - name: rate-limiting + config.policy: local + config.hour: "{{ .Values.medium_rate_limit_per_hour }}" + config.limit_by: credential + - name: request-size-limiting + config.allowed_payload_size: "{{ .Values.medium_request_size_limit }}" diff --git a/helmcharts/edbb/charts/kong-apis/values.yaml b/helmcharts/edbb/charts/kong-apis/values.yaml index 4eb0c7d..f258790 100644 --- a/helmcharts/edbb/charts/kong-apis/values.yaml +++ b/helmcharts/edbb/charts/kong-apis/values.yaml @@ -129,7 +129,7 @@ learning_service_prefix: /learning # Service URLs knowledge_mw_service_url: "http://knowledge-mw-service:5000" -learner_service_url: "http://learner-service:9000" +userorg_service_url: "http://userorg-service:9000" dial_service_url: "http://dial-service:9000" learning_service_url: "http://learning:8080/learning-service" telemetry_service_url: "http://telemetry-service:9001" diff --git a/helmcharts/edbb/charts/nginx-private-ingress/configs/nginx.conf b/helmcharts/edbb/charts/nginx-private-ingress/configs/nginx.conf index 89ffb7c..ef66394 100644 --- a/helmcharts/edbb/charts/nginx-private-ingress/configs/nginx.conf +++ b/helmcharts/edbb/charts/nginx-private-ingress/configs/nginx.conf @@ -42,9 +42,9 @@ http { {{- else }} resolver {{ (lookup "v1" "Service" "kube-system" "kube-dns").spec.clusterIP }} valid=30s; {{- end }} - location /learner/ { - set $target http://learner-service:9000; - rewrite ^/learner/(.*) /$1 break; + location /userorg/ { + set $target http://userorg-service:9000; + rewrite ^/userorg/(.*) /$1 break; proxy_http_version 1.1; proxy_pass $target; } diff --git a/helmcharts/edbb/charts/nginx-public-ingress/configs/proxy-default.conf b/helmcharts/edbb/charts/nginx-public-ingress/configs/proxy-default.conf index 6ab15f5..a43af3e 100644 --- a/helmcharts/edbb/charts/nginx-public-ingress/configs/proxy-default.conf +++ b/helmcharts/edbb/charts/nginx-public-ingress/configs/proxy-default.conf @@ -92,7 +92,7 @@ server { proxy_pass http://keycloak; } # This is Caching mechanism for POST requests location search - location ~ /learner/data/v1/location/search { + location ~ /userorg/data/v1/location/search { # Enabling compression include /etc/nginx/defaults.d/compression.conf; # Enabling caching @@ -728,7 +728,7 @@ server { proxy_set_header X-Request-ID $sb_request_id; proxy_pass http://kong; } - location /learner/certreg/v2/certs/download { + location /userorg/certreg/v2/certs/download { # Compression gzip on; gzip_comp_level 5; @@ -809,7 +809,7 @@ server { proxy_send_timeout 60; proxy_read_timeout 70; } - location ~ /resourcebundles/v1/read|/learner/data/v1/(role/read|system/settings/get)|/v1/tenant/info { + location ~ /resourcebundles/v1/read|/userorg/data/v1/(role/read|system/settings/get)|/v1/tenant/info { # Enabling compression include /etc/nginx/defaults.d/compression.conf; # Enabling caching diff --git a/helmcharts/edbb/charts/nginx-public-ingress/values.yaml b/helmcharts/edbb/charts/nginx-public-ingress/values.yaml index 9913ba0..5dbbc02 100644 --- a/helmcharts/edbb/charts/nginx-public-ingress/values.yaml +++ b/helmcharts/edbb/charts/nginx-public-ingress/values.yaml @@ -47,7 +47,13 @@ ingress: paths: - / -resources: {} +resources: + requests: + cpu: 100m + memory: 100Mi + limits: + cpu: 1 + memory: 1G autoscaling: enabled: false diff --git a/helmcharts/edbb/charts/player/configs/env.yaml b/helmcharts/edbb/charts/player/configs/env.yaml index f373709..059f9cc 100644 --- a/helmcharts/edbb/charts/player/configs/env.yaml +++ b/helmcharts/edbb/charts/player/configs/env.yaml @@ -1,6 +1,6 @@ AZURE_STORAGE_ACCOUNT: {{.Values.global.azure_storage_account_name}} AZURE_STORAGE_KEY: {{.Values.global.azure_storage_account_key}} -sunbird_public_storage_account_name: "{{.Values.global.azure_storage_account_name}}" +sunbird_public_storage_account_name: "https://{{.Values.global.azure_storage_account_name}}.blob.core.windows.net/" cloud_service_provider: {{.Values.cloud_service_provider | default "azure"}} sunbird_cloud_storage_provider: {{.Values.sunbird_cloud_storage_provider | default "azure"}} sunbird_cloud_storage_urls: https://{{.Values.global.azure_storage_account_name}}.blob.core.windows.net/{{.Values.global.azure_public_container_name}}/ @@ -12,15 +12,15 @@ cloud_storage_desktopCrash_bucketname: "{{.Values.cloud_storage_desktopCrash_buc cloud_private_storage_region: "{{.Values.cloud_private_storage_region | default "ap-south-1"}}" cloud_private_storage_project: "{{.Values.cloud_private_storage_project | default ""}}" cloud_private_storage_endpoint: "{{.Values.cloud_private_storage_endpoint | default ""}}" -sunbird_google_captcha_site_key: "{{.Values.sunbird_google_captcha_site_key | default ""}}" +sunbird_google_captcha_site_key: "{{.Values.global.sunbird_google_captcha_site_key | default ""}}" config_refresh_interval: "{{.Values.config_refresh_interval | default "10"}}" config_service_enabled: "{{.Values.config_service_enabled | default "False"}}" -crypto_encryption_key: "{{.Values.global.random_string }}" -crypto_encryption_key_external: "{{.Values.global.random_string }}" +crypto_encryption_key: "{{.Values.global.encryption_string}}" +crypto_encryption_key_external: "{{.Values.global.encryption_string}}" desktop_app_storage_url: "{{.Values.desktop_app_storage_url | default "https://dev.blob.core.windows.net/staging-offlineinstaller"}}" discussions_middleware: "http://discussionmw-service:3002" ekstep_env: "{{.Values.ekstep_env | default "qa"}}" -google_captcha_private_key: "{{.Values.google_captcha_private_key | default ""}}" +google_captcha_private_key: "{{.Values.global.google_captcha_private_key | default ""}}" ml_survey_url: "{{.Values.ml_survey_url | default "https://survey.preprod.ntp.net.in/staging"}}" portal_redirect_error_callback_domain: "https://{{.Values.global.domain}}" portal_redis_connection_string: "redis://{{.Values.global.redis.host}}:{{.Values.global.redis.port}}/3" @@ -67,8 +67,8 @@ sunbird_google_desktop_keycloak_client_id: "{{.Values.sunbird_google_desktop_key sunbird_google_desktop_keycloak_secret: "{{.Values.sunbird_google_desktop_keycloak_secret | default "google_desktop_keycloak_secret"}}{{.Values.global.random_string}}" sunbird_google_keycloak_client_id: "{{.Values.sunbird_google_keycloak_client_id | default "google-auth"}}" sunbird_google_keycloak_secret: "{{.Values.sunbird_google_keycloak_secret | default "sunbird_google_keycloak_secret"}}{{.Values.global.random_string}}" -sunbird_google_oauth_clientId: "{{.Values.sunbird_google_oauth_clientId | default "google_oauth_clientId"}}" -sunbird_google_oauth_clientSecret: "{{.Values.sunbird_google_oauth_clientSecret | default "google_oauth_clientSecret"}}{{.Values.global.random_string}}" +sunbird_google_oauth_clientId: "{{.Values.global.sunbird_google_oauth_clientId | default "google_oauth_clientId"}}" +sunbird_google_oauth_clientSecret: "{{ .Values.global.sunbird_google_oauth_clientSecret | default "google_oauth_clientSecret"}}" sunbird_google_oauth_ios_clientId: "{{.Values.sunbird_google_oauth_ios_clientId | default "google_oauth_ios_clientId"}}" sunbird_google_oauth_ios_clientSecret: "{{.Values.sunbird_google_oauth_ios_clientSecret | default "google_oauth_ios_clientSecret"}}{{.Values.global.random_string}}" sunbird_health_check_enable: "{{.Values.sunbird_health_check_enable | default "false"}}" @@ -84,9 +84,9 @@ sunbird_anonymous_register_token: "{{.Values.global.sunbird_anonymous_register_t sunbird_api_auth_token: "{{.Values.global.sunbird_admin_api_token}}" sunbird_logged_default_token: "{{.Values.global.sunbird_logged_default_token}}" sunbird_loggedin_register_token: "{{.Values.global.sunbird_loggedin_register_token}}" -sunbird_p1_reCaptcha_enabled: "{{.Values.sunbird_p1_reCaptcha_enabled | default "false"}}" -sunbird_p2_reCaptcha_enabled: "{{.Values.sunbird_p2_reCaptcha_enabled | default "false"}}" -sunbird_p3_reCaptcha_enabled: "{{.Values.sunbird_p3_reCaptcha_enabled | default "false"}}" +sunbird_p1_reCaptcha_enabled: "{{.Values.sunbird_p1_reCaptcha_enabled | default "true"}}" +sunbird_p2_reCaptcha_enabled: "{{.Values.sunbird_p2_reCaptcha_enabled | default "true"}}" +sunbird_p3_reCaptcha_enabled: "{{.Values.sunbird_p3_reCaptcha_enabled | default "true"}}" sunbird_phraseApp_token: "{{.Values.sunbird_phraseApp_token | default ""}}" sunbird_port: "{{.Values.sunbird_port | default "3000"}}" sunbird_portal_auth_server_client: "{{.Values.sunbird_portal_auth_server_client | default "portal"}}" @@ -134,4 +134,4 @@ sunbird_trampoline_desktop_keycloak_client_id: "{{.Values.sunbird_trampoline_des sunbird_trampoline_desktop_keycloak_secret: "{{.Values.sunbird_trampoline_desktop_keycloak_secret | default "trampoline_desktop_keycloak_secret"}}{{.Values.global.random_string}}" sunbird_trampoline_secret: "{{.Values.sunbird_trampoline_secret | default "trampoline_secret"}}{{.Values.global.random_string}}" sunbird_default_board: "{{.Values.sunbird_default_board | default ""}}" -vdnURL: "{{.Values.vdnURL | default ""}}" +vdnURL: "{{.Values.vdnURL | default ""}}" \ No newline at end of file diff --git a/helmcharts/edbb/charts/player/values.yaml b/helmcharts/edbb/charts/player/values.yaml index 8eaf07c..be7dd4b 100644 --- a/helmcharts/edbb/charts/player/values.yaml +++ b/helmcharts/edbb/charts/player/values.yaml @@ -5,7 +5,7 @@ replicaCount: 1 image: repository: sunbirded.azurecr.io/player - tag: "release-5.2.0_RC13_1" + tag: "release-7.0.0_RC16_25baa89_2461" pullPolicy: IfNotPresent pullSecrets: [] @@ -115,7 +115,6 @@ sidecars: {} # args: ["-c", "tail -f /var/log/app.log"] # Run a shell script that tails the log file opa_enabled: false - global: azure_private_container_name: "" azure_storage_account_name: sunbird @@ -126,7 +125,6 @@ global: sunbird_anonymous_default_token: "" sunbird_logged_default_token: "" adminutil_learner_api_auth_key: "" - random_string: superrandom kafka: host: kafka port: 9092 diff --git a/helmcharts/edbb/charts/report/configs/env.yaml b/helmcharts/edbb/charts/report/configs/env.yaml index 0e07a09..010d92e 100644 --- a/helmcharts/edbb/charts/report/configs/env.yaml +++ b/helmcharts/edbb/charts/report/configs/env.yaml @@ -8,24 +8,24 @@ SUNBIRD_REPORTS_DB_USER: "{{ .Values.postgresql.user | default .Values.global.po SUNBIRD_SERVER_PORT: "3030 " SUNBIRD_BASE_REPORT_URL: report SUNBIRD_REPORTS_TABLE_NAME: report -SUNBIRD_REPORT_SUMMARY_TABLE_NAME: "" -SUNBIRD_ENV: "{{ .Values.global.domain }}" +SUNBIRD_REPORT_SUMMARY_TABLE_NAME: "report_summary" +SUNBIRD_ENV: "https://{{.Values.global.domain}}" DEACTIVATE_JOB_API_HOST: http://kong:8000/data/v1/report/jobs/deactivate -DEACTIVATE_JOB_API_KEY: "sunbird_api_auth_token" +DEACTIVATE_JOB_API_KEY: "{{.Values.global.sunbird_admin_api_token}}" # 4.10.0 -sunbird_azure_report_container_name: "testcontainer" -sunbird_azure_account_name: "azureaccount" -sunbird_azure_account_key: "azurekey" -sunbird_api_auth_token: "" +sunbird_azure_report_container_name: "reports" +sunbird_azure_account_name: "{{ .Values.global.azure_storage_account_name }}" +sunbird_azure_account_key: "{{ .Values.global.azure_storage_account_key }}" +sunbird_api_auth_token: "{{.Values.global.sunbird_admin_api_token}}" sunbird_super_admin_slug: 'sunbird' -sunbird_portal_auth_server_url: "" -sunbird_portal_auth_server_client: "" -sunbird_keycloak_public: "" +sunbird_portal_auth_server_url: "https://{{.Values.global.domain}}/auth" +sunbird_portal_auth_server_client: "{{.Values.sunbird_portal_auth_server_client | default "portal"}}" +sunbird_keycloak_public: "True" sunbird_learner_player_url: "" sunbird_content_proxy_url: http://knowledge-mw-service:5000 sunbird_keycloak_realm: "" -sunbird_cache_store: "sunbird_cache_store" -sunbird_cache_ttl: "sunbird_cache_ttl" +sunbird_cache_store: "memory" +sunbird_cache_ttl: "1800" sunbird_report_sas_expiry_in_minutes: "3600" -sunbird_dataservice_url: "sunbird_dataservice_url" +sunbird_dataservice_url: "https://{{.Values.global.domain}}/api/" diff --git a/helmcharts/edbb/charts/report/configs/opa/policies.rego b/helmcharts/edbb/charts/report/configs/opa/policies.rego index 6b9a96d..ab2301e 100644 --- a/helmcharts/edbb/charts/report/configs/opa/policies.rego +++ b/helmcharts/edbb/charts/report/configs/opa/policies.rego @@ -5,6 +5,8 @@ import input.attributes.request.http as http_request x_authenticated_user_token := http_request.headers["x-authenticated-user-token"] +api_key := trim_prefix(http_request.headers.authorization, "Bearer ") + urls_to_action_mapping := { "/report/get": "getReport", "/report/list": "listReports", @@ -51,6 +53,11 @@ createReport { super.is_an_internal_request } +createReport { + [_, payload, _] := io.jwt.decode(api_key) + payload.iss == "api_admin" +} + deleteReport { acls := ["deleteReport"] roles := ["REPORT_ADMIN", "ORG_ADMIN"] @@ -58,6 +65,11 @@ deleteReport { super.role_check(roles) } +updateReport { + [_, payload, _] := io.jwt.decode(api_key) + payload.iss == "api_admin" +} + updateReport { acls := ["updateReport"] roles := ["REPORT_ADMIN", "ORG_ADMIN"] diff --git a/helmcharts/edbb/charts/report/values.yaml b/helmcharts/edbb/charts/report/values.yaml index fdae0bb..9c7f8bb 100644 --- a/helmcharts/edbb/charts/report/values.yaml +++ b/helmcharts/edbb/charts/report/values.yaml @@ -5,7 +5,7 @@ replicaCount: 1 image: repository: sunbirded.azurecr.io/report-service - tag: "release-4.10.0_RC5" + tag: "release-4.10.0_RC6" pullPolicy: IfNotPresent pullSecrets: [] @@ -37,7 +37,13 @@ ingress: paths: - / -resources: {} +resources: + requests: + cpu: 100m + memory: 100Mi + limits: + cpu: 1 + memory: 1G autoscaling: enabled: false @@ -167,3 +173,5 @@ global: commonAnnotations: reloader.stakater.com/auto: "true" + +sunbird_portal_auth_server_client: portal \ No newline at end of file diff --git a/helmcharts/edbb/values.yaml b/helmcharts/edbb/values.yaml index ba790d6..b964149 100644 --- a/helmcharts/edbb/values.yaml +++ b/helmcharts/edbb/values.yaml @@ -128,4 +128,4 @@ migration: postgresql: waitTime: 120 -devops_release_branch: release-6.0.0 \ No newline at end of file +devops_release_branch: release-7.0.0 diff --git a/helmcharts/inquirybb/charts/assessment/configs/application.conf b/helmcharts/inquirybb/charts/assessment/configs/application.conf index f3e6be7..f3ab9a7 100644 --- a/helmcharts/inquirybb/charts/assessment/configs/application.conf +++ b/helmcharts/inquirybb/charts/assessment/configs/application.conf @@ -89,6 +89,18 @@ nr-of-instances = 5 dispatcher = actors-dispatcher } + /questionV5Actor + { + router = smallest-mailbox-pool + nr-of-instances = 5 + dispatcher = actors-dispatcher + } + /questionSetV5Actor + { + router = smallest-mailbox-pool + nr-of-instances = 5 + dispatcher = actors-dispatcher + } } } } @@ -421,4 +433,9 @@ metadata.list= {{ .Values.inquiry.cloudstorage_metadata_list }} read_base_path="{{ include "common.tplvalues.render" (dict "value" .Values.inquiry.cloudstorage_base_path "context" $) }}" write_base_path= {{ include "common.tplvalues.render" (dict "value" .Values.inquiry.valid_cloudstorage_base_urls "context" $) }} - } \ No newline at end of file + } + + question.list.limit="{{ .Values.inquiry.question_list_limit }}" + + v5_supported_qumlVersions={{ include "common.tplvalues.render" (dict "value" .Values.inquiry.v5_supported_qumlVersions "context" $) }} + v5_default_qumlVersion="{{ .Values.inquiry.v5_default_qumlVersion }}" diff --git a/helmcharts/inquirybb/charts/assessment/values.yaml b/helmcharts/inquirybb/charts/assessment/values.yaml index cc91b54..df6b823 100644 --- a/helmcharts/inquirybb/charts/assessment/values.yaml +++ b/helmcharts/inquirybb/charts/assessment/values.yaml @@ -5,7 +5,7 @@ replicaCount: 1 image: repository: sunbirded.azurecr.io/assessment-service - tag: release-5.4.0_RC1_7889b07_4 + tag: release-7.0.0_RC2_aeccd6e_16 pullPolicy: IfNotPresent pullSecrets: [] @@ -118,9 +118,15 @@ inquiry: cloudstorage_base_path: "https://{{ .Values.global.azure_storage_account_name }}.blob.core.windows.net" valid_cloudstorage_base_urls: '["https://{{ .Values.global.azure_storage_account_name }}.blob.core.windows.net","https://obj.dev.sunbird.org"]' search_service_base_url: http://search-service:9000/v3/search + question_list_limit: 20 + # V5 API Configurations + v5_supported_qumlVersions: '[1.1]' + v5_default_qumlVersion: 1.1 + + commonAnnotations: reloader.stakater.com/auto: "true" opa: - enabled: false \ No newline at end of file + enabled: false diff --git a/helmcharts/inquirybb/charts/flink/values.yaml b/helmcharts/inquirybb/charts/flink/values.yaml index 552edb4..ac38982 100644 --- a/helmcharts/inquirybb/charts/flink/values.yaml +++ b/helmcharts/inquirybb/charts/flink/values.yaml @@ -5,7 +5,7 @@ replicaCount: 1 image: repository: sunbirded.azurecr.io/data-pipeline - tag: release-5.7.0_RC1_58d52be_7 + tag: release-7.0.0_RC7_7425f7c_15 pullPolicy: IfNotPresent pullSecrets: [] @@ -122,7 +122,7 @@ inquiry_assessment_post_publish_kafka_topic_name: "{{ .Values.global.env }}.asse inquiry_assessment_publish_group: "{{ .Values.global.env }}-questionset-publish-group" question_keyspace_name: "{{ .Values.global.env }}_question_store" hierarchy_keyspace_name: "{{ .Values.global.env }}_hierarchy_store" -kp_print_service_base_url: "http://print:9000" +kp_print_service_base_url: "http://print:5000" # CNAME Config cloudstorage_relative_path_prefix: "CONTENT_STORAGE_BASE_PATH" cloudstorage_base_path: "https://{{ .Values.global.azure_storage_account_name }}.blob.core.windows.net" @@ -132,6 +132,20 @@ cloudstorage_replace_absolute_path: false ### QuestionSet RePublish Job Config inquiry_assessment_republish_kafka_topic_name: "{{ .Values.global.env }}.assessment.republish.request" inquiry_assessment_republish_group: "{{ .Values.global.env }}-questionset-republish-group" +### user_pii Job Config +user_pii_updater_kafka_topic_name: "{{ .Values.global.env }}.delete.user" +user_pii_updater_group: "{{ .Values.global.env }}-user-pii-updater-group" +user_pii_target_object_types: '{ + "Question": ["1.0", "1.1"], + "QuestionSet": ["1.0", "1.1"], + "Asset": ["1.0"], + "Content": ["1.0"], + "Collection": ["1.0"] +}' +user_pii_replacement_value: "Deleted User" +user_org_service_base_url: "http://userorg-service:9000" +email_notification_subject: "User Account Deletion Notification" +email_notification_regards: "Team" cloud_storage: type: "azure" @@ -328,4 +342,35 @@ flink_jobs: jobmanager.execution.failover-strategy: region taskmanager.memory.network.fraction: 0.1 job_classname: org.sunbird.job.questionset.republish.task.QuestionSetRePublishStreamTask - \ No newline at end of file + + user-pii-data-updater: + enabled: true + config: |+ + include file("/data/flink/conf/base-config.conf") + kafka { + input.topic = "{{- include "common.tplvalues.render" (dict "value" .Values.user_pii_updater_kafka_topic_name "context" $) }}" + groupId = "{{- include "common.tplvalues.render" (dict "value" .Values.user_pii_updater_group "context" $) }}" + } + task { + consumer.parallelism = 1 + parallelism = 1 + router.parallelism = 1 + } + target_object_types={{ .Values.user_pii_target_object_types }} + user_pii_replacement_value="{{ .Values.user_pii_replacement_value }}" + admin_email_notification_enable=true + userorg_service_base_url="{{- include "common.tplvalues.render" (dict "value" .Values.user_org_service_base_url "context" $) }}" + notification { + email { + subject: "{{ .Values.email_notification_subject }}", + regards: "{{ .Values.email_notification_regards }}" + } + } + flink-conf: |+ + jobmanager.memory.flink.size: 1024m + taskmanager.memory.flink.size: 1024m + taskmanager.numberOfTaskSlots: 1 + parallelism.default: 1 + jobmanager.execution.failover-strategy: region + taskmanager.memory.network.fraction: 0.1 + job_classname: org.sunbird.job.user.pii.updater.task.UserPiiUpdaterStreamTask diff --git a/helmcharts/inquirybb/templates/provision/cassandra.yaml b/helmcharts/inquirybb/templates/provision/cassandra.yaml new file mode 100644 index 0000000..5dca453 --- /dev/null +++ b/helmcharts/inquirybb/templates/provision/cassandra.yaml @@ -0,0 +1,58 @@ +apiVersion: batch/v1 +kind: Job +metadata: + name: {{ .Chart.Name }}-cassandra-migration-job + labels: + app: {{ .Chart.Name }}-cassandra-migration + scope: provisioning + annotations: + {{.Values.global.cassandra.provisioning.annotations | toYaml }} +spec: + template: + metadata: + labels: + app: {{ .Chart.Name }}-cassandra-migration + spec: + restartPolicy: Never + volumes: + - name: shared-volume + emptyDir: {} + initContainers: + - name: wait-for-cassandra + image: alpine/git + imagePullPolicy: IfNotPresent + command: ['sh', '-c'] + args: + - | + timeout {{ .Values.migration.cassandra.waitTime }} sh -c 'until nc -z {{ .Values.global.cassandra.host }} {{ .Values.global.cassandra.port }}; do echo waiting for cassandra; sleep 10; done' + set -e + cd /opt/shared-volume + export inquiry_automation_version={{ .Values.inquiry_automation_repo_branch | default "main"}} + + # Download the migration files + git clone --filter=blob:none --no-checkout https://github.com/Sunbird-inQuiry/inquiry-api-service --branch=$inquiry_automation_version --depth 1 + cd inquiry-api-service + git sparse-checkout init --cone + git sparse-checkout set scripts/cassandra-db + git checkout + chmod -R 777 /opt/shared-volume + volumeMounts: + - name: shared-volume + mountPath: /opt/shared-volume + containers: + - name: migration + image: {{.Values.global.cassandra.image.repository}}:{{.Values.global.cassandra.image.tag}} + imagePullPolicy: IfNotPresent + command: ['bash', '-c'] + args: + - | + cd /opt/shared-volume/inquiry-api-service/scripts/cassandra-db + export ENV={{ .Values.global.env }} + + sed -i "s/{{"{{ env }}"}}/$ENV/g" generalized-cassandra.cql + echo cqlsh {{.Values.global.cassandra.host}} -f "generalized-cassandra.cql" + cqlsh {{.Values.global.cassandra.host}} -f "generalized-cassandra.cql" + volumeMounts: + - name: shared-volume + mountPath: /opt/shared-volume + backoffLimit: 0 diff --git a/helmcharts/inquirybb/values.yaml b/helmcharts/inquirybb/values.yaml index cf31237..20bb565 100644 --- a/helmcharts/inquirybb/values.yaml +++ b/helmcharts/inquirybb/values.yaml @@ -1,5 +1,5 @@ fullname: inquirybb - +inquiry_automation_repo_branch: release-7.0.0 provisioningAnnotations: &provisioningAnnotations "helm.sh/hook-weight": "-4" @@ -87,6 +87,7 @@ cassandra: &cassandra provisioning: annotations: *provisioningAnnotations image: + repository: bitnami/cassandra tag: 3.11.13-debian-11-r3 extraEnvVars: - name: CASSANDRA_AUTHENTICATOR @@ -124,6 +125,9 @@ kafka: &kafka - name: "{{ .Values.global.env }}.assessment.publish.request" partitions: 1 replicationFactor: 1 + - name: "{{ .Values.global.env }}.delete.user" + partitions: 1 + replicationFactor: 1 parallel: 1 persistence: size: 25Gi @@ -151,3 +155,7 @@ global: installation: *installation elasticsearch: *es provisioningAnnotations: *provisioningAnnotations + +migration: + cassandra: + waitTime: 120 diff --git a/helmcharts/knowledgebb/charts/content/configs/application.conf b/helmcharts/knowledgebb/charts/content/configs/application.conf index 327804c..65aa6ab 100644 --- a/helmcharts/knowledgebb/charts/content/configs/application.conf +++ b/helmcharts/knowledgebb/charts/content/configs/application.conf @@ -489,7 +489,7 @@ dialcode.keyspace= {{ .Values.dialcode_keyspace }} #Youtube Standard Licence Validation learning.content.youtube.application.name="{{ .Values.youtube_application_name }}" -learning_content_youtube_apikey="{{ .Values.youtube_apikey }}" +learning_content_youtube_apikey="{{ .Values.global.youtube_apikey }}" youtube.license.regex.pattern=["\\?vi?=([^&]*)", "watch\\?.*v=([^&]*)", "(?:embed|vi?)/([^/?]*)","^([A-Za-z0-9\\-\\_]*)"] learning.valid_license=["creativeCommon"] diff --git a/helmcharts/knowledgebb/charts/content/values.yaml b/helmcharts/knowledgebb/charts/content/values.yaml index 866979f..cc20cbe 100644 --- a/helmcharts/knowledgebb/charts/content/values.yaml +++ b/helmcharts/knowledgebb/charts/content/values.yaml @@ -4,7 +4,7 @@ replicaCount: 1 image: repository: sunbirded.azurecr.io/content-service - tag: "release-5.5.0_RC1_551878a_107" + tag: "release-5.7.0_RC7_a9fa6d9_23" pullPolicy: IfNotPresent pullSecrets: [] diff --git a/helmcharts/knowledgebb/charts/dial/values.yaml b/helmcharts/knowledgebb/charts/dial/values.yaml index 78e556f..2879fe1 100644 --- a/helmcharts/knowledgebb/charts/dial/values.yaml +++ b/helmcharts/knowledgebb/charts/dial/values.yaml @@ -110,7 +110,7 @@ dialcode: metadata_replace_absolute_path: "true" relative_path_prefix: "DIAL_STORAGE_BASE_PATH" read_base_path: "https://{{ .Values.global.azure_storage_account_name }}.blob.core.windows.net" -dial_storage_container: "dial" +dial_storage_container: "{{ .Values.gobal.azure_dial_state_container_name }}" search: fields_query: '["name^100","title^100","lemma^100","code^100","tags^100","question^100","domain","subject","description^10","keywords^25","ageGroup^10","filter^10","theme^10","genre^10","objects^25","contentType^100","language^200","teachingMode^25","skills^10","learningObjective^10","curriculum^100","gradeLevel^100","developer^100","attributions^10","owner^50","text","words","releaseNotes","body"]' diff --git a/helmcharts/knowledgebb/charts/flink/values.yaml b/helmcharts/knowledgebb/charts/flink/values.yaml index ef50266..8605393 100644 --- a/helmcharts/knowledgebb/charts/flink/values.yaml +++ b/helmcharts/knowledgebb/charts/flink/values.yaml @@ -5,7 +5,7 @@ replicaCount: 1 image: repository: sunbirded.azurecr.io/knowledge-platform-jobs - tag: "release-5.5.0_RC2_037e2e9_54" + tag: "release-5.5.0_RC2_037e2e9_84" pullPolicy: IfNotPresent pullSecrets: [] @@ -170,7 +170,7 @@ base_config: | blob { storage { account = "{{ .Values.global.azure_storage_account_name }}.blob.core.windows.net" - container = "flink-check-points-store" + container = "{{ .Values.global.azure_public_container_name }}" checkpointing.dir = "checkpoint" } } diff --git a/helmcharts/knowledgebb/charts/learning/templates/learning-configmap.yaml b/helmcharts/knowledgebb/charts/learning/templates/learning-configmap.yaml index d73f6c3..a1e501e 100644 --- a/helmcharts/knowledgebb/charts/learning/templates/learning-configmap.yaml +++ b/helmcharts/knowledgebb/charts/learning/templates/learning-configmap.yaml @@ -231,7 +231,7 @@ data: #Youtube Standard Licence Validation learning.content.youtube.validate.license=true learning.content.youtube.application.name="fetch-youtube-license" - learning_content_youtube_apikey="" + learning_content_youtube_apikey="{{ .Values.global.youtube_apikey }}" #Telemetry pdata ID telemetry_env="sunbird" diff --git a/helmcharts/knowledgebb/charts/taxonomy/configs/application.conf b/helmcharts/knowledgebb/charts/taxonomy/configs/application.conf index 57637ea..ecabe46 100644 --- a/helmcharts/knowledgebb/charts/taxonomy/configs/application.conf +++ b/helmcharts/knowledgebb/charts/taxonomy/configs/application.conf @@ -393,5 +393,6 @@ framework.keyspace="{{ include "common.tplvalues.render" (dict "value" .Values.framework.keyspace "context" $) }}" framework.hierarchy.table="{{ .Values.framework.hierarchy_table }}" + framework.categories_cached="{{ .Values.framework.categories_cached }}" framework.cache.ttl=86400 framework.cache.read="true" diff --git a/helmcharts/knowledgebb/charts/taxonomy/values.yaml b/helmcharts/knowledgebb/charts/taxonomy/values.yaml index fdea7eb..f37ee70 100644 --- a/helmcharts/knowledgebb/charts/taxonomy/values.yaml +++ b/helmcharts/knowledgebb/charts/taxonomy/values.yaml @@ -4,7 +4,7 @@ replicaCount: 1 image: repository: sunbirded.azurecr.io/taxonomy-service - tag: "release-5.5.0_RC1_551878a_124" + tag: "release-5.7.0_RC7_a9fa6d9_13" pullPolicy: IfNotPresent pullSecrets: [] @@ -111,4 +111,4 @@ javaenv: _javaoptions: -Dlog4j2.formatMsgNoLookups=true opa: - enabled: false \ No newline at end of file + enabled: false diff --git a/helmcharts/knowledgebb/templates/provision/cassandra.yaml b/helmcharts/knowledgebb/templates/provision/cassandra.yaml index 5b0d5f4..79e6eba 100644 --- a/helmcharts/knowledgebb/templates/provision/cassandra.yaml +++ b/helmcharts/knowledgebb/templates/provision/cassandra.yaml @@ -35,6 +35,7 @@ spec: git sparse-checkout init --cone git sparse-checkout set terraform/modules/helm/cassandra/cassandra-helm-chart/files git checkout + chmod -R 777 /opt/shared-volume volumeMounts: - name: shared-volume mountPath: /opt/shared-volume @@ -46,7 +47,11 @@ spec: args: - | cd /opt/shared-volume/knowlg-automation/terraform/modules/helm/cassandra/cassandra-helm-chart/files - for file in *.cql; do echo cqlsh {{.Values.global.cassandra.host}} -f "$file"; cqlsh {{.Values.global.cassandra.host}} -f "$file"; done + export ENV={{ .Values.global.env }} + + sed -i "s/{{"{{ env }}"}}/$ENV/g" generalized-cassandra.cql + echo cqlsh {{.Values.global.cassandra.host}} -f "generalized-cassandra.cql" + cqlsh {{.Values.global.cassandra.host}} -f "generalized-cassandra.cql" volumeMounts: - name: shared-volume mountPath: /opt/shared-volume diff --git a/helmcharts/learnbb/charts/certificateapi/configs/env.yaml b/helmcharts/learnbb/charts/certificateapi/configs/env.yaml index 4fbee8a..d51fd73 100644 --- a/helmcharts/learnbb/charts/certificateapi/configs/env.yaml +++ b/helmcharts/learnbb/charts/certificateapi/configs/env.yaml @@ -1,7 +1,6 @@ PORT: "{{ .Values.port }}" QR_TYPE: "{{ .Values.QR_TYPE }}" CERTIFICATE_DOMAIN_URL: "https://{{ .Values.global.domain }}" -CERTIFICATE_PUBLIC_KEY: "{{ .Values.CERTIFICATE_PUBLIC_KEY }}" -CERTIFICATE_PRIVATE_KEY: |- - {{ .Values.CERTIFICATE_PRIVATE_KEY }} +CERTIFICATE_PUBLIC_KEY: "{{ .Values.global.CERTIFICATE_PUBLIC_KEY }}" +CERTIFICATE_PRIVATE_KEY: "{{ .Values.global.CERTIFICATE_PRIVATE_KEY }}" JAVA_OPTIONS: "{{ .Values.java_options }}" \ No newline at end of file diff --git a/helmcharts/learnbb/charts/certificateapi/values.yaml b/helmcharts/learnbb/charts/certificateapi/values.yaml index 021b3b2..e7f6e52 100644 --- a/helmcharts/learnbb/charts/certificateapi/values.yaml +++ b/helmcharts/learnbb/charts/certificateapi/values.yaml @@ -104,6 +104,4 @@ serviceMonitor: port: 8078 QR_TYPE: "URL" -CERTIFICATE_PUBLIC_KEY: "" -CERTIFICATE_PRIVATE_KEY: "" java_options: -Xmx600m \ No newline at end of file diff --git a/helmcharts/learnbb/charts/certificatesign/configs/config.json b/helmcharts/learnbb/charts/certificatesign/configs/config.json index ac2e669..d04a2b6 100644 --- a/helmcharts/learnbb/charts/certificatesign/configs/config.json +++ b/helmcharts/learnbb/charts/certificatesign/configs/config.json @@ -1,8 +1,8 @@ { "issuers": { "default": { - "publicKey": "{{ .Values.CERTIFICATESIGN_PUBLIC_KEY }}", - "privateKey": "{{ .Values.CERTIFICATESIGN_PRIVATE_KEY }}", + "publicKey": "{{ .Values.global.CERTIFICATESIGN_PUBLIC_KEY }}", + "privateKey": "{{ .Values.global.CERTIFICATESIGN_PRIVATE_KEY }}", "signatureType": "{{ .Values.SIGNING_KEY_TYPE }}", "verificationMethod": "did:india" } diff --git a/helmcharts/learnbb/charts/certificatesign/configs/env.yaml b/helmcharts/learnbb/charts/certificatesign/configs/env.yaml index 0c2c5a7..7c2eb09 100644 --- a/helmcharts/learnbb/charts/certificatesign/configs/env.yaml +++ b/helmcharts/learnbb/charts/certificatesign/configs/env.yaml @@ -1,9 +1,8 @@ PORT: "{{ .Values.PORT }}" QR_TYPE: "{{ .Values.QR_TYPE }}" CERTIFICATE_DOMAIN_URL: "https://{{ .Values.global.domain }}" - CERTIFICATE_PUBLIC_KEY: "{{ .Values.CERTIFICATESIGN_PUBLIC_KEY }}" - CERTIFICATE_PRIVATE_KEY: |- - "{{ .Values.CERTIFICATESIGN_PRIVATE_KEY }}" + CERTIFICATE_PUBLIC_KEY: "{{ .Values.global.CERTIFICATESIGN_PUBLIC_KEY }}" + CERTIFICATE_PRIVATE_KEY: "{{ .Values.global.CERTIFICATESIGN_PRIVATE_KEY }}" SIGNING_KEY_TYPE: "{{ .Values.SIGNING_KEY_TYPE }}" - CACHE_CONTEXT_URLS: "https://{{ .Values.global.azure_storage_account_name }}.blob.core.windows.net/schemas/v1_context.json, https://{{ .Values.global.azure_storage_account_name }}.blob.core.windows.net/schemas/sunbird_context.json, {{ .Values.global.domain }}/schema/credential_template.json }}" + CACHE_CONTEXT_URLS: "https://{{ .Values.global.azure_storage_account_name }}.blob.core.windows.net/schemas/v1_context.json, https://{{ .Values.global.azure_storage_account_name }}.blob.core.windows.net/schemas/sunbird_context.json, {{ .Values.global.domain }}/schema/credential_template.json" JAVA_OPTIONS: "{{ .Values.java_options }}" \ No newline at end of file diff --git a/helmcharts/learnbb/charts/certificatesign/values.yaml b/helmcharts/learnbb/charts/certificatesign/values.yaml index a48e409..cc5ef55 100644 --- a/helmcharts/learnbb/charts/certificatesign/values.yaml +++ b/helmcharts/learnbb/charts/certificatesign/values.yaml @@ -111,8 +111,6 @@ serviceMonitor: PORT: 8079 QR_TYPE: "URL" -CERTIFICATESIGN_PRIVATE_KEY: "" -CERTIFICATESIGN_PUBLIC_KEY: "" SIGNING_KEY_TYPE: "RSA" CACHE_CONTEXT_URLS: "" -java_options: -Xmx600m \ No newline at end of file +java_options: -Xmx600m diff --git a/helmcharts/learnbb/charts/flink/values.yaml b/helmcharts/learnbb/charts/flink/values.yaml index ada5b14..a15685b 100644 --- a/helmcharts/learnbb/charts/flink/values.yaml +++ b/helmcharts/learnbb/charts/flink/values.yaml @@ -2,7 +2,7 @@ replicaCount: 1 image: repository: sunbirded.azurecr.io/data-pipeline - tag: release-5.3.1_df6c38d_41 + tag: release-7.0.0_RC5_4a07143_21 pullPolicy: IfNotPresent pullSecrets: [] @@ -111,7 +111,7 @@ taskmanager: # Azure Container Details checkpoint_store_type: "azure" -cloud_storage_flink_bucketname: flink-state-backend +cloud_storage_flink_bucketname: "{{ .Values.global.azure_flink_state_container_name }}" # AWS S3 Details s3_access_key: "" @@ -143,11 +143,12 @@ sunbird_msg_91_auth: "your-msg-91-auth-key" cassandra_isMultiDCEnabled: false kp_schema_base_path: "https://{{ .Values.global.azure_storage_account_name }}.blob.core.windows.net/{{ .Values.global.azure_public_container_name }}/schemas/local" +lms_service_base_url: "http://lms-service:9000" kp_search_service_base_url: "http://search-service:9000" content_read_api_host: "http://content-service:9000" content_read_api_endpoint: "content/v3/read/" content_service_base_url: "http://content-service:9000" -learner_service_base_url: "http://learner-service:9000" +userorg_service_base_url: "http://userorg-service:9000" cert_reg_service_base_url: "http://certreg:9000/certreg" enc_service_base_url: "http://enc:9000/enc" cert_rc_base_url: "http://registry-service:8081/api/v1" @@ -306,6 +307,10 @@ mail_server_password: "password" mail_server_host: "smtp.sendgrid.net" mail_server_port: "587" +### User-deletion-cleanup Job vars +user_deletion_cleanup_job_parallelism: 1 +sunbird_keycloak_user_federation_provider_id: "cassandrafederationid" + log4j_console_properties: | # This affects logging for both user code and Flink rootLogger.level = INFO @@ -360,7 +365,7 @@ base_config: | {{- else if eq .Values.checkpoint_store_type "s3" -}} "{{- .Values.flink_dp_storage_container }}" {{- end }} - container = "{{ .Values.cloud_storage_flink_bucketname }}" + container = "{{ .Values.global.azure_flink_state_container_name }}" checkpointing.dir = "checkpoint" } } @@ -412,7 +417,12 @@ base_config: | port = "{{ .Values.global.cassandra.port }}" isMultiDCEnabled = "{{ .Values.cassandra_isMultiDCEnabled }}" } - + ml-mongo { + host = "" + port = "27017" + database = "" + } + sunbird_instance_name = "Sunbird" flink_jobs: activity-aggregate-updater: enabled: true @@ -578,12 +588,18 @@ flink_jobs: assessment_aggregator.table = "{{ .Values.middleware_assessment_aggregator_table }}" user_activity_agg.table = "{{ .Values.middleware_user_activity_agg_table }}" } + redis { + database { + contentCache.id = 5 + collectionCache.id = 0 + } + } cert_domain_url = "https://{{ .Values.global.domain }}" user_read_api = "/private/user/v1/read" content_read_api = "/content/v3/read" service { content.basePath = "{{ .Values.content_service_base_url }}" - learner.basePath = "{{ .Values.learner_service_base_url }}" + learner.basePath = "{{ .Values.userorg_service_base_url }}" } enable.suppress.exception = "{{ include "common.tplvalues.render" (dict "value" .Values.collection_certificate_pre_processor_enable_suppress_exception "context" $) }}" redis-meta { @@ -641,10 +657,11 @@ flink_jobs: cloud_storage_cname_url = "{{ include "common.tplvalues.render" (dict "value" .Values.cloud_storage_cname_url "context" $) }}" service { certreg.basePath = "{{ .Values.cert_reg_service_base_url }}" - learner.basePath = "{{ .Values.learner_service_base_url }}" + learner.basePath = "{{ .Values.userorg_service_base_url }}" enc.basePath = "{{ .Values.enc_service_base_url }}" rc.basePath = "{{ .Values.cert_rc_base_url }}" rc.entity = "{{ .Values.cert_rc_entity }}" + rc.rcApiKey = "{{ .Values.sunbird_api_auth_token }}" } enable.suppress.exception = "{{ include "common.tplvalues.render" (dict "value" .Values.collection_certificate_generator_enable_suppress_exception "context" $) }}" enable.rc.certificate = "{{ include "common.tplvalues.render" (dict "value" .Values.collection_certificate_generator_enable_rc_certificate "context" $) }}" @@ -691,7 +708,7 @@ flink_jobs: cloud_storage_cname_url = "{{ include "common.tplvalues.render" (dict "value" .Values.cloud_storage_cname_url "context" $) }}" service { certreg.basePath = "{{ .Values.cert_reg_service_base_url }}" - learner.basePath = "{{ .Values.learner_service_base_url }}" + learner.basePath = "{{ .Values.userorg_service_base_url }}" enc.basePath = "{{ .Values.enc_service_base_url }}" rc.basePath = "{{ .Values.cert_rc_base_url }}" rc.entity = "{{ .Values.cert_rc_entity }}" @@ -801,11 +818,11 @@ flink_jobs: parallelism = "{{ .Values.notification_job_parallelism }}" } fcm_account_key= "{{ .Values.core_vault_sunbird_fcm_account_key }}" - sms_auth_key= "{{ .Values.sunbird_msg_91_auth }}" - mail_server_from_email= "{{ .Values.sunbird_mail_server_from_email }}" + sms_auth_key= "{{ .Values.global.sunbird_msg_91_auth }}" + mail_server_from_email= "{{ .Values.global.mail_server_from_email }}" sms_default_sender= "{{ .Values.notification_msg_default_sender }}" - mail_server_username= "{{ .Values.mail_server_username }}" - mail_server_password= "{{ .Values.mail_server_password }}" + mail_server_username= "{{ .Values.global.mail_server_username }}" + mail_server_password= "{{ .Values.global.mail_server_password }}" mail_server_host= "{{ .Values.mail_server_host }}" mail_server_port= "{{ .Values.mail_server_port }}" flink-conf: |+ @@ -848,6 +865,46 @@ flink_jobs: jobmanager.execution.failover-strategy: region taskmanager.memory.network.fraction: 0.1 job_classname: org.sunbird.dp.userinfo.task.ProgramUserInfoStreamTask - + + user-deletion-cleanup: + enabled: true + config: |+ + include file("/data/flink/conf/base-config.conf") + kafka { + input.topic = "{{ .Values.global.env }}.delete.user" + groupId = "{{ .Values.global.env }}-delete-user-group" + } + task { + user.deletion.cleanup.parallelism = "{{ .Values.user_deletion_cleanup_job_parallelism }}" + } + + service { + lms { + basePath = "{{ .Values.lms_service_base_url }}" + } + userorg { + basePath = "{{ .Values.userorg_service_base_url }}" + } + } + + sunbird_keycloak_user_federation_provider_id="{{ .Values.core_vault_sunbird_keycloak_user_federation_provider_id }}" + user_read_api = "/user/v5/read/" + batch_search_api = "/course/v1/batch/list" + + user { + keyspace = "sunbird" + lookup.table = "user_lookup" + table = "user" + externalIdentity.table = "usr_external_identity" + org.table = "user_organisation" + } + flink-conf: |+ + jobmanager.memory.flink.size: 1024m + taskmanager.memory.flink.size: 1024m + taskmanager.numberOfTaskSlots: 1 + parallelism.default: 1 + jobmanager.execution.failover-strategy: region + taskmanager.memory.network.fraction: 0.1 + job_classname: org.sunbird.job.deletioncleanup.task.UserDeletionCleanupStreamTask commonAnnotations: reloader.stakater.com/auto: "true" diff --git a/helmcharts/learnbb/charts/groups/configs/env.yaml b/helmcharts/learnbb/charts/groups/configs/env.yaml index 6497593..56bb7f0 100644 --- a/helmcharts/learnbb/charts/groups/configs/env.yaml +++ b/helmcharts/learnbb/charts/groups/configs/env.yaml @@ -4,7 +4,7 @@ sunbird_cassandra_host: {{ .Values.global.cassandra.host }} sunbird_cassandra_password: {{.Values.sunbird_cassandra_password }} sunbird_cassandra_port: {{ .Values.global.cassandra.port | quote }} sunbird_cassandra_username: {{.Values.sunbird_cassandra_username }} -LEARNER_SERVICE_PORT: {{ .Values.learner_service_url }} +LEARNER_SERVICE_PORT: {{ .Values.userorg_service_url }} sunbird_redis_host: {{ .Values.global.redis.host }} sunbird_redis_port: {{ .Values.global.redis.port | quote }} CONTENT_SERVICE_PORT: {{ .Values.content_service_url }} diff --git a/helmcharts/learnbb/charts/groups/values.yaml b/helmcharts/learnbb/charts/groups/values.yaml index 0f41e3b..1df2575 100644 --- a/helmcharts/learnbb/charts/groups/values.yaml +++ b/helmcharts/learnbb/charts/groups/values.yaml @@ -4,7 +4,7 @@ replicaCount: 1 image: repository: sunbirded.azurecr.io/groups_service - tag: "release-5.0.0_RC2_1" + tag: "release-7.0.0_RC1_e82e95d_3" pullPolicy: IfNotPresent pullSecrets: [] @@ -112,7 +112,7 @@ commonAnnotations: sunbird_cassandra_username: "" sunbird_cassandra_password: "" -learner_service_url: http://learner-service:9000 +userorg_service_url: http://userorg-service:9000 content_service_url: http://search-service:9000 sunbird_user_service_search_url: /private/user/v1/search sunbird_cs_search_url: /v3/search @@ -136,4 +136,4 @@ sunbird_sso_username: "" sunbird_sso_password: "" sunbird_keycloak_user_federation_provider_id: "cassandrafederationid" sunbird_keycloak_required_action_link_expiration_seconds: "2592000" -sunbird_sso_client_secret: "lms_client_secret" \ No newline at end of file +sunbird_sso_client_secret: "lms_client_secret" diff --git a/helmcharts/learnbb/charts/keycloak/configs/realm.json b/helmcharts/learnbb/charts/keycloak/configs/realm.json index de940a8..34bed5c 100644 --- a/helmcharts/learnbb/charts/keycloak/configs/realm.json +++ b/helmcharts/learnbb/charts/keycloak/configs/realm.json @@ -3399,14 +3399,14 @@ "strictTransportSecurity": "max-age=31536000; includeSubDomains" }, "smtpServer": { - "password": "{{ .Values.mail_server_password }}", + "password": "{{ .Values.global.mail_server_password }}", "starttls": "", "auth": "true", "port": "587", - "host": "{{ .Values.mail_server_host }}", - "from": "{{ .Values.mail_server_from_email }}", + "host": "{{ .Values.global.mail_server_host }}", + "from": "{{ .Values.global.mail_server_from_email }}", "ssl": "", - "user": "{{ .Values.mail_server_username }}" + "user": "{{ .Values.global.mail_server_username }}" }, "loginTheme": "{{ .Values.tenant_name }}", "accountTheme": "keycloak", diff --git a/helmcharts/learnbb/charts/keycloak/values.yaml b/helmcharts/learnbb/charts/keycloak/values.yaml index 48ddbfb..b431913 100644 --- a/helmcharts/learnbb/charts/keycloak/values.yaml +++ b/helmcharts/learnbb/charts/keycloak/values.yaml @@ -124,7 +124,7 @@ keycloak_user: admin keycloak_password: admin keycloak_database_type: postgres keycloak_database_name: keycloak -sunbird_user_service_base_url: "http://learner-service:9000" +sunbird_user_service_base_url: "http://userorg-service:9000" nodebb_client_secret: "nodebb" trampoline_client_secret: "trampoline" android_client_secret: "android" diff --git a/helmcharts/learnbb/charts/learner/.DS_Store b/helmcharts/learnbb/charts/learner/.DS_Store deleted file mode 100644 index 663e315..0000000 Binary files a/helmcharts/learnbb/charts/learner/.DS_Store and /dev/null differ diff --git a/helmcharts/learnbb/charts/lms/configs/env.yaml b/helmcharts/learnbb/charts/lms/configs/env.yaml index 94dc75e..8b72d81 100644 --- a/helmcharts/learnbb/charts/lms/configs/env.yaml +++ b/helmcharts/learnbb/charts/lms/configs/env.yaml @@ -21,22 +21,22 @@ sunbird_pg_password: "{{ .Values.global.postgresql.core_vault_postgres_password sunbird_installation: "{{ .Values.global.env }}" sunbird_analytics_api_base_url: "{{ .Values.sunbird_analytics_api_base_url }}" sunbird_search_service_api_base_url: "{{ .Values.sunbird_search_service_api_base_url }}" -ekstep_api_base_url: "{{ .Values.content_service_url }}" +content_service_base_url: "{{ .Values.content_service_url }}" content_read_url: "{{ .Values.content_read_url }}" sunbird_group_service_api_base_url: "{{ .Values.sunbird_group_service_api_base_url }}" -sunbird_mail_server_host: "{{ .Values.mail_server_host }}" -sunbird_mail_server_port: "{{ .Values.mail_server_port }}" -sunbird_mail_server_username: "{{ .Values.mail_server_username }}" -sunbird_mail_server_password: "{{ .Values.mail_server_password }}" -sunbird_mail_server_from_email: "{{ .Values.mail_server_from_email }}" +sunbird_mail_server_host: "{{ .Values.global.mail_server_host }}" +sunbird_mail_server_port: "{{ .Values.global.mail_server_port }}" +sunbird_mail_server_username: "{{ .Values.global.mail_server_username }}" +sunbird_mail_server_password: "{{ .Values.global.mail_server_password }}" +sunbird_mail_server_from_email: "{{ .Values.global.mail_server_from_email }}" sunbird_encryption_key: "{{ .Values.global.random_string }}" sunbird_encryption_mode: "{{ .Values.sunbird_encryption_mode }}" sunbird_account_name: "{{ .Values.global.azure_storage_account_name }}" sunbird_account_key: "{{ .Values.global.azure_storage_account_key }}" sunbird_quartz_mode: "{{ .Values.sunbird_quartz_mode }}" sunbird_web_url: "{{ .Values.global.domain }}" -sunbird_msg_91_auth: "{{ .Values.sunbird_msg_91_auth }}" -sunbird_msg_sender: "{{ .Values.sunbird_msg_sender }}" +sunbird_msg_91_auth: "{{ .Values.global.sunbird_msg_91_auth }}" +sunbird_msg_sender: "{{ .Values.global.sunbird_msg_sender }}" sunbird_installation_email: "{{ .Values.sunbird_installation_email }}" sunbird_cassandra_host: "{{ .Values.global.cassandra.host }}" sunbird_cassandra_port: "{{ .Values.global.cassandra.port }}" diff --git a/helmcharts/learnbb/charts/lms/values.yaml b/helmcharts/learnbb/charts/lms/values.yaml index 88b07ea..418e74f 100644 --- a/helmcharts/learnbb/charts/lms/values.yaml +++ b/helmcharts/learnbb/charts/lms/values.yaml @@ -4,7 +4,7 @@ replicaCount: 1 image: repository: sunbirded.azurecr.io/lms_service - tag: "release-5.3.2_RC1_927e04e_30" + tag: "release-7.0.0_RC2_d14e96b_32" pullPolicy: IfNotPresent pullSecrets: [] @@ -182,7 +182,7 @@ sunbird_keycloak_user_federation_provider_id: "cassandrafederationid" sunbird_gzip_enable: "true" sunbird_gzip_size_threshold: "262144" sunbird_cache_enable: "false" -sunbird_user_org_api_base_url: "http://learner-service:9000" +sunbird_user_org_api_base_url: "http://userorg-service:9000" sunbird_cert_service_base_url: http://cert-service:9000 learning_service_base_url: "http://learning:8080/learning-service" sunbird_user_search_cretordetails_fields: "id,firstName,lastName" diff --git a/helmcharts/learnbb/charts/notification/configs/env.yaml b/helmcharts/learnbb/charts/notification/configs/env.yaml index 3ac99a7..bd103e5 100644 --- a/helmcharts/learnbb/charts/notification/configs/env.yaml +++ b/helmcharts/learnbb/charts/notification/configs/env.yaml @@ -7,13 +7,13 @@ sunbird_cassandra_password: "{{ .Values.global.cassandra.password }}" sunbird_cassandra_username: "{{ .Values.global.cassandra.username }}" sunbird_notification_kafka_servers_config: "{{ .Values.global.kafka.host }}:{{ .Values.global.kafka.port }}" sunbird_notification_kafka_topic: "{{ .Values.global.env }}.lms.notification" -sunbird_notification_msg_default_sender: "{{ .Values.sunbird_msg_sender }}" -sunbird_msg_91_auth: "{{ .Values.sunbird_msg_91_auth }}" -sunbird_mail_server_from_email: "{{ .Values.sunbird_mail_server_from_email }}" -sunbird_mail_server_host: "{{ .Values.mail_server_host }}" -sunbird_mail_server_password: "{{ .Values.mail_server_password }}" -sunbird_mail_server_username: " {{ .Values.mail_server_username }}" -sunbird_mail_server_port: "{{ .Values.mail_server_port }}" +sunbird_notification_msg_default_sender: "{{ .Values.global.sunbird_msg_sender }}" +sunbird_msg_91_auth: "{{ .Values.global.sunbird_msg_91_auth }}" +sunbird_mail_server_from_email: "{{ .Values.global.mail_server_from_email }}" +sunbird_mail_server_host: "{{ .Values.global.mail_server_host }}" +sunbird_mail_server_password: "{{ .Values.global.mail_server_password }}" +sunbird_mail_server_username: " {{ .Values.global.mail_server_username }}" +sunbird_mail_server_port: "{{ .Values.global.mail_server_port }}" SUNBIRD_KAFKA_URL: "{{ .Values.global.kafka.host }}:{{ .Values.global.kafka.port }}" sunbird_sso_url: "https://{{ .Values.global.domain }}/auth/" sunbird_sso_realm: "{{ .Values.sunbird_sso_realm }}" @@ -29,4 +29,4 @@ LEARNER_SERVICE_PORT: "{{ .Values.LEARNER_SERVICE_PORT }}" sunbird_us_system_setting_url: "/api/data/v1/system/settings/list" sunbird_us_org_read_url: "/v1/org/read" notification_category_type_config: "certificateUpdate" -isMultiDCEnabled: "{{ .Values.cassandra_multi_dc_enabled }}" \ No newline at end of file +isMultiDCEnabled: "{{ .Values.cassandra_multi_dc_enabled }}" diff --git a/helmcharts/learnbb/charts/notification/values.yaml b/helmcharts/learnbb/charts/notification/values.yaml index 103dc8a..33a34cc 100644 --- a/helmcharts/learnbb/charts/notification/values.yaml +++ b/helmcharts/learnbb/charts/notification/values.yaml @@ -5,7 +5,7 @@ replicaCount: 1 image: repository: sunbirded.azurecr.io/notification_service - tag: "release-5.4.0_4bc4b24_67" + tag: "release-7.0.0_RC2_42c4145_8" pullPolicy: IfNotPresent pullSecrets: [] @@ -132,7 +132,7 @@ sunbird_sso_password: "admin" sunbird_keycloak_user_federation_provider_id: "cassandrafederationid" sunbird_keycloak_required_action_link_expiration_seconds: "2592000" keys_basepath: "/keys/" -LEARNER_SERVICE_PORT: "http://learner-service:9000" +LEARNER_SERVICE_PORT: "http://userorg-service:9000" sunbird_us_system_setting_url: "/api/data/v1/system/settings/list" sunbird_us_org_read_url: "/v1/org/read" notification_category_type_config: "certificateUpdate" @@ -185,4 +185,4 @@ init_container_resources: memory: "1024Mi" commonAnnotations: - reloader.stakater.com/auto: "true" \ No newline at end of file + reloader.stakater.com/auto: "true" diff --git a/helmcharts/learnbb/charts/print/Chart.lock b/helmcharts/learnbb/charts/print/Chart.lock new file mode 100644 index 0000000..1376831 --- /dev/null +++ b/helmcharts/learnbb/charts/print/Chart.lock @@ -0,0 +1,6 @@ +dependencies: +- name: common + repository: https://nimbushubin.github.io/helmcharts + version: 0.1.0 +digest: sha256:1caa4d36f25ec305383122b0a8a6d585921a608b03d9aaf15fa70b5044d109ea +generated: "2023-10-10T06:58:15.158733765+02:00" diff --git a/helmcharts/learnbb/charts/print/Chart.yaml b/helmcharts/learnbb/charts/print/Chart.yaml new file mode 100644 index 0000000..2d69250 --- /dev/null +++ b/helmcharts/learnbb/charts/print/Chart.yaml @@ -0,0 +1,11 @@ +apiVersion: v2 +appVersion: 1.0.0 +dependencies: +- name: common + repository: https://nimbushubin.github.io/helmcharts + version: 0.1.0 +description: A production-ready Helm chart for print +maintainers: +- name: NimbusHub.in +name: print +version: 0.1.0 diff --git a/helmcharts/learnbb/charts/print/configs/dummy.conf b/helmcharts/learnbb/charts/print/configs/dummy.conf new file mode 100644 index 0000000..3573170 --- /dev/null +++ b/helmcharts/learnbb/charts/print/configs/dummy.conf @@ -0,0 +1,4 @@ +name=sunbird +config={ + name=dummy + } diff --git a/helmcharts/learnbb/charts/print/configs/env.yaml b/helmcharts/learnbb/charts/print/configs/env.yaml new file mode 100644 index 0000000..29e2f5f --- /dev/null +++ b/helmcharts/learnbb/charts/print/configs/env.yaml @@ -0,0 +1,8 @@ +service_threads: "2" +sunbird_azure_account_name: "{{ .Values.global.azure_storage_account_name }}" +sunbird_azure_account_key: "{{ .Values.global.azure_storage_account_key }}" +sunbird_azure_container_name: "{{ .Values.global.azure_public_container_name }}" + +sunbird_pvt_azure_account_name: "{{ .Values.global.azure_storage_account_name }}" +sunbird_pvt_azure_account_key: "{{ .Values.global.azure_storage_account_key }}" +sunbird_pvt_azure_container_name: "{{ .Values.global.azure_private_container_name }}" diff --git a/helmcharts/learnbb/charts/print/configs/envoy/pol.rego b/helmcharts/learnbb/charts/print/configs/envoy/pol.rego new file mode 100644 index 0000000..9ce06a8 --- /dev/null +++ b/helmcharts/learnbb/charts/print/configs/envoy/pol.rego @@ -0,0 +1 @@ +# dummy diff --git a/helmcharts/learnbb/charts/print/configs/opa/pol.rego b/helmcharts/learnbb/charts/print/configs/opa/pol.rego new file mode 100644 index 0000000..9ce06a8 --- /dev/null +++ b/helmcharts/learnbb/charts/print/configs/opa/pol.rego @@ -0,0 +1 @@ +# dummy diff --git a/helmcharts/learnbb/charts/learner/templates/NOTES.txt b/helmcharts/learnbb/charts/print/templates/NOTES.txt similarity index 100% rename from helmcharts/learnbb/charts/learner/templates/NOTES.txt rename to helmcharts/learnbb/charts/print/templates/NOTES.txt diff --git a/helmcharts/learnbb/charts/learner/templates/_helpers.tpl b/helmcharts/learnbb/charts/print/templates/_helpers.tpl similarity index 100% rename from helmcharts/learnbb/charts/learner/templates/_helpers.tpl rename to helmcharts/learnbb/charts/print/templates/_helpers.tpl diff --git a/helmcharts/learnbb/charts/print/templates/configmap.yaml b/helmcharts/learnbb/charts/print/templates/configmap.yaml new file mode 100644 index 0000000..a510406 --- /dev/null +++ b/helmcharts/learnbb/charts/print/templates/configmap.yaml @@ -0,0 +1,80 @@ +{{- if .Values.configmap.enabled }} +apiVersion: v1 +kind: ConfigMap +metadata: + name: {{ include "common.names.fullname" . }} + labels: +{{ include "common.labels.standard" (dict "customLabels" .Values.commonLabels "context" $) | nindent 4 }} + {{- if .Values.commonAnnotations }} + annotations: +{{ include "common.tplvalues.render" (dict "value" .Values.commonAnnotations "context" $) | nindent 4 }} + {{- end }} +data: +{{- $currentScope := .}} +{{- range $path, $_ := .Files.Glob "configs/*" }} # Take only root level files (configs/*) for configmaps + {{- if ne $path "configs/env.yaml" }} # Skip env.yaml as configmap, as it's env file + {{ base $path | nindent 2 }}: |- + {{- with $currentScope }} + {{- $var := .Files.Get $path }} + {{- include "common.tplvalues.render" (dict "value" $var "context" $) | nindent 6 }} + {{- end }} + {{- end }} +{{- end }} +{{- end }} +--- +apiVersion: v1 +kind: ConfigMap +metadata: + name: {{ include "common.names.fullname" . }}-env + labels: +{{ include "common.labels.standard" (dict "customLabels" .Values.commonLabels "context" $) | nindent 4 }} + {{- if .Values.commonAnnotations }} + annotations: +{{ include "common.tplvalues.render" (dict "value" .Values.commonAnnotations "context" $) | nindent 4 }} + {{- end }} +data: + {{- $var := .Files.Get "configs/env.yaml" }} + {{- include "common.tplvalues.render" (dict "value" $var "context" $) | nindent 2 }} + +{{- if .Values.opa.enabled }} +--- +apiVersion: v1 +kind: ConfigMap +metadata: + name: {{ include "common.names.fullname" . }}-opa + labels: +{{ include "common.labels.standard" (dict "customLabels" .Values.commonLabels "context" $) | nindent 4 }} + {{- if .Values.commonAnnotations }} + annotations: +{{ include "common.tplvalues.render" (dict "value" .Values.commonAnnotations "context" $) | nindent 4 }} + {{- end }} +data: +{{- $currentScope := .}} +{{- range $path, $_ := .Files.Glob "configs/opa/**" }} + {{ base $path | nindent 2 }}: |- + {{- with $currentScope }} + {{- $var := .Files.Get $path }} + {{- include "common.tplvalues.render" (dict "value" $var "context" $) | nindent 6 }} + {{- end }} +{{- end }} +--- +apiVersion: v1 +kind: ConfigMap +metadata: + name: {{ include "common.names.fullname" . }}-envoy + labels: +{{ include "common.labels.standard" (dict "customLabels" .Values.commonLabels "context" $) | nindent 4 }} + {{- if .Values.commonAnnotations }} + annotations: +{{ include "common.tplvalues.render" (dict "value" .Values.commonAnnotations "context" $) | nindent 4 }} + {{- end }} +data: +{{- $currentScope := .}} +{{- range $path, $_ := .Files.Glob "configs/envoy/**" }} + {{ base $path | nindent 2 }}: |- + {{- with $currentScope }} + {{- $var := .Files.Get $path }} + {{- include "common.tplvalues.render" (dict "value" $var "context" $) | nindent 6 }} + {{- end }} +{{- end }} +{{- end }} diff --git a/helmcharts/learnbb/charts/print/templates/deployment.yaml b/helmcharts/learnbb/charts/print/templates/deployment.yaml new file mode 100644 index 0000000..1bbd7c9 --- /dev/null +++ b/helmcharts/learnbb/charts/print/templates/deployment.yaml @@ -0,0 +1,72 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + name: {{ include "common.names.fullname" . }} + labels: {{- include "common.labels.standard" ( dict "customLabels" .Values.commonLabels "context" $ ) | nindent 4 }} + {{- if .Values.commonAnnotations }} + annotations: {{- include "common.tplvalues.render" ( dict "value" .Values.commonAnnotations "context" $ ) | nindent 4 }} + {{- end }} +spec: + replicas: {{ .Values.replicaCount }} + selector: + matchLabels: + app.kubernetes.io/name: {{ include "common.names.name" . }} + template: + metadata: + labels: + app.kubernetes.io/name: {{ include "common.names.name" . }} + annotations: + checksum/config: {{ .Files.Glob "configs/*" | toYaml | sha256sum }} + spec: + serviceAccountName: {{ include "common.names.fullname" . }} + securityContext: + {{- toYaml .Values.podSecurityContext | nindent 8 }} + {{- with .Values.image.pullSecrets }} + imagePullSecrets: + {{- toYaml . | nindent 8 }} + {{- end }} + {{- with .Values.initContainers }} + initContainers: + {{- toYaml . | nindent 8 }} + {{- end }} + containers: + - name: {{ .Chart.Name }} + image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}" + imagePullPolicy: {{ .Values.image.pullPolicy }} + {{- if .Values.livenessProbe }} + livenessProbe: + {{- toYaml .Values.livenessProbe | nindent 12 }} + {{- end }} + {{- if .Values.readinessProbe }} + readinessProbe: + {{- toYaml .Values.readinessProbe | nindent 12 }} + {{- end }} + ports: + {{- range .Values.service.ports }} + - name: {{ .name }} + containerPort: {{ .targetPort }} + {{- end }} + resources: + {{- toYaml .Values.resources | nindent 12 }} + securityContext: + {{- toYaml .Values.securityContext | nindent 12 }} + envFrom: + - configMapRef: + name: {{ include "common.names.fullname" . }}-env + volumeMounts: + {{- if .Values.configmap.enabled }} + - name: config + mountPath: {{ .Values.configmap.mountPath }} + {{- end }} + {{- with .Values.sidecars }} + {{- toYaml . | nindent 8 }} + {{- end }} + volumes: + - name: env + configMap: + name: {{ include "common.names.fullname" . }}-env + {{- if .Values.configmap.enabled }} + - name: config + configMap: + name: {{ include "common.names.fullname" . }} + {{- end }} diff --git a/helmcharts/learnbb/charts/learner/templates/hpa.yaml b/helmcharts/learnbb/charts/print/templates/hpa.yaml similarity index 100% rename from helmcharts/learnbb/charts/learner/templates/hpa.yaml rename to helmcharts/learnbb/charts/print/templates/hpa.yaml diff --git a/helmcharts/learnbb/charts/learner/templates/ingress.yaml b/helmcharts/learnbb/charts/print/templates/ingress.yaml similarity index 100% rename from helmcharts/learnbb/charts/learner/templates/ingress.yaml rename to helmcharts/learnbb/charts/print/templates/ingress.yaml diff --git a/helmcharts/learnbb/charts/print/templates/service.yaml b/helmcharts/learnbb/charts/print/templates/service.yaml new file mode 100644 index 0000000..ddb7c61 --- /dev/null +++ b/helmcharts/learnbb/charts/print/templates/service.yaml @@ -0,0 +1,18 @@ +apiVersion: v1 +kind: Service +metadata: + name: {{ include "common.names.fullname" . }} + labels: {{- include "common.labels.standard" ( dict "customLabels" .Values.commonLabels "context" $ ) | nindent 4 }} + {{- if .Values.commonAnnotations }} + annotations: {{- include "common.tplvalues.render" ( dict "value" .Values.commonAnnotations "context" $ ) | nindent 4 }} + {{- end }} +spec: + type: {{ .Values.service.type }} + ports: + {{- range .Values.service.ports }} + - name: {{ .name }} + port: {{ .port }} + targetPort: {{ .targetPort }} + {{- end }} + selector: + app.kubernetes.io/name: {{ include "common.names.name" . }} diff --git a/helmcharts/learnbb/charts/learner/templates/serviceaccount.yaml b/helmcharts/learnbb/charts/print/templates/serviceaccount.yaml similarity index 100% rename from helmcharts/learnbb/charts/learner/templates/serviceaccount.yaml rename to helmcharts/learnbb/charts/print/templates/serviceaccount.yaml diff --git a/helmcharts/learnbb/charts/print/templates/servicemonitor.yaml b/helmcharts/learnbb/charts/print/templates/servicemonitor.yaml new file mode 100644 index 0000000..9930b8d --- /dev/null +++ b/helmcharts/learnbb/charts/print/templates/servicemonitor.yaml @@ -0,0 +1,20 @@ +{{- if .Values.serviceMonitor.enabled }} +apiVersion: monitoring.coreos.com/v1 +kind: ServiceMonitor +metadata: + name: {{ include "common.names.fullname" . }} + labels: {{- include "common.labels.standard" ( dict "customLabels" .Values.commonLabels "context" $ ) | nindent 4 }} + {{- if .Values.commonAnnotations }} + annotations: {{- include "common.tplvalues.render" ( dict "value" .Values.commonAnnotations "context" $ ) | nindent 4 }} + {{- end }} +spec: + jobLabel: {{ .Values.serviceMonitor.jobLabel }} + selector: + matchLabels: + {{- include "common.labels.standard" ( dict "customLabels" .Values.commonLabels "context" $ ) | nindent 6 }} + endpoints: + - port: http # the name of the port in your service, assuming the primary service port is named 'http' in this example. + interval: {{ .Values.serviceMonitor.interval }} + scrapeTimeout: {{ .Values.serviceMonitor.scrapeTimeout }} + honorLabels: {{ .Values.serviceMonitor.honorLabels }} +{{- end }} diff --git a/helmcharts/learnbb/charts/print/values.yaml b/helmcharts/learnbb/charts/print/values.yaml new file mode 100644 index 0000000..a311159 --- /dev/null +++ b/helmcharts/learnbb/charts/print/values.yaml @@ -0,0 +1,119 @@ +nameOverride: "" +fullnameOverride: "" + +replicaCount: 1 + +image: + repository: sunbirded.azurecr.io/print-service + tag: "release-3.0.0_RC1" + pullPolicy: IfNotPresent + pullSecrets: [] + +podAnnotations: {} + +podSecurityContext: + # runAsNonRoot: true + # runAsUser: 1001 + # fsGroup: 1001 + +securityContext: {} + # readOnlyRootFilesystem: false + # capabilities: + # drop: + # - ALL + +service: + type: ClusterIP + ports: + - name: http + port: 5000 + targetPort: 5000 + +ingress: {} + # enabled: false + # annotations: {} + # hosts: + # - host: chart-example.local + # paths: + # - / + +resources: + requests: + cpu: 100m + memory: 100Mi + limits: + cpu: 1 + memory: 1024Mi + +autoscaling: + enabled: false + minReplicas: 1 + maxReplicas: 100 + metrics: + - type: Resource + resource: + name: cpu + target: + type: Utilization + averageUtilization: 80 + - type: Resource + resource: + name: memory + target: + type: Utilization + averageUtilization: 80 + +livenessProbe: + initialDelaySeconds: 30 + periodSeconds: 10 + timeoutSeconds: 5 + failureThreshold: 6 + successThreshold: 1 + httpGet: + path: /health + port: 5000 + +readinessProbe: + initialDelaySeconds: 30 + periodSeconds: 10 + timeoutSeconds: 5 + failureThreshold: 6 + successThreshold: 1 + httpGet: + path: /health + port: 5000 + +nodeSelector: {} +tolerations: [] +affinity: {} + +configmap: + enabled: true + mountPath: /config + +serviceAccount: + create: true + name: "" + +serviceMonitor: + enabled: false + interval: 30s + scrapeTimeout: 10s + labels: {} # additional labels e.g. release: prometheus + honorLabels: true + jobLabel: "app.kubernetes.io/name" + +# Example values.yaml structure +initContainers: {} + # - name: init-myservice + # image: busybox:1.28 + # command: ['sh', '-c', "until nslookup kubernetes.$(cat /var/run/secrets/kubernetes.io/serviceaccount/namespace).svc.cluster.local; do echo waiting for myservice; sleep 2; done"] + +sidecars: {} + # - name: log-reader # Sidecar container + # image: busybox # Use another busybox image + # command: ["/bin/sh"] # Override the default command + # args: ["-c", "tail -f /var/log/app.log"] # Run a shell script that tails the log file + +opa: + enabled: false diff --git a/helmcharts/learnbb/charts/registry/values.yaml b/helmcharts/learnbb/charts/registry/values.yaml index 07e3709..f15d355 100644 --- a/helmcharts/learnbb/charts/registry/values.yaml +++ b/helmcharts/learnbb/charts/registry/values.yaml @@ -90,7 +90,7 @@ elastic_search_enabled: "true" search_provider: "dev.sunbirdrc.registry.service.ElasticSearchService" search_providerName: "dev.sunbirdrc.registry.service.ElasticSearchService" enable_external_templates: "true" -sign_ur: "http://certificatesign-service:8079/sign" +sign_url: "http://certificatesign-service:8079/sign" signature_enabled: "true" pdf_url: "http://certificateapi-service:8078/api/v1/certificatePDF" template_base_url: "http://registry-service:8081/api/v1/templates/" diff --git a/helmcharts/learnbb/charts/learner/Chart.lock b/helmcharts/learnbb/charts/userorg/Chart.lock similarity index 100% rename from helmcharts/learnbb/charts/learner/Chart.lock rename to helmcharts/learnbb/charts/userorg/Chart.lock diff --git a/helmcharts/learnbb/charts/learner/Chart.yaml b/helmcharts/learnbb/charts/userorg/Chart.yaml similarity index 88% rename from helmcharts/learnbb/charts/learner/Chart.yaml rename to helmcharts/learnbb/charts/userorg/Chart.yaml index bad8e42..e7bb5a8 100644 --- a/helmcharts/learnbb/charts/learner/Chart.yaml +++ b/helmcharts/learnbb/charts/userorg/Chart.yaml @@ -7,5 +7,5 @@ dependencies: description: A production-ready Helm chart for lms maintainers: - name: NimbusHub.in -name: learner -version: 0.1.0 \ No newline at end of file +name: userorg +version: 0.1.0 diff --git a/helmcharts/learnbb/charts/learner/charts/common-0.1.0.tgz b/helmcharts/learnbb/charts/userorg/charts/common-0.1.0.tgz similarity index 100% rename from helmcharts/learnbb/charts/learner/charts/common-0.1.0.tgz rename to helmcharts/learnbb/charts/userorg/charts/common-0.1.0.tgz diff --git a/helmcharts/learnbb/charts/learner/configs/env.yaml b/helmcharts/learnbb/charts/userorg/configs/env.yaml similarity index 90% rename from helmcharts/learnbb/charts/learner/configs/env.yaml rename to helmcharts/learnbb/charts/userorg/configs/env.yaml index 40de5aa..f28afde 100644 --- a/helmcharts/learnbb/charts/learner/configs/env.yaml +++ b/helmcharts/learnbb/charts/userorg/configs/env.yaml @@ -20,20 +20,20 @@ sunbird_installation: "{{ .Values.global.env }}" sunbird_analytics_api_base_url: "{{ .Values.sunbird_analytics_api_base_url }}" sunbird_search_service_api_base_url: "{{ .Values.sunbird_search_service_api_base_url }}" ekstep_api_base_url: "{{ .Values.learning_service_url }}" -sunbird_mail_server_host: "{{ .Values.mail_server_host }}" -sunbird_mail_server_port: "{{ .Values.mail_server_port }}" -sunbird_mail_server_username: "{{ .Values.mail_server_username }}" -sunbird_mail_server_password: "{{ .Values.mail_server_password }}" -sunbird_mail_server_from_email: "{{ .Values.mail_server_from_email }}" +sunbird_mail_server_host: "{{ .Values.global.mail_server_host }}" +sunbird_mail_server_port: "{{ .Values.global.mail_server_port }}" +sunbird_mail_server_username: "{{ .Values.global.mail_server_username }}" +sunbird_mail_server_password: "{{ .Values.global.mail_server_password }}" +sunbird_mail_server_from_email: "{{ .Values.global.mail_server_from_email }}" sunbird_encryption_key: "{{ .Values.global.random_string }}" sunbird_encryption_mode: "{{ .Values.sunbird_encryption_mode }}" sunbird_account_name: "{{ .Values.global.azure_storage_account_name }}" sunbird_account_key: "{{ .Values.global.azure_storage_account_key }}" sunbird_quartz_mode: "{{ .Values.sunbird_quartz_mode }}" sunbird_env_logo_url: "{{ .Values.sunbird_env_logo_url }}" -sunbird_web_url: "{{ .Values.global.domain }}" -sunbird_msg_91_auth: "{{ .Values.sunbird_msg_91_auth }}" -sunbird_msg_sender: "{{ .Values.sunbird_msg_sender }}" +sunbird_web_url: "https://{{.Values.global.domain}}/" +sunbird_msg_91_auth: "{{ .Values.global.sunbird_msg_91_auth }}" +sunbird_msg_sender: "{{ .Values.global.sunbird_msg_sender }}" sunbird_installation_email: "{{ .Values.sunbird_installation_email }}" sunbird_cassandra_host: "{{ .Values.global.cassandra.host }}" sunbird_cassandra_port: "{{ .Values.global.cassandra.port }}" @@ -94,11 +94,11 @@ ENV_NAME: "{{ .Values.global.env }}" notification_service_base_url: "{{ .Values.notification_service_base_url }}" feed_limit: "{{ .Values.feed_limit }}" accesstoken.publickey.basepath: "{{ .Values.keys_basepath }}" -google_captcha_private_key: "{{ .Values.google_captcha_private_key }}" +google_captcha_private_key: "{{ .Values.global.google_captcha_private_key }}" google_captcha_mobile_private_key: "{{ .Values.google_captcha_mobile_private_key }}" PORTAL_SERVICE_PORT: "{{ .Values.PORTAL_SERVICE_PORT }}" form_api_endpoint: "{{ .Values.form_api_endpoint }}" -learner_in_memory_cache_ttl: "{{ .Values.learner_in_memory_cache_ttl }}" +userorg_in_memory_cache_ttl: "{{ .Values.userorg_in_memory_cache_ttl }}" user_index_alias: "{{ .Values.user_index_alias }}" org_index_alias: "{{ .Values.org_index_alias }}" sunbird_installation_display_name_for_sms: "{{ .Values.sunbird_installation_display_name_for_sms }}" @@ -109,4 +109,4 @@ sunbird_cassandra_keyspace: "{{ .Values.sunbird_cassandra_keyspace }}" JAVA_OPTIONS: {{ .Values.java_options }} _JAVA_OPTIONS: {{ .Values.log4j_java_options }} sunbird_content_service_api_base_url: {{ .Values.sunbird_content_service_api_base_url | default "http://content-service:9000"}} -enable_captcha: "{{ .Values.enable_captcha }}" \ No newline at end of file +enable_captcha: "{{ .Values.enable_captcha }}" diff --git a/helmcharts/learnbb/charts/learner/configs/envoy/config.yaml b/helmcharts/learnbb/charts/userorg/configs/envoy/config.yaml similarity index 100% rename from helmcharts/learnbb/charts/learner/configs/envoy/config.yaml rename to helmcharts/learnbb/charts/userorg/configs/envoy/config.yaml diff --git a/helmcharts/learnbb/charts/learner/configs/opa/common.rego b/helmcharts/learnbb/charts/userorg/configs/opa/common.rego similarity index 100% rename from helmcharts/learnbb/charts/learner/configs/opa/common.rego rename to helmcharts/learnbb/charts/userorg/configs/opa/common.rego diff --git a/helmcharts/learnbb/charts/learner/configs/opa/main.rego b/helmcharts/learnbb/charts/userorg/configs/opa/main.rego similarity index 100% rename from helmcharts/learnbb/charts/learner/configs/opa/main.rego rename to helmcharts/learnbb/charts/userorg/configs/opa/main.rego diff --git a/helmcharts/learnbb/charts/learner/configs/opa/policies.rego b/helmcharts/learnbb/charts/userorg/configs/opa/policies.rego similarity index 100% rename from helmcharts/learnbb/charts/learner/configs/opa/policies.rego rename to helmcharts/learnbb/charts/userorg/configs/opa/policies.rego diff --git a/helmcharts/learnbb/charts/learner/configs/learner-service_logback.xml b/helmcharts/learnbb/charts/userorg/configs/userorg-service_logback.xml similarity index 100% rename from helmcharts/learnbb/charts/learner/configs/learner-service_logback.xml rename to helmcharts/learnbb/charts/userorg/configs/userorg-service_logback.xml diff --git a/helmcharts/learnbb/charts/learner/opa-tests/tests.rego b/helmcharts/learnbb/charts/userorg/opa-tests/tests.rego similarity index 100% rename from helmcharts/learnbb/charts/learner/opa-tests/tests.rego rename to helmcharts/learnbb/charts/userorg/opa-tests/tests.rego diff --git a/helmcharts/learnbb/charts/userorg/templates/NOTES.txt b/helmcharts/learnbb/charts/userorg/templates/NOTES.txt new file mode 100644 index 0000000..e69de29 diff --git a/helmcharts/learnbb/charts/userorg/templates/_helpers.tpl b/helmcharts/learnbb/charts/userorg/templates/_helpers.tpl new file mode 100644 index 0000000..e69de29 diff --git a/helmcharts/learnbb/charts/learner/templates/configmap.yaml b/helmcharts/learnbb/charts/userorg/templates/configmap.yaml similarity index 100% rename from helmcharts/learnbb/charts/learner/templates/configmap.yaml rename to helmcharts/learnbb/charts/userorg/templates/configmap.yaml diff --git a/helmcharts/learnbb/charts/learner/templates/deployment.yaml b/helmcharts/learnbb/charts/userorg/templates/deployment.yaml similarity index 100% rename from helmcharts/learnbb/charts/learner/templates/deployment.yaml rename to helmcharts/learnbb/charts/userorg/templates/deployment.yaml diff --git a/helmcharts/learnbb/charts/userorg/templates/hpa.yaml b/helmcharts/learnbb/charts/userorg/templates/hpa.yaml new file mode 100644 index 0000000..cc4a976 --- /dev/null +++ b/helmcharts/learnbb/charts/userorg/templates/hpa.yaml @@ -0,0 +1,19 @@ +{{- if .Values.autoscaling.enabled }} +apiVersion: autoscaling/v2 +kind: HorizontalPodAutoscaler +metadata: + name: {{ include "common.names.fullname" . }} + labels: {{- include "common.labels.standard" ( dict "customLabels" .Values.commonLabels "context" $ ) | nindent 4 }} + {{- if .Values.commonAnnotations }} + annotations: {{- include "common.tplvalues.render" ( dict "value" .Values.commonAnnotations "context" $ ) | nindent 4 }} + {{- end }} +spec: + scaleTargetRef: + apiVersion: apps/v1 + kind: Deployment + name: {{ include "common.names.fullname" . }} + minReplicas: {{ .Values.autoscaling.minReplicas }} + maxReplicas: {{ .Values.autoscaling.maxReplicas }} + metrics: + {{- toYaml .Values.autoscaling.metrics | nindent 4 }} +{{- end }} diff --git a/helmcharts/learnbb/charts/userorg/templates/ingress.yaml b/helmcharts/learnbb/charts/userorg/templates/ingress.yaml new file mode 100644 index 0000000..67a9adf --- /dev/null +++ b/helmcharts/learnbb/charts/userorg/templates/ingress.yaml @@ -0,0 +1,23 @@ +{{- if .Values.ingress.enabled }} +apiVersion: networking.k8s.io/v1 +kind: Ingress +metadata: + name: {{ include "common.names.fullname" . }} + annotations: + {{- toYaml .Values.ingress.annotations | nindent 4 }} +spec: + rules: + {{- range .Values.ingress.hosts }} + - host: {{ .host }} + http: + paths: + {{- range .paths }} + - path: {{ . }} + backend: + service: + name: {{ include "common.names.fullname" $ }} + port: + name: http + {{- end }} + {{- end }} +{{- end }} diff --git a/helmcharts/learnbb/charts/learner/templates/service.yaml b/helmcharts/learnbb/charts/userorg/templates/service.yaml similarity index 100% rename from helmcharts/learnbb/charts/learner/templates/service.yaml rename to helmcharts/learnbb/charts/userorg/templates/service.yaml diff --git a/helmcharts/learnbb/charts/userorg/templates/serviceaccount.yaml b/helmcharts/learnbb/charts/userorg/templates/serviceaccount.yaml new file mode 100644 index 0000000..85bd4fd --- /dev/null +++ b/helmcharts/learnbb/charts/userorg/templates/serviceaccount.yaml @@ -0,0 +1,6 @@ +{{- if .Values.serviceAccount.create }} +apiVersion: v1 +kind: ServiceAccount +metadata: + name: {{ include "common.names.fullname" . }} +{{- end }} diff --git a/helmcharts/learnbb/charts/learner/templates/servicemonitor.yaml b/helmcharts/learnbb/charts/userorg/templates/servicemonitor.yaml similarity index 100% rename from helmcharts/learnbb/charts/learner/templates/servicemonitor.yaml rename to helmcharts/learnbb/charts/userorg/templates/servicemonitor.yaml diff --git a/helmcharts/learnbb/charts/learner/values.yaml b/helmcharts/learnbb/charts/userorg/values.yaml similarity index 94% rename from helmcharts/learnbb/charts/learner/values.yaml rename to helmcharts/learnbb/charts/userorg/values.yaml index c620729..4354e39 100644 --- a/helmcharts/learnbb/charts/learner/values.yaml +++ b/helmcharts/learnbb/charts/userorg/values.yaml @@ -1,10 +1,10 @@ -fullnameOverride: "learner" +fullnameOverride: "userorg" replicaCount: 1 image: - repository: sunbirded.azurecr.io/learner_service - tag: "release-5.3.1_RC1_c4b5066_31" + repository: sunbirded.azurecr.io/userorg-service + tag: "release-7.0.0_RC5_0d513be_31" pullPolicy: IfNotPresent pullSecrets: [] @@ -89,7 +89,7 @@ affinity: {} configmap: enabled: true - mountPath: /home/sunbird/learner/learning-service-1.0-SNAPSHOT/config + mountPath: /home/sunbird/userorg-service-1.0-SNAPSHOT/config commonAnnotations: reloader.stakater.com/auto: "true" @@ -140,7 +140,7 @@ learner_in_memory_cache_ttl: "600" user_index_alias: "user_alias" org_index_alias: "org_alias" sunbird_reset_pass_msg: "You have requested to reset password. Click on the link to set a password:" -sunbird_mw_system_host: "learner-service" +sunbird_mw_system_host: "userorg-service" sunbird_telemetry_base_url: "http://telemetry-service:9001" telemetry_queue_threshold_value: "100" sunbird_cs_search_path: "/v1/content/search" @@ -154,7 +154,7 @@ sunbird_keycloak_required_action_link_expiration_seconds: 2592000 sunbird_user_profile_field_default_visibility: private sunbird_email_max_recipients_limit: 100 sunbird_url_shortner_enable: false -telemetry_pdata_pid: learner-service +telemetry_pdata_pid: userorg-service api_actor_provider: local background_actor_provider: local sunbird_mw_system_port: 8088 @@ -179,7 +179,7 @@ notification_service_base_url: "http://notification-service:9000" keys_basepath: "/keys/" PORTAL_SERVICE_PORT: "http://player:3000" sunbird_installation_display_name_for_sms: "Sunbird" -sunbird_sso_lb_ip: "" +sunbird_sso_lb_ip: http://keycloak:8080/ sunbird_cloud_service_provider: "azure" isMultiDCEnabled: "false" java_options: -Xmx600m @@ -231,4 +231,4 @@ init_container_resources: memory: "100Mi" limits: cpu: "1" - memory: "1024Mi" \ No newline at end of file + memory: "1024Mi" diff --git a/helmcharts/learnbb/values.yaml b/helmcharts/learnbb/values.yaml index 80b8995..50534af 100644 --- a/helmcharts/learnbb/values.yaml +++ b/helmcharts/learnbb/values.yaml @@ -1,9 +1,9 @@ -devops_release_branch: release-6.0.0 +devops_release_branch: release-7.0.0 postgres_migration_image: bitnami/postgresql:11.14.0-debian-10-r49 cassandra_migration_version: release-5.3.0 certregistry: opa_enabled: true -learner: +userorg: opa_enabled: true lms: opa_enabled: true diff --git a/helmcharts/monitoring/charts/kube-prometheus-stack/charts/dashboards/dashboards/service-memory.json b/helmcharts/monitoring/charts/kube-prometheus-stack/charts/dashboards/dashboards/service-memory.json index 2b046ed..aa9bf99 100644 --- a/helmcharts/monitoring/charts/kube-prometheus-stack/charts/dashboards/dashboards/service-memory.json +++ b/helmcharts/monitoring/charts/kube-prometheus-stack/charts/dashboards/dashboards/service-memory.json @@ -225,7 +225,7 @@ "steppedLine": false, "targets": [ { - "expr": "max(container_memory_usage_bytes{container_label_com_docker_swarm_service_name=~\"learner-service\"})", + "expr": "max(container_memory_usage_bytes{container_label_com_docker_swarm_service_name=~\"userorg-service\"})", "format": "time_series", "intervalFactor": 2, "refId": "A", @@ -236,7 +236,7 @@ "timeFrom": null, "timeRegions": [], "timeShift": null, - "title": "learner-service", + "title": "userorg-service", "tooltip": { "shared": true, "sort": 0, diff --git a/helmcharts/monitoring/charts/kube-prometheus-stack/values.yaml b/helmcharts/monitoring/charts/kube-prometheus-stack/values.yaml index 444efe6..6850645 100644 --- a/helmcharts/monitoring/charts/kube-prometheus-stack/values.yaml +++ b/helmcharts/monitoring/charts/kube-prometheus-stack/values.yaml @@ -2443,13 +2443,13 @@ prometheusOperator: enableProbe: false # resource config for prometheusConfigReloader - resources: {} - # requests: - # cpu: 200m - # memory: 50Mi - # limits: - # cpu: 200m - # memory: 50Mi + resources: + requests: + cpu: 200m + memory: 50Mi + limits: + cpu: 200m + memory: 50Mi ## Thanos side-car image when configured ## @@ -4226,8 +4226,8 @@ prometheus-blackbox-exporter: - name: knowledgemw url: "http://knowledge-mw-service:5000/service/health" module: http_2xx - - name: learner - url: "http://learner-service:9000/service/health" + - name: userorg + url: "http://userorg-service:9000/service/health" module: http_2xx - name: dial url: "http://dial-service:9000/health" @@ -4285,4 +4285,4 @@ prometheus-blackbox-exporter: module: http_2xx - name: search url: "http://search-service:9000/health" - module: http_2xx \ No newline at end of file + module: http_2xx diff --git a/helmcharts/monitoring/charts/loki/values.yaml b/helmcharts/monitoring/charts/loki/values.yaml index 5a2eb06..ccc44f7 100644 --- a/helmcharts/monitoring/charts/loki/values.yaml +++ b/helmcharts/monitoring/charts/loki/values.yaml @@ -708,7 +708,13 @@ monitoring: # -- Environment variables from secrets or configmaps to add to the canary pods extraEnvFrom: [] # -- Resource requests and limits for the canary - resources: {} + resources: + limits: + cpu: 0.1 + memory: 256Mi + requests: + cpu: 0.1 + memory: 128Mi # -- DNS config for canary pods dnsConfig: {} # -- Node selector for canary pods @@ -737,7 +743,7 @@ monitoring: # Configuration for the write pod(s) write: # -- Number of replicas for the write - replicas: 3 + replicas: 1 autoscaling: # -- Enable autoscaling for the write. enabled: false @@ -811,7 +817,13 @@ write: # -- volumeClaimTemplates to add to StatefulSet extraVolumeClaimTemplates: [] # -- Resource requests and limits for the write - resources: {} + resources: + limits: + cpu: 512m + memory: 1024Mi + requests: + cpu: 256m + memory: 512Mi # -- Grace period to allow the write to shutdown before it is killed. Especially for the ingester, # this must be increased. It must be long enough so writes can be gracefully shutdown flushing/transferring # all data and to successfully leave the member ring on shutdown. @@ -924,7 +936,7 @@ tableManager: # Configuration for the read pod(s) read: # -- Number of replicas for the read - replicas: 3 + replicas: 1 autoscaling: # -- Enable autoscaling for the read, this is only used if `queryIndex.enabled: true` enabled: false @@ -991,7 +1003,13 @@ read: # -- Volumes to add to the read pods extraVolumes: [] # -- Resource requests and limits for the read - resources: {} + resources: + limits: + cpu: 512m + memory: 1024Mi + requests: + cpu: 256m + memory: 512Mi # -- Grace period to allow the read to shutdown before it is killed terminationGracePeriodSeconds: 30 # -- Affinity for read pods. Passed through `tpl` and, thus, to be configured as string @@ -1123,7 +1141,7 @@ backend: dataVolumeParameters: emptyDir: {} # -- Enable StatefulSetAutoDeletePVC feature - enableStatefulSetAutoDeletePVC: true + enableStatefulSetAutoDeletePVC: false # -- Size of persistent disk size: 10Gi # -- Storage class to be used. @@ -1188,7 +1206,13 @@ singleBinary: # -- Volumes to add to the single binary pods extraVolumes: [] # -- Resource requests and limits for the single binary - resources: {} + resources: + limits: + cpu: 0.5 + memory: 1024Mi + requests: + cpu: 0.5 + memory: 128Mi # -- Grace period to allow the single binary to shutdown before it is killed terminationGracePeriodSeconds: 30 # -- Affinity for single binary pods. Passed through `tpl` and, thus, to be configured as string @@ -1352,7 +1376,13 @@ gateway: - ALL allowPrivilegeEscalation: false # -- Resource requests and limits for the gateway - resources: {} + resources: + limits: + cpu: 0.1 + memory: 256Mi + requests: + cpu: 0.1 + memory: 128Mi # -- Containers to add to the gateway pods extraContainers: [] # -- Grace period to allow the gateway to shutdown before it is killed @@ -1532,8 +1562,11 @@ minio: persistence: size: 5Gi resources: + limits: + cpu: 0.1 + memory: 256Mi requests: - cpu: 100m + cpu: 0.1 memory: 128Mi # Create extra manifests via values. Would be passed through `tpl` for templating extraObjects: [] diff --git a/helmcharts/monitoring/charts/postgresql-backup/values.yaml b/helmcharts/monitoring/charts/postgresql-backup/values.yaml index 9ff3ee6..0ebc577 100644 --- a/helmcharts/monitoring/charts/postgresql-backup/values.yaml +++ b/helmcharts/monitoring/charts/postgresql-backup/values.yaml @@ -30,7 +30,7 @@ PGPASSWORD: "postgres" AZURE_STORAGE_ACCOUNT: "" AZURE_KEY: "" CLOUD_SERVICE: "azure" -azure_backups_container_name: "backups" +azure_backups_container_name: "{{ .Values.global.azure_backups_container_name }}" postgresql: &postgresql enabled: true diff --git a/helmcharts/monitoring/charts/promtail/values.yaml b/helmcharts/monitoring/charts/promtail/values.yaml index b483599..a013133 100644 --- a/helmcharts/monitoring/charts/promtail/values.yaml +++ b/helmcharts/monitoring/charts/promtail/values.yaml @@ -145,13 +145,13 @@ readinessProbe: timeoutSeconds: 1 # -- Resource requests and limits -resources: {} -# limits: -# cpu: 200m -# memory: 128Mi -# requests: -# cpu: 100m -# memory: 128Mi +resources: + limits: + cpu: 200m + memory: 128Mi + requests: + cpu: 100m + memory: 128Mi # -- The security context for pods podSecurityContext: @@ -609,13 +609,13 @@ sidecar: # -- Liveness probe for sidecar config-reloader livenessProbe: {} # -- Resource requests and limits for sidecar config-reloader - resources: {} - # limits: - # cpu: 200m - # memory: 128Mi - # requests: - # cpu: 100m - # memory: 128Mi + resources: + limits: + cpu: 200m + memory: 128Mi + requests: + cpu: 100m + memory: 128Mi config: # -- The port of the config-reloader server serverPort: 9533 diff --git a/helmcharts/monitoring/charts/redis-backup/values.yaml b/helmcharts/monitoring/charts/redis-backup/values.yaml index 72cb7ed..75c4a9c 100644 --- a/helmcharts/monitoring/charts/redis-backup/values.yaml +++ b/helmcharts/monitoring/charts/redis-backup/values.yaml @@ -25,7 +25,7 @@ restartPolicy: "OnFailure" CRON_SCHEDULE: '"00 00 * * *"' REDIS_MASTER_POD: "redis-master-0" -azure_backups_container_name: "backups" +azure_backups_container_name: "{{ .Values.global.azure_backups_container_name }}" global: azure_storage_account_name: your_storage_account_name diff --git a/helmcharts/monitoring/charts/reloader/values.yaml b/helmcharts/monitoring/charts/reloader/values.yaml index 8ed135e..c8d33b6 100644 --- a/helmcharts/monitoring/charts/reloader/values.yaml +++ b/helmcharts/monitoring/charts/reloader/values.yaml @@ -135,7 +135,13 @@ reloader: # requests: # cpu: "10m" # memory: "128Mi" - resources: {} + resources: + requests: + cpu: 100m + memory: 100Mi + limits: + cpu: 1 + memory: 1G pod: annotations: {} priorityClassName: "" diff --git a/helmcharts/obsrvbb/Chart.yaml b/helmcharts/obsrvbb/Chart.yaml index 8f6d558..ee63247 100644 --- a/helmcharts/obsrvbb/Chart.yaml +++ b/helmcharts/obsrvbb/Chart.yaml @@ -49,4 +49,7 @@ dependencies: condition: spark.enabled - name: postgresql condition: postgresql.enabled - version: 10.16.3 \ No newline at end of file + version: 10.16.3 + - name: superset + version: 0.1.0 + condition: superset.enabled \ No newline at end of file diff --git a/helmcharts/obsrvbb/charts/analytics/values.yaml b/helmcharts/obsrvbb/charts/analytics/values.yaml index cd6ee06..33526ee 100644 --- a/helmcharts/obsrvbb/charts/analytics/values.yaml +++ b/helmcharts/obsrvbb/charts/analytics/values.yaml @@ -4,7 +4,7 @@ replicaCount: 1 image: registry: sunbirded.azurecr.io repository: sunbird-analytics-service - tag: release-5.1.0_RC2_a7544a4_12 + tag: release-5.1.3_RC1_fc5578f_16 imagePullSecrets: "" podAnnotations: {} @@ -113,11 +113,11 @@ postgres_table_report_config_name: "dev_report_config" postgres_table_job_request_name: "dev_job_request" postgres_table_experiment_definition_name: "dev_experiment_definition" postgres_table_dataset_metadata_name: "dev_dataset_metadata" -user_profile_read_url: "http://learner-service:9000/v1/user/read/" -org_search_url: "http://learner-service:9000/v1/org/search" +user_profile_read_url: "http://userorg-service:9000/v1/user/read/" +org_search_url: "http://userorg-service:9000/v1/org/search" dataexhaust_super_admin_channel: "sunbird" exhaust_api_consumer_ids: exhaust_api_consumer_ids -channel_data_exhaust_bucket: "telemetry-data-store" +channel_data_exhaust_bucket: "{{ .Values.global.azure_telemetry_container_name }}" public_data_exhaust_bucket: "datasets" proxy_server_name: proxy_server_name # TODO check with the team if its needed. In staging this url doesn't exists public_exhaust_datasets: ['public-data-exhaust'] @@ -173,4 +173,4 @@ init_container_resources: opa_enabled: false commonAnnotations: - reloader.stakater.com/auto: "true" \ No newline at end of file + reloader.stakater.com/auto: "true" diff --git a/helmcharts/obsrvbb/charts/cronjob/templates/spark-cronjob.yaml b/helmcharts/obsrvbb/charts/cronjob/templates/spark-cronjob.yaml index 540f9f1..a98d161 100644 --- a/helmcharts/obsrvbb/charts/cronjob/templates/spark-cronjob.yaml +++ b/helmcharts/obsrvbb/charts/cronjob/templates/spark-cronjob.yaml @@ -361,3 +361,47 @@ spec: restartPolicy: OnFailure serviceAccountName: spark-cronjob-sa + +--- +apiVersion: batch/v1 +kind: CronJob +metadata: + name: druid-report-processor + labels: + app: druid-report-processor +spec: + schedule: "30 3 * * *" + concurrencyPolicy: Allow + successfulJobsHistoryLimit: 3 + failedJobsHistoryLimit: 1 + jobTemplate: + spec: + template: + spec: + containers: + - name: druid-report-processor + image: bitnami/kubectl:1.28.4 + imagePullPolicy: IfNotPresent + command: + - /bin/sh + - -c + - | + SPARK_POD=spark-master-0 + kubectl exec -it $SPARK_POD -- bash -c "python3 /data/analytics/scripts/druid-report-processor.py" + env: + - name: SPARK_HOME + value: "/data/analytics/spark-3.1.3-bin-hadoop2.7" + - name: MODELS_HOME + value: "/data/analytics/models-2.0" + - name: DP_LOGS + value: "/data/analytics/logs/data-products" + - name: KAFKA_HOME + value: "/opt/bitnami/kafka_2.12-2.8.0" + - name: KAFKA_TOPIC + value: "{{ .Values.global.kafka.topics.analytics_job_queue }}" + - name: KAFKA_BOOTSTRAP_SERVERS + value: "kafka:9092" + - name: KAFKA_CONSUMER_GROUP + value: "druid-report-processor-group" + restartPolicy: OnFailure + serviceAccountName: spark-cronjob-sa \ No newline at end of file diff --git a/helmcharts/obsrvbb/charts/dataproducts/configs/common.conf b/helmcharts/obsrvbb/charts/dataproducts/configs/common.conf index 59018bc..5f3356f 100644 --- a/helmcharts/obsrvbb/charts/dataproducts/configs/common.conf +++ b/helmcharts/obsrvbb/charts/dataproducts/configs/common.conf @@ -146,7 +146,7 @@ lp.system.update.base.url="{{ .Values.lp_url }}/system/v3/content/update" #Experiment Configuration -user.search.api.url="{{ .Values.sunbird_learner_service_url }}/private/user/v1/search" +user.search.api.url="{{ .Values.sunbird_userorg_service_url }}/private/user/v1/search" user.search.limit="10000" # pipeline auditing diff --git a/helmcharts/obsrvbb/charts/dataproducts/configs/druid-report-processor.py b/helmcharts/obsrvbb/charts/dataproducts/configs/druid-report-processor.py new file mode 100644 index 0000000..7341eb4 --- /dev/null +++ b/helmcharts/obsrvbb/charts/dataproducts/configs/druid-report-processor.py @@ -0,0 +1,137 @@ +#!/usr/bin/env python3 + +import json +import os +import subprocess +import time +from kafka import KafkaConsumer +from datetime import datetime +import logging + + +os.environ['SPARK_HOME'] = '/data/analytics/spark-3.1.3-bin-hadoop2.7' +os.environ['MODELS_HOME'] = '/data/analytics/models-2.0' +os.environ['KAFKA_HOME'] = '/opt/bitnami/kafka_2.12-2.8.0' +os.environ['KAFKA_TOPIC'] = '{}.druid.report.job_queue'.format(os.getenv('ENV', 'dev')) +os.environ['KAFKA_BOOTSTRAP_SERVERS'] = 'kafka:9092' +os.environ['DP_LOGS'] = '/data/analytics/logs/data-products' + +print('Starting Druid report processor...') +print('environment variables', os.environ) + +# Setup logging +logging.basicConfig( + level=logging.INFO, + format='%(asctime)s - %(levelname)s - %(message)s', + handlers=[ + logging.FileHandler(os.path.join(os.getenv('DP_LOGS', ''), 'druid_processor.log')), + logging.StreamHandler() + ] +) +logger = logging.getLogger(__name__) + + + +KAFKA_TOPIC = os.getenv('KAFKA_TOPIC') +KAFKA_BOOTSTRAP_SERVERS = os.getenv('KAFKA_BOOTSTRAP_SERVERS') +SPARK_HOME = os.getenv('SPARK_HOME') +MODELS_HOME = os.getenv('MODELS_HOME') +KAFKA_HOME = os.getenv('KAFKA_HOME') + + +def get_kafka_consumer(): + """Initialize and return Kafka consumer""" + return KafkaConsumer( + KAFKA_TOPIC, + bootstrap_servers=KAFKA_BOOTSTRAP_SERVERS, + value_deserializer=lambda x: json.loads(x.decode('utf-8')), + auto_offset_reset='earliest', + enable_auto_commit=False, + consumer_timeout_ms=30000, # 30 seconds timeout + group_id=os.getenv('KAFKA_CONSUMER_GROUP', 'druid-report-processor-group') + ) + +def submit_spark_job(config_json): + """Submit Spark job and wait for completion""" + cmd = [ + f"{SPARK_HOME}/bin/spark-submit", + "--master", "local[*]", + "--class", "org.ekstep.analytics.job.JobExecutor", + "--jars", f"/data/analytics/models-2.0/lib/*,/data/analytics/models-2.0/analytics-framework-2.0.jar,/data/analytics/models-2.0/scruid_2.12-2.5.0.jar,/data/analytics/models-2.0/batch-models-2.0.jar", + f"/data/analytics/models-2.0/batch-models-2.0.jar", + "--model", "druid_reports", + "--config", json.dumps(config_json) + ] + + logger.info(f"Submitting Spark job with config: {config_json}") + + try: + process = subprocess.Popen( + cmd, + stdout=subprocess.PIPE, + stderr=subprocess.PIPE, + universal_newlines=True + ) + + stdout, stderr = process.communicate() + + if process.returncode == 0: + logger.info("Spark job completed successfully") + else: + logger.error(f"Spark job failed with return code {process.returncode}") + logger.error(f"stderr: {stderr}") + + return process.returncode == 0 + except Exception as e: + logger.error(f"Error submitting Spark job: {str(e)}") + return False + +def process_events(): + """Main function to process Kafka events""" + consumer = get_kafka_consumer() + logger.info("Started consuming from Kafka topic") + + try: + message_processed = False + for message in consumer: + message_processed = True + logger.info(f"Received message: {message.value}") + event = message.value + + # Log the model type for debugging + model_type = event.get('model') + logger.info(f"Event model type: {model_type}") + + # Check if the event is for druid_reports + if model_type == 'druid_reports': + logger.info("Received druid_reports event") + + # Extract config from event and submit the Spark job + config = event.get('config') + if config: + success = submit_spark_job(config) + + if success: + consumer.commit() # Commit offset only if job succeeds + logger.info("Successfully processed event and committed offset") + else: + logger.error("Failed to process event, will retry on next run") + break + else: + logger.error("Event missing config field") + consumer.commit() # Commit invalid events to avoid getting stuck + else: + logger.info(f"Skipping event with model type: {model_type}") + consumer.commit() # Commit offset for non-matching events + + if not message_processed: + logger.info("No messages available to process. Exiting.") + except Exception as e: + logger.error(f"Error processing events: {str(e)}") + logger.exception("Full traceback:") + finally: + consumer.close() + +if __name__ == "__main__": + logger.info("Starting Druid Processor Service") + process_events() \ No newline at end of file diff --git a/helmcharts/obsrvbb/charts/dataproducts/configs/druid-report-submitter.py b/helmcharts/obsrvbb/charts/dataproducts/configs/druid-report-submitter.py new file mode 100644 index 0000000..76122f5 --- /dev/null +++ b/helmcharts/obsrvbb/charts/dataproducts/configs/druid-report-submitter.py @@ -0,0 +1,160 @@ +#!/usr/bin/env python3 + +""" +Script to submit druid report jobs. +""" + +import os +import sys +import json +import requests +import argparse +from datetime import date +from kafka import KafkaProducer +from kafka.errors import KafkaError + +# Common config functions +def init_config(): + """Initialize common configuration""" + return { + "kafka_metrics_topic": "telemetry.metrics", + "kafka_job_queue": "{}.druid.report.job_queue" + } + +# Kafka utility functions +def get_producer(broker_host): + """Get Kafka producer instance""" + return KafkaProducer(bootstrap_servers=[broker_host]) + +def send(broker_host, topic, msg): + """Send message to Kafka topic""" + producer = get_producer(broker_host) + result = producer.send(topic, msg.encode('utf-8')) + try: + record_metadata = result.get(timeout=10) + except KafkaError: + print('Error sending message to Kafka') + pass + +def push_metrics(broker_host, topic, metric): + """Push metrics to Kafka""" + jd = json.dumps(metric) + send(broker_host, topic, jd) + pass + +def get_config(): + """Initialize configuration""" + env = os.getenv("ENV", "dev") + config = init_config() + kafka_broker = os.getenv("KAFKA_BROKER_HOST", "localhost:9092") + kafka_topic = config["kafka_job_queue"].format(env) + return env, kafka_broker, kafka_topic + +def get_active_jobs(report_search_base_url, auth_token): + """Fetch active jobs from the API""" + url = "{}report/jobs".format(report_search_base_url) + payload = """{"request": {"filters": {"status": ["ACTIVE"]}}}""" + headers = { + 'content-type': "application/json; charset=utf-8", + 'cache-control': "no-cache", + 'Authorization': "Bearer " + auth_token + } + response = requests.request("POST", url, data=payload, headers=headers) + print('Active report configurations fetched from the API') + return response.json()['result']['reports'] + +def deactivate_job(report_search_base_url, auth_token, report_id): + """Deactivate a specific job""" + url = ("{}report/jobs/deactivate/"+report_id).format(report_search_base_url) + headers = { + 'cache-control': "no-cache", + 'Authorization': "Bearer " + auth_token + } + response = requests.request("POST", url, headers=headers) + return response + +def interpolate_config(report_config, replace_list): + """Interpolate configuration with replacement values""" + report_config_str = json.dumps(report_config) + for item in replace_list: + report_config_str = report_config_str.replace(item["key"], item["value"]) + print('String interpolation for the report config completed') + return report_config_str + +def check_schedule(report_schedule, report_id, interval_slider, deactivate_func): + """Check if the report should be scheduled based on its configuration""" + if report_schedule == 'DAILY': + return True + elif report_schedule == 'WEEKLY': + interval_slider = int(interval_slider) if interval_slider is not None else 0 + if interval_slider < 7 and interval_slider >= 0 and date.today().weekday() == interval_slider: + return True + elif report_schedule == 'MONTHLY': + interval_slider = int(interval_slider) + 1 if interval_slider is not None else 1 + if interval_slider < 21 and interval_slider > 0 and date.today().day == interval_slider: + return True + elif report_schedule == 'ONCE': + deactivate_func(report_id) + return True + else: + return False + +def submit_job(report_config, kafka_broker, kafka_topic): + """Submit job to Kafka""" + report_config = json.loads(report_config) + report_id = report_config['reportConfig']['id'] + submit_config = json.loads("""{"model":"druid_reports", "config":{"search":{"type":"none"},"model":"org.ekstep.analytics.model.DruidQueryProcessingModel","output":[{"to":"console","params":{"printEvent":false}}],"parallelization":8,"appName":"Druid Query Processor","deviceMapping":false}}""") + submit_config['config']['modelParams'] = report_config + submit_config['config']['modelParams']['modelName'] = report_id + "_job" + send(kafka_broker, kafka_topic, json.dumps(submit_config)) + print('Job submitted to the job manager with config - ', submit_config) + return + +def process_druid_reports(report_search_base_url, auth_token, replace_list="""[{"key":"__store__","value":"azure"},{"key":"__container__","value":"reports"}]"""): + """Main function to process and submit druid reports""" + print('Starting the job submitter...') + + # Get configuration + env, kafka_broker, kafka_topic = get_config() + replace_list = json.loads(replace_list) + + # Get active jobs + reports = get_active_jobs(report_search_base_url, auth_token) + + # Process each report + for report in reports: + try: + deactivate_func = lambda report_id: deactivate_job(report_search_base_url, auth_token, report_id) + if check_schedule( + report['reportSchedule'].upper(), + report['reportId'], + report['config']['reportConfig']['dateRange'].get('intervalSlider'), + deactivate_func + ): + report_config = interpolate_config(report['config'], replace_list) + submit_job(report_config, kafka_broker, kafka_topic) + except Exception as e: + print('ERROR::While submitting druid report', report['reportId']) + + print('Job submission completed...') + +if __name__ == "__main__": + parser = argparse.ArgumentParser(description='Submit Druid report jobs') + parser.add_argument('--report_list_jobs_url', required=True, help='Base URL for report jobs API') + parser.add_argument('--auth_token', required=True, help='Authentication token') + parser.add_argument('--replace_list', default="""[{"key":"__store__","value":"azure"},{"key":"__container__","value":"reports"}]""", + help='JSON string for replacement configurations') + + args = parser.parse_args() + process_druid_reports(args.report_list_jobs_url, args.auth_token, args.replace_list) + +""" +Example usage: + +1. Direct Python call: +python druid_report_submitter.py --report_list_jobs_url "https:///api/data/v1/" --auth_token "" + +2. Using bash command (existing usage): +source /data/analytics/venv/bin/activate && python druid_report_submitter.py --report_list_jobs_url "https:///api/data/v1/" --auth_token "" + +""" \ No newline at end of file diff --git a/helmcharts/obsrvbb/charts/dataproducts/configs/log4j2.xml b/helmcharts/obsrvbb/charts/dataproducts/configs/log4j2.xml index f0afa80..866bfd8 100644 --- a/helmcharts/obsrvbb/charts/dataproducts/configs/log4j2.xml +++ b/helmcharts/obsrvbb/charts/dataproducts/configs/log4j2.xml @@ -1,54 +1,54 @@ - - - - /data/analytics/logs - /data/analytics/logs/data-products - - - - - - - - %m%n - - - - - - - - - - - - - - %m%n - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + /data/analytics/logs + /data/analytics/logs/data-products + + + + + + + + %m%n + + + + + + + + + + + + + + %m%n + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/helmcharts/obsrvbb/charts/dataproducts/configs/model-config.sh b/helmcharts/obsrvbb/charts/dataproducts/configs/model-config.sh index 23b405b..a0dab6f 100644 --- a/helmcharts/obsrvbb/charts/dataproducts/configs/model-config.sh +++ b/helmcharts/obsrvbb/charts/dataproducts/configs/model-config.sh @@ -61,7 +61,7 @@ config() { echo '{"search":{"type":"azure","queries":[{"bucket":"'$bucket'","prefix":"unique/raw/","endDate":"'$endDate'","delta":0}]},"filters":[{"name":"eid","operator":"EQ","value":"ASSESS"}],"model":"org.sunbird.analytics.uci.UCIResponseExhaust","modelParams":{"store":"azure","storageKeyConfig":"storage.key.config","storageSecretConfig":"storage.secret.config","storageContainer":"{{ .Values.reports_container }}","storageEndpoint":"{{ .Values.cloud_storage_endpoint }}","botPdataId":"dev.uci.sunbird","mode":"OnDemand","fromDate":"","toDate":"","storageContainer":"reports"},"parallelization":8,"appName":"UCI Response Exhaust"}' ;; "userinfo-exhaust") - echo '{"search":{"type":"none"},"model":"org.sunbird.analytics.exhaust.collection.UserInfoExhaustJob","modelParams":{"store":"azure","storageKeyConfig":"storage.key.config","storageSecretConfig":"storage.secret.config","storageContainer":"{{ .Values.reports_container }}","storageEndpoint":"{{ .Values.cloud_storage_endpoint }}","mode":"OnDemand","batchFilters":["TPD"],"searchFilter":{}, "sparkElasticsearchConnectionHost":"http://{{ .Values.sunbird_es_host | default .Values.global.elasticsearch.host }}:9200","sparkRedisConnectionHost":"{{ .Values.global.redis.host }}","sparkUserDbRedisIndex":"12","sparkUserDbRedisPort":"{{ .Values.global.redis.port }}", "sparkCassandraConnectionHost":"{{ .Values.core_cassandra_host | default .Values.global.cassandra.host }}", "fromDate":"$(date --date yesterday '+%Y-%m-%d')","toDate":"$(date --date yesterday '+%Y-%m-%d')"},"parallelization":8,"appName":"UserInfo Exhaust"}' + echo '{"search":{"type":"none"},"model":"org.sunbird.analytics.exhaust.collection.UserInfoExhaustJob","modelParams":{"store":"azure","storageKeyConfig":"azure_storage_key","storageSecretConfig":"azure_storage_secret","storageContainer":"{{ .Values.reports_container }}","storageEndpoint":"{{ .Values.cloud_storage_endpoint }}","mode":"OnDemand","batchFilters":["TPD"],"searchFilter":{}, "sparkElasticsearchConnectionHost":"http://{{ .Values.sunbird_es_host | default .Values.global.elasticsearch.host }}:9200","sparkRedisConnectionHost":"{{ .Values.global.redis.host }}","sparkUserDbRedisIndex":"12","sparkUserDbRedisPort":"{{ .Values.global.redis.port }}", "sparkCassandraConnectionHost":"{{ .Values.core_cassandra_host | default .Values.global.cassandra.host }}", "fromDate":"$(date --date yesterday '+%Y-%m-%d')","toDate":"$(date --date yesterday '+%Y-%m-%d')"},"parallelization":8,"appName":"UserInfo Exhaust"}' ;; "program-collection-summary-report") echo '{"search":{"type":"none"},"model":"org.sunbird.analytics.job.report.CollectionSummaryJob","modelParams":{"searchFilter":{"request":{"filters":{"status":["Live"],"contentType":"Course","keywords":["'$keyword'"]},"fields":["identifier","name","organisation","channel"],"limit":10000}},"columns":["Published by","Batch id","Collection id","Collection name","Batch start date","Batch end date","State","Total enrolments By State","Total completion By State"], "keywords":"'$keyword'", "store":"azure","sparkElasticsearchConnectionHost":"http://{{ .Values.sunbird_es_host | default .Values.global.elasticsearch.host }}:9200","sparkRedisConnectionHost":"{{ .Values.global.redis.host }}",,"sparkUserDbRedisIndex":"12","sparkUserDbRedisPort":"{{ .Values.global.redis.host }}",,"sparkCassandraConnectionHost":"sparkCassandraConnectionHost":"{{ .Values.core_cassandra_host | default .Values.global.cassandra.host }}","fromDate":"$(date --date yesterday '+%Y-%m-%d')","toDate":"$(date --date yesterday '+%Y-%m-%d')"},"parallelization":8,"appName":"Collection Summary Report"}' @@ -70,14 +70,14 @@ config() { echo '{"search":{"type":"none"},"model":"org.sunbird.analytics.job.report.CollectionSummaryJob","modelParams":{"searchFilter":{"request":{"filters":{"status":["Live"],"contentType":"Course","keywords":["'$keyword'"]},"fields":["identifier","name","organisation","channel"],"limit":10000}},"columns":["Published by","Batch id","Collection id","Collection name","Batch start date","Batch end date","State","Total enrolments By State","Total completion By State"], "keywords":"'$keyword'", "store":"azure","sparkElasticsearchConnectionHost":"http://{{ .Values.sunbird_es_host | default .Values.global.elasticsearch.host }}:9200","sparkRedisConnectionHost":"{{ .Values.global.redis.host }}","sparkUserDbRedisIndex":"12","sparkUserDbRedisPort":"{{ .Values.global.redis.port }}","sparkCassandraConnectionHost":"{{ .Values.core_cassandra_host | default .Values.global.cassandra.host }}:{{ .Values.core_cassandra_port | default .Values.global.cassandra.port }}","fromDate":"$(date --date yesterday '+%Y-%m-%d')","toDate":"$(date --date yesterday '+%Y-%m-%d')"},"parallelization":8,"appName":"Collection Summary Report"}' ;; "response-exhaust") - echo '{"search":{"type":"none"},"model":"org.sunbird.analytics.exhaust.collection.ResponseExhaustJob","modelParams":{"store":"azure","storageKeyConfig":"storage.key.config","storageSecretConfig":"storage.secret.config","storageContainer":"{{ .Values.reports_container }}","storageEndpoint":"{{ .Values.cloud_storage_endpoint }}","mode":"OnDemand","batchFilters":["TPD"],"searchFilter":{}, "sparkElasticsearchConnectionHost":"http://{{ .Values.sunbird_es_host | default .Values.global.elasticsearch.host }}:9200","sparkRedisConnectionHost":"{{ .Values.global.redis.host }}","sparkUserDbRedisIndex":"12","sparkUserDbRedisPort":"{{ .Values.global.redis.port }}","sparkCassandraConnectionHost":"{{ .Values.core_cassandra_host | default .Values.global.cassandra.host }}", "fromDate":"$(date --date yesterday '+%Y-%m-%d')","toDate":"$(date --date yesterday '+%Y-%m-%d')"},"parallelization":8,"appName":"Response Exhaust"}' + echo '{"search":{"type":"none"},"model":"org.sunbird.analytics.exhaust.collection.ResponseExhaustJob","modelParams":{"store":"azure","storageKeyConfig":"azure_storage_key","storageSecretConfig":"azure_storage_secret","storageContainer":"{{ .Values.reports_container }}","storageEndpoint":"{{ .Values.cloud_storage_endpoint }}","mode":"OnDemand","batchFilters":["TPD"],"searchFilter":{}, "sparkElasticsearchConnectionHost":"http://{{ .Values.sunbird_es_host | default .Values.global.elasticsearch.host }}:9200","sparkRedisConnectionHost":"{{ .Values.global.redis.host }}","sparkUserDbRedisIndex":"12","sparkUserDbRedisPort":"{{ .Values.global.redis.port }}","sparkCassandraConnectionHost":"{{ .Values.core_cassandra_host | default .Values.global.cassandra.host }}", "fromDate":"$(date --date yesterday '+%Y-%m-%d')","toDate":"$(date --date yesterday '+%Y-%m-%d')"},"parallelization":8,"appName":"Response Exhaust"}' ;; "response-exhaust-v2") echo '{"search":{"type":"none"},"model":"org.sunbird.analytics.exhaust.collection.ResponseExhaustJobV2","modelParams":{"store":"azure","mode":"OnDemand","batchFilters":["TPD"],"searchFilter":{}, "sparkElasticsearchConnectionHost":"http://{{ .Values.sunbird_es_host | default .Values.global.elasticsearch.host }}:9200","sparkRedisConnectionHost":"{{ .Values.global.redis.host }}","sparkUserDbRedisIndex":"12","sparkUserDbRedisPort":"{{ .Values.global.redis.port }}", "sparkCassandraConnectionHost":"sparkCassandraConnectionHost":"{{ .Values.core_cassandra_host | default .Values.global.cassandra.host }}", "fromDate":"$(date --date yesterday '+%Y-%m-%d')","toDate":"$(date --date yesterday '+%Y-%m-%d')"},"parallelization":8,"appName":"Response Exhaust V2"}' ;; "progress-exhaust") - echo '{"search":{"type":"none"},"model":"org.sunbird.analytics.exhaust.collection.ProgressExhaustJob","modelParams":{"store":"azure","storageKeyConfig":"storage.key.config","storageSecretConfig":"storage.secret.config","storageContainer":"{{ .Values.reports_container }}","storageEndpoint":"{{ .Values.cloud_storage_endpoint }}","mode":"OnDemand","batchFilters":["TPD"],"searchFilter":{}, "sparkElasticsearchConnectionHost":"http://{{ .Values.sunbird_es_host | default .Values.global.elasticsearch.host }}:9200","sparkRedisConnectionHost":"{{ .Values.global.redis.host }}","sparkUserDbRedisIndex":"12","sparkUserDbRedisPort":"{{ .Values.global.redis.port }}", "sparkCassandraConnectionHost":"{{ .Values.core_cassandra_host | default .Values.global.cassandra.host }}", "fromDate":"$(date --date yesterday '+%Y-%m-%d')","toDate":"$(date --date yesterday '+%Y-%m-%d')"},"parallelization":8,"appName":"Progress Exhaust"}' + echo '{"search":{"type":"none"},"model":"org.sunbird.analytics.exhaust.collection.ProgressExhaustJob","modelParams":{"store":"azure","storageKeyConfig":"azure_storage_key","storageSecretConfig":"azure_storage_secret","storageContainer":"{{ .Values.reports_container }}","storageEndpoint":"{{ .Values.cloud_storage_endpoint }}","mode":"OnDemand","batchFilters":["TPD"],"searchFilter":{}, "sparkElasticsearchConnectionHost":"http://{{ .Values.sunbird_es_host | default .Values.global.elasticsearch.host }}:9200","sparkRedisConnectionHost":"{{ .Values.global.redis.host }}","sparkUserDbRedisIndex":"12","sparkUserDbRedisPort":"{{ .Values.global.redis.port }}", "sparkCassandraConnectionHost":"{{ .Values.core_cassandra_host | default .Values.global.cassandra.host }}", "fromDate":"$(date --date yesterday '+%Y-%m-%d')","toDate":"$(date --date yesterday '+%Y-%m-%d')"},"parallelization":8,"appName":"Progress Exhaust"}' ;; "progress-exhaust-v2") echo '{"search":{"type":"none"},"model":"org.sunbird.analytics.exhaust.collection.ProgressExhaustJobV2","modelParams":{"store":"azure","storageKeyConfig":"storage.key.config","storageSecretConfig":"storage.secret.config","storageContainer":"{{ .Values.reports_container }}","storageEndpoint":"{{ .Values.cloud_storage_endpoint }}","mode":"OnDemand","batchFilters":["TPD"],"searchFilter":{}, "sparkElasticsearchConnectionHost":"http://{{ .Values.sunbird_es_host | default .Values.global.elasticsearch.host }}:9200","sparkRedisConnectionHost":"{{ .Values.global.redis.host }}","sparkUserDbRedisIndex":"12","sparkUserDbRedisPort":"{{ .Values.global.redis.port }}", "sparkCassandraConnectionHost":"sparkCassandraConnectionHost":"{{ .Values.core_cassandra_host | default .Values.global.cassandra.host }}", "fromDate":"$(date --date yesterday '+%Y-%m-%d')","toDate":"$(date --date yesterday '+%Y-%m-%d')"},"parallelization":8,"appName":"Progress Exhaust V2"}' diff --git a/helmcharts/obsrvbb/charts/dataproducts/configs/replay-job.sh b/helmcharts/obsrvbb/charts/dataproducts/configs/replay-job.sh index a73ab57..eae7361 100644 --- a/helmcharts/obsrvbb/charts/dataproducts/configs/replay-job.sh +++ b/helmcharts/obsrvbb/charts/dataproducts/configs/replay-job.sh @@ -1,7 +1,7 @@ #!/usr/bin/env bash DATA_DIR=/data/analytics/logs/data-products [[ -d $DATA_DIR ]] || mkdir -p $DATA_DIR -export SPARK_HOME=/opt/bitnami/spark +export SPARK_HOME={{ .Values.global.spark_home }} export MODELS_HOME={{ .Values.analytics.home }}/models-{{ .Values.model_version }} export DP_LOGS=$DATA_DIR diff --git a/helmcharts/obsrvbb/charts/dataproducts/configs/replay-updater.sh b/helmcharts/obsrvbb/charts/dataproducts/configs/replay-updater.sh index 4bf0de3..43b5bd9 100644 --- a/helmcharts/obsrvbb/charts/dataproducts/configs/replay-updater.sh +++ b/helmcharts/obsrvbb/charts/dataproducts/configs/replay-updater.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -export SPARK_HOME=/opt/bitnami/spark +export SPARK_HOME={{ .Values.global.spark_home }} export MODELS_HOME={{ .Values.analytics.home }}/models-{{ .Values.model_version }} export DP_LOGS={{ .Values.analytics.home }}/logs/data-products diff --git a/helmcharts/obsrvbb/charts/dataproducts/configs/run-job.sh b/helmcharts/obsrvbb/charts/dataproducts/configs/run-job.sh index c7f3d1c..91f1da4 100644 --- a/helmcharts/obsrvbb/charts/dataproducts/configs/run-job.sh +++ b/helmcharts/obsrvbb/charts/dataproducts/configs/run-job.sh @@ -1,7 +1,7 @@ #!/usr/bin/env bash DATA_DIR=/data/analytics/logs/data-products [[ -d $DATA_DIR ]] || mkdir -p $DATA_DIR -export SPARK_HOME=/opt/bitnami/spark +export SPARK_HOME={{ .Values.global.spark_home }} export MODELS_HOME={{ .Values.analytics_home }}/models-2.0 export DP_LOGS=$DATA_DIR ## Job to run daily diff --git a/helmcharts/obsrvbb/charts/dataproducts/configs/start-jobmanager.sh b/helmcharts/obsrvbb/charts/dataproducts/configs/start-jobmanager.sh index f65c381..460b543 100644 --- a/helmcharts/obsrvbb/charts/dataproducts/configs/start-jobmanager.sh +++ b/helmcharts/obsrvbb/charts/dataproducts/configs/start-jobmanager.sh @@ -3,7 +3,7 @@ DATA_DIR=/data/analytics/logs/data-products [[ -d $DATA_DIR ]] || mkdir -p $DATA_DIR SERVICE_LOGS=/data/analytics/logs/services [[ -d $SERVICE_LOGS ]] || mkdir -p $SERVICE_LOGS -export SPARK_HOME=/opt/bitnami/spark +export SPARK_HOME={{ .Values.global.spark_home }} export MODELS_HOME={{ .Values.analytics_home }}/models-2.0 export DP_LOGS=$DATA_DIR export SERVICE_LOGS=$SERVICE_LOGS diff --git a/helmcharts/obsrvbb/charts/dataproducts/configs/submit-all-jobs.rb b/helmcharts/obsrvbb/charts/dataproducts/configs/submit-all-jobs.rb index 7db0f10..5ef524d 100644 --- a/helmcharts/obsrvbb/charts/dataproducts/configs/submit-all-jobs.rb +++ b/helmcharts/obsrvbb/charts/dataproducts/configs/submit-all-jobs.rb @@ -8,53 +8,63 @@ @topic = "{{ .Values.analytics_job_queue_topic }}" @report_list_jobs_url = "https://{{ .Values.global.domain }}/api/data/v1/" @submit_jobs_auth_token = "{{ .Values.global.sunbird_admin_api_token }}" -@submit_jobs_command = "source /data/analytics/venv/bin/activate && dataproducts submit_druid_jobs --report_list_jobs_url #{@report_list_jobs_url} --auth_token #{@submit_jobs_auth_token}" +@submit_jobs_command = "source /data/analytics/venv/bin/activate && python3 /data/analytics/scripts/druid-report-submitter.py --report_list_jobs_url #{@report_list_jobs_url} --auth_token #{@submit_jobs_auth_token}" +print "Submit jobs command: #{@submit_jobs_command}" def log(message) - @log.write("#{Time.now.to_s}: #{message}\n") + @log.write("#{Time.now}: #{message}\\n") end def submit_all_jobs - report_jobs = { - "assessment-dashboard-metrics" => "org.sunbird.analytics.job.report.AssessmentMetricsJobV2", - "course-dashboard-metrics" => "org.sunbird.analytics.job.report.CourseMetricsJobV2", - "course-enrollment-report" => "org.sunbird.analytics.job.report.CourseEnrollmentJob", - "course-consumption-report" => "org.sunbird.analytics.job.report.CourseConsumptionJob", - "etb-metrics" => "org.sunbird.analytics.job.report.ETBMetricsJob", - "admin-geo-reports" => "org.sunbird.analytics.job.report.StateAdminGeoReportJob", - "admin-user-reports" => "org.sunbird.analytics.job.report.StateAdminReportJob" - } - jobs = ["wfs", "content-rating-updater", "monitor-job-summ"] - - log("Starting to submit #{jobs.count} jobs for processing") - file = File.read("{{ .Values.analytics_home }}/scripts/model-config.json") - file = file.gsub("$(date --date yesterday '+%Y-%m-%d')", `date --date yesterday '+%Y-%m-%d'`.strip) - file = file.gsub("$(date '+%Y-%m-%d')", `date "+%Y-%m-%d"`.strip) - config_hash = JSON.parse(file) - log("Config file loaded") - jobs.each do |job| - if job == "monitor-job-summ" - # log("python") - # system('/bin/bash -l -c "'+ @submit_jobs_command +'"') - submit_job(job, config_hash[job]) - elsif report_jobs[job].nil? - submit_job(job, config_hash[job]) - else - submit_job(report_jobs[job], config_hash[job]) - end - - log("Submitted #{jobs.count} jobs for processing") - end -end -def submit_job(job, config) - job_config = {model: job, config: config}.to_json - log("message: #{job_config}") - @kafka.deliver_message(job_config, topic: @topic) - log("Submitted #{job} for processing") -end + report_jobs = { + "assessment-dashboard-metrics" => "org.sunbird.analytics.job.report.AssessmentMetricsJobV2", + "course-dashboard-metrics" => "org.sunbird.analytics.job.report.CourseMetricsJobV2", + "course-enrollment-report" => "org.sunbird.analytics.job.report.CourseEnrollmentJob", + "course-consumption-report" => "org.sunbird.analytics.job.report.CourseConsumptionJob", + "etb-metrics" => "org.sunbird.analytics.job.report.ETBMetricsJob", + "admin-geo-reports" => "org.sunbird.analytics.job.report.StateAdminGeoReportJob", + "admin-user-reports" => "org.sunbird.analytics.job.report.StateAdminReportJob" + } + jobs = ["wfs", "content-rating-updater", "monitor-job-summ"] + log("Starting to submit #{jobs.count} jobs for processing") + + file = File.read("/data/analytics/scripts/model-config.json") + log("Original config file loaded") + + file = file.gsub("$(date --date yesterday '+%Y-%m-%d')", `date --date yesterday '+%Y-%m-%d'`.strip) + file = file.gsub("$(date '+%Y-%m-%d')", `date '+%Y-%m-%d'`.strip) + log("Dates replaced in config file") + config_hash = JSON.parse(file) + log("Parsed config file into JSON") + jobs.each do |job| + log("Processing job: #{job}") + if job == "monitor-job-summ" + log("Running submit_jobs_command for #{job}") + system('/bin/bash -l -c "' + @submit_jobs_command + '"') + submit_job(job, config_hash[job]) + elsif report_jobs[job].nil? + log("Job not found in report_jobs: #{job}") + submit_job(job, config_hash[job]) + else + log("Job found in report_jobs: #{job}") + submit_job(report_jobs[job], config_hash[job]) + end + end + log("Submitted #{jobs.count} jobs for processing") +end + +def submit_job(job, config) + job_config = { model: job, config: config }.to_json + log("Job config for #{job}: #{job_config}") + + @kafka.deliver_message(job_config, topic: @topic) + log("Submitted #{job} for processing") +end +log("Starting job submission script") submit_all_jobs +log("Completed job submission script") diff --git a/helmcharts/obsrvbb/charts/dataproducts/configs/submit-job.sh b/helmcharts/obsrvbb/charts/dataproducts/configs/submit-job.sh index 9fd8c0c..746fde4 100644 --- a/helmcharts/obsrvbb/charts/dataproducts/configs/submit-job.sh +++ b/helmcharts/obsrvbb/charts/dataproducts/configs/submit-job.sh @@ -1,9 +1,9 @@ #!/usr/bin/env bash -export SPARK_HOME=/opt/bitnami/spark +export SPARK_HOME={{ .Values.global.spark_home }} export MODELS_HOME={{ .Values.analytics.home }}/models-{{ .Values.model_version }} export DP_LOGS={{ .Values.analytics.home }}/logs/data-products -export KAFKA_HOME={{ .Values.analytics.soft_path }}/kafka_2.11-0.10.1.0 +export KAFKA_HOME=/opt/bitnami/kafka_2.12-2.8.0 ## job broker-list and kafka-topic job_brokerList={{ .Values.global.kafka.host }}:{{ .Values.global.kafka.port }} diff --git a/helmcharts/obsrvbb/charts/dataproducts/values.yaml b/helmcharts/obsrvbb/charts/dataproducts/values.yaml index df9f4b9..e5d2277 100644 --- a/helmcharts/obsrvbb/charts/dataproducts/values.yaml +++ b/helmcharts/obsrvbb/charts/dataproducts/values.yaml @@ -43,14 +43,14 @@ media_service_azure_account_name : "" media_service_azure_tenant: "" media_service_azure_subscription_id: "" es_search_index: "compositesearch" -channelSearchServiceEndpoint: "http://learner-service:9000/v1/org/search" +channelSearchServiceEndpoint: "http://userorg-service:9000/v1/org/search" hierarchySearchServiceUrl: "http://content-service:9000/action/content" hierarchySearchServicEndpoint: /v3/hierarchy/ stream_base_url: "" cassandra_hierarchy_store_keyspace: "{{ .Values.global.env }}_hierarchy_store" assessment_metric_primary_category: "{{ .Values.exhaust_job_assessment_primary_category }}" exhaust_job_assessment_primary_category: "Practice Question Set" -sunbird_learner_service_url: "http://learner-service:9000" +sunbird_userorg_service_url: "http://userorg-service:9000" location_search_url: "https://lms-service:9000" etb_dialcode_list_druid_length: 70 user_table_keyspace: "sunbird" @@ -89,7 +89,7 @@ producer_env: "dev.sunbird" spark_output_temp_dir: /data/analytics/tmp/ #modelconfig.josn -reports_container: "reports" +reports_container: "{{ .Values.global.azure_reports_container_name }}" #start-jobmanager analytics_job_list: ["wfs", "content-rating-updater", "monitor-job-summ"] @@ -99,8 +99,7 @@ analytics_cluster: jobmanager_logs_directory: "/data/analytics/logs/services" run_logs_directory: "/data/analytics/logs/data-products" -reports_container: "reports" -blob_container_name: "telemetry-data-store" +blob_container_name: "{{ .Values.global.azure_telemetry_container_name }}" cloud_storage_type: "azure" dp_raw_telemetry_backup_location: "unique/raw/" cloud_storage_endpoint: https://{{ .Values.global.azure_storage_account_name }}.blob.core.windows.net diff --git a/helmcharts/obsrvbb/charts/druid-raw-cluster/values.yaml b/helmcharts/obsrvbb/charts/druid-raw-cluster/values.yaml index d3c490b..e3e17fd 100644 --- a/helmcharts/obsrvbb/charts/druid-raw-cluster/values.yaml +++ b/helmcharts/obsrvbb/charts/druid-raw-cluster/values.yaml @@ -16,7 +16,7 @@ resources: memory: 1024Mi limits: cpu: 200m - memory: 1500Gi + memory: 2048Mi druid_coordinator: requests: cpu: 250m diff --git a/helmcharts/obsrvbb/charts/etl-jobs/values.yaml b/helmcharts/obsrvbb/charts/etl-jobs/values.yaml index 55a5f11..831b1f7 100644 --- a/helmcharts/obsrvbb/charts/etl-jobs/values.yaml +++ b/helmcharts/obsrvbb/charts/etl-jobs/values.yaml @@ -89,5 +89,5 @@ cassandra: old_table: "device_profile" new_table: "device_profile_temp" -container_name: telemetry-data-store +container_name: "{{ .Values.global.azure_telemetry_container_name }}" object_key: "druid-content-snapshot/snapshot.txt" \ No newline at end of file diff --git a/helmcharts/obsrvbb/charts/flink/values.yaml b/helmcharts/obsrvbb/charts/flink/values.yaml index f3452f9..68bd781 100644 --- a/helmcharts/obsrvbb/charts/flink/values.yaml +++ b/helmcharts/obsrvbb/charts/flink/values.yaml @@ -7,8 +7,8 @@ replicaCount: 1 # tag: "release-5.2.0_RC1_2c615f8_12" # docker pull sunbirded.azurecr.io/sunbird-datapipeline:release-4.9.0_RC4_1 image: - repository: aimansharief/obsrv-jobs - tag: "R5.2.0" + repository: sunbirded.azurecr.io/sunbird-datapipeline + tag: "release-5.2.0_RC3_49d7f23_10" pullPolicy: IfNotPresent pullSecrets: [] @@ -134,7 +134,7 @@ azure_secret: "azure-secret" # Azure Container Details checkpoint_store_type: "azure" -cloud_storage_flink_bucketname: flink-state-backend +cloud_storage_flink_bucketname: "{{ .Values.global.azure_flink_state_container_name }}" cloud_storage_content_bucketname: sunbird-content-dev cert_container_name: dev-e-credentials cloud_storage_endpoint: https://{{ .Values.global.azure_storage_account_name }}.blob.core.windows.net @@ -219,7 +219,7 @@ dialcode_api_auth_key: "" #(user read api details) user_read_api_endpoint: "/private/user/v1/read/" -user_read_api_url: "learner-service:9000" +user_read_api_url: "userorg-service:9000" ### User-cache-updater related vars usercache_updater_parallelism: 1 @@ -287,7 +287,7 @@ base_config: | blob { storage { account = "{{ .Values.global.azure_storage_account_name }}.blob.core.windows.net" - container = "{{ .Values.container }}" + container = "{{ .Values.global.azure_flink_state_container_name }}" checkpointing.dir = "checkpoint" } } @@ -805,7 +805,7 @@ flink_jobs: url = "http://{{ .Values.user_read_api_url }}/{{ .Values.user_read_api_endpoint }}" } } - regd.user.producer.pid = "learner-service" + regd.user.producer.pid = "userorg-service" user.self.signin.types = ["google","self"] user.validated.types = ["sso"] user.self.signin.key = "Self-Signed-In" diff --git a/helmcharts/obsrvbb/charts/secor/values.yaml b/helmcharts/obsrvbb/charts/secor/values.yaml index 1a39131..6c7da7f 100644 --- a/helmcharts/obsrvbb/charts/secor/values.yaml +++ b/helmcharts/obsrvbb/charts/secor/values.yaml @@ -1,14 +1,14 @@ # Azure Container Details azure_account: "{{.Values.global.azure_storage_account_name}}" azure_secret: "{{ .Values.global.azure_storage_account_key }}" -azure_container_name: "telemetry-data-store" +azure_container_name: "{{ .Values.global.azure_telemetry_container_name }}" s3_access_key: "cloud_private_storage_accountname" s3_secret_id: "cloud_private_storage_secret" s3_region: "cloud_private_storage_region" s3_endpoint: "cloud_private_storage_endpoint" s3_path_style_access: "s3_path_style_access" -s3_bucket_name: "telemetry-data-store" +s3_bucket_name: "{{ .Values.global.azure_telemetry_container_name }}" storage_type: "Azure" storageClass: "default" diff --git a/helmcharts/obsrvbb/charts/submit-ingestion/values.yaml b/helmcharts/obsrvbb/charts/submit-ingestion/values.yaml index ce3e74a..06555a2 100644 --- a/helmcharts/obsrvbb/charts/submit-ingestion/values.yaml +++ b/helmcharts/obsrvbb/charts/submit-ingestion/values.yaml @@ -25,7 +25,7 @@ resources: limits: cpu: 1 memory: 1024Mi -container_name: "telemetry-data-store" +container_name: "{{ .Values.global.azure_telemetry_container_name }}" ingestion_spec: druid_events_summary: topic: druid.events.summary diff --git a/helmcharts/obsrvbb/charts/superset/.helmignore b/helmcharts/obsrvbb/charts/superset/.helmignore new file mode 100644 index 0000000..a92a08b --- /dev/null +++ b/helmcharts/obsrvbb/charts/superset/.helmignore @@ -0,0 +1,37 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +# Patterns to ignore when building packages. +# This supports shell glob matching, relative path matching, and +# negation (prefixed with !). Only one pattern per line. +.DS_Store +# Common VCS dirs +.git/ +.gitignore +.bzr/ +.bzrignore +.hg/ +.hgignore +.svn/ +# Common backup files +*.swp +*.bak +*.tmp +*~ +# Various IDEs +.project +.idea/ +*.tmproj diff --git a/helmcharts/obsrvbb/charts/superset/Chart.yaml b/helmcharts/obsrvbb/charts/superset/Chart.yaml new file mode 100644 index 0000000..83bbd39 --- /dev/null +++ b/helmcharts/obsrvbb/charts/superset/Chart.yaml @@ -0,0 +1,25 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +apiVersion: v1 +appVersion: "1.0" +description: A Helm chart for Kubernetes +name: superset +maintainers: + - name: Chuan-Yen Chiang + email: cychiang0823@gmail.com + url: https://github.com/cychiang +version: 0.1.0 diff --git a/helmcharts/obsrvbb/charts/superset/templates/NOTES.txt b/helmcharts/obsrvbb/charts/superset/templates/NOTES.txt new file mode 100644 index 0000000..79d0dfa --- /dev/null +++ b/helmcharts/obsrvbb/charts/superset/templates/NOTES.txt @@ -0,0 +1,37 @@ +{{/* + + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +*/}} +1. Get the application URL by running these commands: +{{- if .Values.ingress.enabled }} +{{- range .Values.ingress.hosts }} + http{{ if $.Values.ingress.tls }}s{{ end }}://{{ . }}{{ $.Values.ingress.path }} +{{- end }} +{{- else if contains "NodePort" .Values.service.type }} + export NODE_PORT=$(kubectl get --namespace {{ .Release.Namespace }} -o jsonpath="{.spec.ports[0].nodePort}" services {{ template "superset.fullname" . }}-service) + export NODE_IP=$(kubectl get nodes --namespace {{ .Release.Namespace }} -o jsonpath="{.items[0].status.addresses[0].address}") + echo http://$NODE_IP:$NODE_PORT +{{- else if contains "LoadBalancer" .Values.service.type }} + NOTE: It may take a few minutes for the LoadBalancer IP to be available. + You can watch the status of by running 'kubectl get svc -w {{ template "superset.fullname" . }}' + export SERVICE_IP=$(kubectl get svc --namespace {{ .Release.Namespace }} {{ template "superset.fullname" . }} -o jsonpath='{.status.loadBalancer.ingress[0].ip}') + echo http://$SERVICE_IP:{{ .Values.service.port }} +{{- else if contains "ClusterIP" .Values.service.type }} + export POD_NAME=$(kubectl get pods --namespace {{ .Release.Namespace }} -l "app={{ template "superset.name" . }},release={{ .Release.Name }}" -o jsonpath="{.items[0].metadata.name}") + echo "Visit http://127.0.0.1:8080 to use your application" + kubectl port-forward $POD_NAME 8080:80 +{{- end }} diff --git a/helmcharts/obsrvbb/charts/superset/templates/_helpers.tpl b/helmcharts/obsrvbb/charts/superset/templates/_helpers.tpl new file mode 100644 index 0000000..3c10433 --- /dev/null +++ b/helmcharts/obsrvbb/charts/superset/templates/_helpers.tpl @@ -0,0 +1,50 @@ +{{/* + + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +*/}} +{{/* vim: set filetype=mustache: */}} +{{/* +Expand the name of the chart. +*/}} +{{- define "superset.name" -}} +{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" -}} +{{- end -}} + +{{/* +Create a default fully qualified app name. +We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec). +If release name contains chart name it will be used as a full name. +*/}} +{{- define "superset.fullname" -}} +{{- if .Values.fullnameOverride -}} +{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" -}} +{{- else -}} +{{- $name := default .Chart.Name .Values.nameOverride -}} +{{- if contains $name .Release.Name -}} +{{- .Release.Name | trunc 63 | trimSuffix "-" -}} +{{- else -}} +{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" -}} +{{- end -}} +{{- end -}} +{{- end -}} + +{{/* +Create chart name and version as used by the chart label. +*/}} +{{- define "superset.chart" -}} +{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" -}} +{{- end -}} diff --git a/helmcharts/obsrvbb/charts/superset/templates/configmap.yaml b/helmcharts/obsrvbb/charts/superset/templates/configmap.yaml new file mode 100644 index 0000000..ffa5dd2 --- /dev/null +++ b/helmcharts/obsrvbb/charts/superset/templates/configmap.yaml @@ -0,0 +1,28 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +apiVersion: v1 +kind: ConfigMap +metadata: + name: {{ template "superset.fullname" . }} + namespace: {{ .Values.namespace }} + labels: + app: {{ template "superset.name" . }} + chart: {{ template "superset.chart" . }} + release: {{ .Release.Name }} + heritage: {{ .Release.Service }} +data: +{{ (.Files.Glob "config/*").AsConfig | indent 2 }} diff --git a/helmcharts/obsrvbb/charts/superset/templates/deployment.yaml b/helmcharts/obsrvbb/charts/superset/templates/deployment.yaml new file mode 100644 index 0000000..df01d5a --- /dev/null +++ b/helmcharts/obsrvbb/charts/superset/templates/deployment.yaml @@ -0,0 +1,73 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +apiVersion: apps/v1 +kind: Deployment +metadata: + name: {{ template "superset.fullname" . }} + namespace: {{ .Values.namespace }} + labels: + app: {{ template "superset.name" . }} + chart: {{ template "superset.chart" . }} + release: {{ .Release.Name }} + heritage: {{ .Release.Service }} +spec: + replicas: {{ .Values.replicaCount }} + selector: + matchLabels: + app: {{ template "superset.name" . }} + release: {{ .Release.Name }} + template: + metadata: + labels: + app: {{ template "superset.name" . }} + release: {{ .Release.Name }} + spec: + containers: + - name: {{ .Chart.Name }} + image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}" + imagePullPolicy: {{ .Values.image.pullPolicy }} + volumeMounts: + - name: superset-config + mountPath: /etc/superset/ + env: + - name: "SUPERSET_PORT" + value: {{ .Values.service.port | quote}} + ports: + - name: http + containerPort: 8088 + protocol: TCP + resources: +{{ toYaml .Values.resources | indent 12 }} + envFrom: + - configMapRef: + name: envvar-configmap + {{- with .Values.nodeSelector }} + nodeSelector: +{{ toYaml . | indent 8 }} + {{- end }} + {{- with .Values.affinity }} + affinity: +{{ toYaml . | indent 8 }} + {{- end }} + {{- with .Values.tolerations }} + tolerations: +{{ toYaml . | indent 8 }} + {{- end }} + volumes: + - name: "superset-config" + configMap: + name: superset-configmap diff --git a/helmcharts/obsrvbb/charts/superset/templates/heconfigmap.yaml b/helmcharts/obsrvbb/charts/superset/templates/heconfigmap.yaml new file mode 100644 index 0000000..b01a0eb --- /dev/null +++ b/helmcharts/obsrvbb/charts/superset/templates/heconfigmap.yaml @@ -0,0 +1,19 @@ +apiVersion: v1 +kind: ConfigMap +metadata: + name: envvar-configmap + namespace: {{ .Values.namespace }} + labels: + app: {{ template "superset.name" . }} + chart: {{ template "superset.chart" . }} + release: {{ .Release.Name }} + heritage: {{ .Release.Service }} +data: + PG_USER: {{ .Values.PG_USER }} + PG_PASS: {{ .Values.PG_PASS }} + PG_HOST: {{ .Values.PG_HOST }} + PORTAL_HOST: {{ .Values.PORTAL_HOST }} + PORTAL_API_HOST: {{ .Values.PORTAL_API_HOST }} + PORTAL_API_KEY: {{ .Values.PORTAL_API_KEY }} + ANALYTICS_API_KEY: {{ .Values.ANALYTICS_API_KEY }} + ANALYTICS_API_HOST: {{ .Values.ANALYTICS_API_HOST }} \ No newline at end of file diff --git a/helmcharts/obsrvbb/charts/superset/templates/ingress.yaml b/helmcharts/obsrvbb/charts/superset/templates/ingress.yaml new file mode 100644 index 0000000..da4f38d --- /dev/null +++ b/helmcharts/obsrvbb/charts/superset/templates/ingress.yaml @@ -0,0 +1,55 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +{{ if .Values.ingress.enabled -}} +{{- $fullName := include "superset.fullname" . -}} +{{- $ingressPath := .Values.ingress.path -}} +apiVersion: networking.k8s.io/v1 +kind: Ingress +metadata: + name: {{ $fullName }} + namespace: {{ .Values.namespace }} + labels: + app: {{ template "superset.name" . }} + chart: {{ template "superset.chart" . }} + release: {{ .Release.Name }} + heritage: {{ .Release.Service }} +{{- with .Values.ingress.annotations }} + annotations: +{{ toYaml . | indent 4 }} +{{- end }} +spec: +{{- if .Values.ingress.tls }} + tls: + {{- range .Values.ingress.tls }} + - hosts: + {{- range .hosts }} + - {{ . }} + {{- end }} + secretName: {{ .secretName }} + {{- end }} +{{- end }} + rules: + {{- range .Values.ingress.hosts }} + - host: {{ . }} + http: + paths: + - path: {{ $ingressPath }} + backend: + serviceName: {{ $fullName }} + servicePort: http + {{- end }} +{{- end }} diff --git a/helmcharts/obsrvbb/charts/superset/templates/init-job.yaml b/helmcharts/obsrvbb/charts/superset/templates/init-job.yaml new file mode 100644 index 0000000..072e338 --- /dev/null +++ b/helmcharts/obsrvbb/charts/superset/templates/init-job.yaml @@ -0,0 +1,74 @@ +apiVersion: batch/v1 +kind: Job +metadata: + name: {{ template "superset.fullname" . }}-init + namespace: {{ .Values.namespace }} + labels: + app: {{ template "superset.name" . }} + chart: {{ template "superset.chart" . }} + release: {{ .Release.Name }} + heritage: {{ .Release.Service }} + annotations: + "helm.sh/hook": post-install,post-upgrade + "helm.sh/hook-weight": "1" + "helm.sh/hook-delete-policy": hook-succeeded +spec: + template: + metadata: + labels: + app: {{ template "superset.name" . }} + release: {{ .Release.Name }} + spec: + restartPolicy: OnFailure + containers: + - name: {{ .Chart.Name }}-init + image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}" + imagePullPolicy: {{ .Values.image.pullPolicy }} + envFrom: + - configMapRef: + name: envvar-configmap + command: + - /bin/sh + - -c + - | + # Wait for database + echo "Waiting for database..." + until superset db upgrade; do + echo "Database not ready, retrying in 5 seconds..." + sleep 5 + done + + # Initialize Superset + echo "Initializing Superset..." + superset init + + # Create admin user + echo "Creating admin user..." + superset fab create-user \ + --username {{ .Values.credentials.adminUser }} \ + --firstname Super \ + --lastname Admin \ + --email {{ .Values.credentials.adminEmail }} \ + --password {{ .Values.credentials.adminPassword }} \ + --role Admin + + + # Create report reviewer + echo "Creating report reviewer user..." + superset fab create-user \ + --username {{ .Values.credentials.reviewerUser }} \ + --firstname Report \ + --lastname Reviewer \ + --email {{ .Values.credentials.reviewerEmail }} \ + --password {{ .Values.credentials.reviewerPassword }} \ + --role "Report Reviewer" + + # Create report creator + echo "Creating report creator user..." + superset fab create-user \ + --username {{ .Values.credentials.creatorUser }} \ + --firstname Report \ + --lastname Creator \ + --email {{ .Values.credentials.creatorEmail }} \ + --password {{ .Values.credentials.creatorPassword }} \ + --role "Report Creator" diff --git a/helmcharts/obsrvbb/charts/superset/templates/service.yaml b/helmcharts/obsrvbb/charts/superset/templates/service.yaml new file mode 100644 index 0000000..62ea046 --- /dev/null +++ b/helmcharts/obsrvbb/charts/superset/templates/service.yaml @@ -0,0 +1,36 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +apiVersion: v1 +kind: Service +metadata: + name: {{ template "superset.fullname" . }} + namespace: {{ .Values.namespace }} + labels: + app: {{ template "superset.name" . }} + chart: {{ template "superset.chart" . }} + release: {{ .Release.Name }} + heritage: {{ .Release.Service }} +spec: + type: {{ .Values.service.type }} + ports: + - port: {{ .Values.service.port }} + targetPort: http + protocol: TCP + name: http + selector: + app: {{ template "superset.name" . }} + release: {{ .Release.Name }} diff --git a/helmcharts/obsrvbb/charts/superset/values.yaml b/helmcharts/obsrvbb/charts/superset/values.yaml new file mode 100644 index 0000000..c2e1324 --- /dev/null +++ b/helmcharts/obsrvbb/charts/superset/values.yaml @@ -0,0 +1,90 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + +# Default values for superset. +# This is a YAML-formatted file. +# Declare variables to be passed into your templates. + +namespace: sunbird + +replicaCount: 1 + +image: + repository: sunbirded.azurecr.io/superset + tag: 1.0.0 + pullPolicy: Always + +service: + type: NodePort + port: 8088 + +ingress: + enabled: false + annotations: {} + # kubernetes.io/ingress.class: nginx + # kubernetes.io/tls-acme: "true" + path: / + hosts: + - chart-example.local + tls: [] + # - secretName: chart-example-tls + # hosts: + # - chart-example.local + +resources: {} + # We usually recommend not to specify default resources and to leave this as a conscious + # choice for the user. This also increases chances charts run on environments with little + # resources, such as Minikube. If you do want to specify resources, uncomment the following + # lines, adjust them as necessary, and remove the curly braces after 'resources:'. + # limits: + # cpu: 100m + # memory: 128Mi + # requests: + # cpu: 100m + # memory: 128Mi + +nodeSelector: {} + +tolerations: [] + +affinity: {} + +# Extra environment variables that will be passed into the superset container +extraEnv: {} + # SUPERSET_ENV: production + # SUPERSET_LOAD_EXAMPLES: yes + +# Default credentials +credentials: + adminUser: admin + adminPassword: admin + adminEmail: admin@example.com + reviewerUser: report_reviewer + reviewerPassword: reviewer + reviewerEmail: report_reviewer@example.com + creatorUser: report_creator + creatorPassword: creator + creatorEmail: report_creator@example.com + +PG_USER: {{ .Values.global.postgresql.postgresqlUsername }} +PG_PASS: {{ .Values.global.postgresql.postgresqlPassword }} +PG_HOST: {{ .Values.global.postgresql.host }} +PORTAL_HOST: "http://{{ .Values.global.domain }}" +PORTAL_API_HOST: {{ .Values.report_service_url }} +PORTAL_API_KEY: {{.Values.global.sunbird_admin_api_token}} +ANALYTICS_API_KEY: {{ .Values.global.adminutil_learner_api_auth_key }} +ANALYTICS_API_HOST: {{ .Values.analytics_api_service_url }} \ No newline at end of file diff --git a/helmcharts/obsrvbb/templates/configmap.yaml b/helmcharts/obsrvbb/templates/configmap.yaml index 99941e3..6e4fb1d 100644 --- a/helmcharts/obsrvbb/templates/configmap.yaml +++ b/helmcharts/obsrvbb/templates/configmap.yaml @@ -13,10 +13,9 @@ data: export azure_storage_secret={{ .Values.global.azure_storage_account_key }} export druid_storage_account_key= export druid_storage_account_secret= - reports_storage_key="{{ .Values.global.azure_storage_account_name }}" - reports_storage_secret="{{ .Values.global.azure_storage_account_key }}" + export reports_storage_key={{ .Values.global.azure_storage_account_name }} + export reports_storage_secret={{ .Values.global.azure_storage_account_key }} export aws_storage_key= export aws_storage_secret= - export cloud_storage_key= - export cloud_storage_secret= - + export cloud_storage_key={{ .Values.global.azure_storage_account_name }} + export cloud_storage_secret={{ .Values.global.azure_storage_account_key }} \ No newline at end of file diff --git a/helmcharts/obsrvbb/values.yaml b/helmcharts/obsrvbb/values.yaml index 07f4aed..684b14c 100644 --- a/helmcharts/obsrvbb/values.yaml +++ b/helmcharts/obsrvbb/values.yaml @@ -144,6 +144,7 @@ kafka: &kafka - name: sunbirddev.telemetry.sink - name: sunbirddev.telemetry.metrics - name: sunbirddev.telemetry.assess + - name: sunbirddev.druid.report.job_queue - name: "{{ .Values.global.env }}.telemetry.ingest" - name: "{{ .Values.global.env }}.telemetry.raw" - name: "{{ .Values.global.env }}.druid.events.log" @@ -224,6 +225,10 @@ confVolume: &confVolume path: common.conf - key: collection-summary-ingestion-spec.json path: collection-summary-ingestion-spec.json + - key: druid-report-processor.py + path: druid-report-processor.py + - key: druid-report-submitter.py + path: druid-report-submitter.py - name: obsrvbb-user-cache-indexer-conf configMap: name: obsrvbb-etl-jobs @@ -283,24 +288,25 @@ confVolume: &confVolume mountPath: /data/analytics/content-snapshot/conf command: - - "/bin/sh" - - "-c" + - /bin/sh + - -c - | - data_path="/ - data/analytics" # persistent path + data_path="/data/analytics" # persistent path python -m venv /data/analytics/venv # run dataproducts.tar.gz - . /data/analytics/venv/bin/activate && pip install /data/analytics/dataproducts.tar.gz + . /data/analytics/venv/bin/activate && pip install /data/analytics/dataproducts.tar.gz deactivate + pip install kafka-python + curl -o /data/analytics/content-snapshot/jars/etl-jobs-1.0/lib/guava-18.0.jar "https://repo1.maven.org/maven2/com/google/guava/guava/18.0/guava-18.0.jar" - curl -o /opt/bitnami/spark/jars/jetty-util-6.1.26.jar "https://repo1.maven.org/maven2/org/mortbay/jetty/jetty-util/6.1.26/jetty-util-6.1.26.jar" - curl -o /opt/bitnami/spark/jars/config-1.3.3.jar "https://repo1.maven.org/maven2/com/typesafe/config/1.3.3/config-1.3.3.jar" - curl -o /opt/bitnami/spark/jars/spark-sql_2.12-3.1.0-tests.jar "https://repo1.maven.org/maven2/org/apache/spark/spark-sql_2.12/3.1.0/spark-sql_2.12-3.1.0-tests.jar" + curl -o /data/analytics/spark-3.1.3-bin-hadoop2.7/jars/jetty-util-6.1.26.jar "https://repo1.maven.org/maven2/org/mortbay/jetty/jetty-util/6.1.26/jetty-util-6.1.26.jar" + curl -o /data/analytics/spark-3.1.3-bin-hadoop2.7/jars/config-1.3.3.jar "https://repo1.maven.org/maven2/com/typesafe/config/1.3.3/config-1.3.3.jar" + curl -o /data/analytics/spark-3.1.3-bin-hadoop2.7/jars/spark-sql_2.12-3.1.0-tests.jar "https://repo1.maven.org/maven2/org/apache/spark/spark-sql_2.12/3.1.0/spark-sql_2.12-3.1.0-tests.jar" curl -o /data/analytics/content-snapshot/jars/etl-jobs-1.0/lib/spark-sql_2.12-3.1.0-tests.jar "https://repo1.maven.org/maven2/org/apache/spark/spark-sql_2.12/3.1.0/spark-sql_2.12-3.1.0-tests.jar" - cp "$data_path/models-2.0/data-products-1.0/lib/guava-19.0.jar" /opt/bitnami/spark/jars/ - rm /opt/bitnami/spark/jars/guava-14.0.1.jar - cp /data/analytics/spark-conf/spark-defaults.conf /opt/bitnami/spark/conf/ - cp /data/analytics/spark-conf/spark-env.sh /opt/bitnami/spark/conf/ + cp "$data_path/models-2.0/data-products-1.0/lib/guava-19.0.jar" /data/analytics/spark-3.1.3-bin-hadoop2.7/jars/ + rm /data/analytics/spark-3.1.3-bin-hadoop2.7/jars/guava-14.0.1.jar + cp /data/analytics/spark-conf/spark-defaults.conf /data/analytics/spark-3.1.3-bin-hadoop2.7/conf/ + cp /data/analytics/spark-conf/spark-env.sh /data/analytics/spark-3.1.3-bin-hadoop2.7/conf/ /opt/bitnami/scripts/spark/entrypoint.sh /opt/bitnami/scripts/spark/run.sh initContainers: @@ -359,6 +365,21 @@ spark: &spark tag: 3.2.4_2 master: <<: *confVolume + extraEnvVars: + - name: BITNAMI_DEBUG + value: "false" + - name: SPARK_MODE + value: master + - name: SPARK_DAEMON_MEMORY + value: "" + - name: SPARK_MASTER_PORT + value: "7077" + - name: SPARK_MASTER_WEBUI_PORT + value: "8080" + - name: KAFKA_BROKER_HOST + value: "kafka:9092" + - name: ENV + value: "sunbirddev" worker: replicaCount: 1 @@ -376,6 +397,7 @@ global: spark: *spark keycloak_kid_keys_configmap: keycloak-kids-keys kong_desktop_device_consumer_names_for_opa: '["portal", "desktop"]' + spark_home: /data/analytics/spark-3.1.3-bin-hadoop2.7 analytics: opa_enabled: true @@ -386,3 +408,19 @@ migration: jarUrl: "https://github.com/user/repo/releases/download/v1.0/migration.jar" postgresql: waitTimeout: 120 + + +superset: + enabled: true + image: + repository: sunbirded.azurecr.io/superset + tag: 1.0.0 + pullPolicy: Always + PG_USER: {{ .Values.global.postgresql.postgresqlUsername }} + PG_PASS: {{ .Values.global.postgresql.postgresqlPassword }} + PG_HOST: {{ .Values.global.postgresql.host }} + PORTAL_HOST: "http://{{ .Values.global.domain }}" + PORTAL_API_HOST: {{ .Values.report_service_url }} + PORTAL_API_KEY: {{.Values.global.sunbird_admin_api_token}} + ANALYTICS_API_KEY: {{ .Values.global.adminutil_learner_api_auth_key }} + ANALYTICS_API_HOST: {{ .Values.analytics_api_service_url }} \ No newline at end of file diff --git a/postman-collection/ED-release700/Easy-Installer-7.0-Question-Set-Editor.postman_collection.json b/postman-collection/ED-release700/Easy-Installer-7.0-Question-Set-Editor.postman_collection.json new file mode 100644 index 0000000..81f85c8 --- /dev/null +++ b/postman-collection/ED-release700/Easy-Installer-7.0-Question-Set-Editor.postman_collection.json @@ -0,0 +1,58 @@ +{ + "info": { + "_postman_id": "ac177e5f-fe91-46fd-b9cd-832b34e10649", + "name": "Easy-Installer-7.0-Question-Set-Editor", + "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", + "_exporter_id": "7237779" + }, + "item": [ + { + "name": "Editors", + "item": [ + { + "name": "Question-Set-Editor", + "item": [ + { + "name": "Object Category Definition Update", + "request": { + "method": "PATCH", + "header": [ + { + "key": "Authorization", + "value": "Bearer {{apikey}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"objectCategoryDefinition\": {\n \"forms\": {\n \"childMetadata\": {\n \"templateName\": \"\",\n \"required\": [],\n \"properties\": [\n {\n \"code\": \"name\",\n \"dataType\": \"text\",\n \"description\": \"Name of the content\",\n \"editable\": true,\n \"inputType\": \"text\",\n \"label\": \"Title\",\n \"name\": \"Title\",\n \"placeholder\": \"Title\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1 required\"\n },\n \"required\": true,\n \"visible\": true,\n \"validations\": [\n {\n \"type\": \"max\",\n \"value\": \"100\",\n \"message\": \"Input is Exceeded\"\n },\n {\n \"type\": \"required\",\n \"message\": \"Title is required\"\n }\n ]\n },\n {\n \"code\": \"board\",\n \"default\": \"\",\n \"visible\": true,\n \"editable\": false,\n \"dataType\": \"text\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"description\": \"Board\",\n \"label\": \"Board/Syllabus\",\n \"required\": false,\n \"name\": \"Board/Syllabus\",\n \"inputType\": \"select\",\n \"placeholder\": \"Select Board/Syllabus\"\n },\n {\n \"code\": \"medium\",\n \"visible\": true,\n \"editable\": true,\n \"default\": \"\",\n \"dataType\": \"list\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"description\": \"\",\n \"label\": \"Medium\",\n \"required\": false,\n \"name\": \"Medium\",\n \"inputType\": \"select\",\n \"placeholder\": \"Select Medium\"\n },\n {\n \"code\": \"gradeLevel\",\n \"visible\": true,\n \"editable\": true,\n \"default\": \"\",\n \"dataType\": \"list\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"description\": \"Class\",\n \"label\": \"Class\",\n \"required\": false,\n \"name\": \"Class\",\n \"inputType\": \"select\",\n \"placeholder\": \"Select Class\"\n },\n {\n \"code\": \"subject\",\n \"visible\": true,\n \"editable\": true,\n \"default\": \"\",\n \"dataType\": \"list\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"description\": \"\",\n \"label\": \"Subject\",\n \"required\": false,\n \"name\": \"Subject\",\n \"inputType\": \"select\",\n \"placeholder\": \"Select Subject\"\n },\n {\n \"code\": \"maxScore\",\n \"dataType\": \"number\",\n \"description\": \"Marks\",\n \"editable\": true,\n \"inputType\": \"text\",\n \"label\": \"Marks:\",\n \"name\": \"Marks\",\n \"placeholder\": \"Marks\",\n \"tooltip\": \"Provide marks of this question.\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1 required\"\n },\n \"validations\": [\n {\n \"type\": \"pattern\",\n \"value\": \"^[1-9]{1}[0-9]*$\",\n \"message\": \"Input should be numeric\"\n },\n {\n \"type\": \"required\",\n \"message\": \"Marks is required\"\n }\n ]\n }\n ]\n },\n \"create\": {\n \"templateName\": \"\",\n \"required\": [],\n \"properties\": [\n {\n \"name\": \"Basic details\",\n \"fields\": [\n {\n \"code\": \"appIcon\",\n \"name\": \"Icon\",\n \"label\": \"Icon\",\n \"placeholder\": \"Icon\",\n \"description\": \"Icon for the question set\",\n \"dataType\": \"text\",\n \"inputType\": \"appIcon\",\n \"editable\": true,\n \"required\": true,\n \"visible\": true,\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1 required\"\n }\n },\n {\n \"code\": \"name\",\n \"name\": \"Name\",\n \"label\": \"Name\",\n \"placeholder\": \"Name\",\n \"description\": \"Name of the QuestionSet\",\n \"dataType\": \"text\",\n \"inputType\": \"text\",\n \"editable\": true,\n \"required\": true,\n \"visible\": true,\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1 required\"\n },\n \"validations\": [\n {\n \"type\": \"max\",\n \"value\": \"120\",\n \"message\": \"Input is Exceeded\"\n },\n {\n \"type\": \"required\",\n \"message\": \"Name is required\"\n }\n ]\n },\n {\n \"code\": \"description\",\n \"name\": \"Description\",\n \"label\": \"Description\",\n \"placeholder\": \"Description\",\n \"description\": \"Description of the content\",\n \"dataType\": \"text\",\n \"inputType\": \"textarea\",\n \"editable\": true,\n \"required\": true,\n \"visible\": true,\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1 required\"\n },\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"description is required\"\n }\n ]\n },\n {\n \"code\": \"keywords\",\n \"name\": \"Keywords\",\n \"label\": \"keywords\",\n \"placeholder\": \"Enter Keywords\",\n \"description\": \"Keywords for the Question Set\",\n \"dataType\": \"list\",\n \"inputType\": \"keywords\",\n \"editable\": true,\n \"required\": false,\n \"visible\": true,\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n }\n },\n {\n \"code\": \"instructions\",\n \"name\": \"Instructions\",\n \"label\": \"Instructions\",\n \"placeholder\": \"Enter Instructions\",\n \"description\": \"Instructions for the question set\",\n \"dataType\": \"text\",\n \"inputType\": \"richtext\",\n \"editable\": true,\n \"required\": false,\n \"visible\": true,\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-2\"\n },\n \"validations\": [\n {\n \"type\": \"maxLength\",\n \"value\": \"500\",\n \"message\": \"Input is Exceeded\"\n }\n ]\n },\n {\n \"code\": \"primaryCategory\",\n \"name\": \"Type\",\n \"label\": \"Type\",\n \"placeholder\": \"\",\n \"description\": \"Type or Category of the Question Set\",\n \"dataType\": \"text\",\n \"inputType\": \"text\",\n \"editable\": false,\n \"required\": false,\n \"visible\": true,\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n }\n }\n ]\n },\n {\n \"name\": \"Framework details\",\n \"fields\": [\n {\n \"code\": \"board\",\n \"name\": \"Board/Syllabus\",\n \"label\": \"Board/Syllabus\",\n \"placeholder\": \"Select Board/Syllabus\",\n \"description\": \"Board or Syallbus of the Question Set\",\n \"default\": \"\",\n \"dataType\": \"text\",\n \"inputType\": \"select\",\n \"editable\": true,\n \"required\": true,\n \"visible\": true,\n \"depends\": [],\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1 required\"\n },\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"Board is required\"\n }\n ]\n },\n {\n \"code\": \"medium\",\n \"name\": \"Medium\",\n \"label\": \"Medium\",\n \"placeholder\": \"Select Medium\",\n \"description\": \"Medium of Instruction for the Question Set\",\n \"default\": \"\",\n \"dataType\": \"list\",\n \"inputType\": \"select\",\n \"editable\": true,\n \"required\": true,\n \"visible\": true,\n \"depends\": [\n \"board\"\n ],\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1 required\"\n },\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"Medium is required\"\n }\n ]\n },\n {\n \"code\": \"gradeLevel\",\n \"name\": \"Class\",\n \"label\": \"Class\",\n \"placeholder\": \"Select Class\",\n \"description\": \"Class of the Question Set\",\n \"default\": \"\",\n \"dataType\": \"list\",\n \"inputType\": \"select\",\n \"editable\": true,\n \"required\": true,\n \"visible\": true,\n \"depends\": [\n \"board\",\n \"medium\"\n ],\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1 required\"\n },\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"Class is required\"\n }\n ]\n },\n {\n \"code\": \"subject\",\n \"name\": \"Subject\",\n \"label\": \"Subject\",\n \"placeholder\": \"Select Subject\",\n \"description\": \"Subject of the Question Set\",\n \"default\": \"\",\n \"dataType\": \"list\",\n \"inputType\": \"select\",\n \"editable\": true,\n \"required\": true,\n \"visible\": true,\n \"depends\": [\n \"board\",\n \"medium\",\n \"gradeLevel\"\n ],\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1 required\"\n },\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"Subject is required\"\n }\n ]\n },\n {\n \"code\": \"audience\",\n \"name\": \"Audience\",\n \"label\": \"Audience\",\n \"placeholder\": \"Select Audience\",\n \"description\": \"Audience of the Question Set\",\n \"dataType\": \"list\",\n \"inputType\": \"select\",\n \"editable\": true,\n \"required\": true,\n \"visible\": true,\n \"range\": [\n \"Student\",\n \"Teacher\",\n \"Administrator\"\n ],\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1 required\"\n },\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"Audience is required\"\n }\n ]\n }\n ]\n },\n {\n \"name\": \"Question set behaviour\",\n \"fields\": [\n {\n \"code\": \"maxTime\",\n \"name\": \"MaxTimer\",\n \"label\": \"Set Maximum Time\",\n \"placeholder\": \"HH:mm:ss\",\n \"description\": \"This is the maximum time allowed for the users to complete the assessment\",\n \"default\": \"3600\",\n \"dataType\": \"text\",\n \"inputType\": \"timer\",\n \"editable\": true,\n \"required\": true,\n \"visible\": true,\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"validations\": [\n {\n \"type\": \"time\",\n \"message\": \"Please enter in hh:mm:ss\",\n \"value\": \"HH:mm:ss\"\n },\n {\n \"type\": \"max\",\n \"value\": \"05:59:59\",\n \"message\": \"max time should be less than 05:59:59\"\n }\n ]\n },\n {\n \"code\": \"showTimer\",\n \"name\": \"show Timer\",\n \"label\": \"show Timer\",\n \"placeholder\": \"show Timer\",\n \"description\": \"show Timer\",\n \"default\": false,\n \"dataType\": \"boolean\",\n \"inputType\": \"checkbox\",\n \"editable\": true,\n \"required\": false,\n \"visible\": true,\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n }\n },\n {\n \"code\": \"requiresSubmit\",\n \"name\": \"Submit Confirmation\",\n \"label\": \"Submit Confirmation Page\",\n \"placeholder\": \"Select Submit Confirmation\",\n \"description\": \"Allows users to review and submit the assessment\",\n \"dataType\": \"text\",\n \"inputType\": \"select\",\n \"output\": \"identifier\",\n \"range\": [\n {\n \"identifier\": \"Yes\",\n \"label\": \"Enable\"\n },\n {\n \"identifier\": \"No\",\n \"label\": \"Disable\"\n }\n ],\n \"editable\": true,\n \"required\": false,\n \"visible\": true,\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n }\n },\n {\n \"code\": \"maxAttempts\",\n \"name\": \"Max Attempts\",\n \"label\": \"Max Attempts\",\n \"placeholder\": \"Max Attempts\",\n \"description\": \"Max Attempts\",\n \"dataType\": \"number\",\n \"inputType\": \"select\",\n \"editable\": true,\n \"required\": false,\n \"visible\": true,\n \"range\": [\n 1,\n 2,\n 3,\n 4,\n 5,\n 6,\n 7,\n 8,\n 9,\n 10,\n 11,\n 12,\n 13,\n 14,\n 15,\n 16,\n 17,\n 18,\n 19,\n 20,\n 21,\n 22,\n 23,\n 24,\n 25\n ],\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n }\n },\n {\n \"code\": \"summaryType\",\n \"name\": \"summaryType\",\n \"label\": \"Summary Type\",\n \"placeholder\": \"Select Summary Type\",\n \"description\": \"summaryType\",\n \"dataType\": \"text\",\n \"inputType\": \"select\",\n \"editable\": true,\n \"required\": false,\n \"visible\": true,\n \"range\": [\n \"Complete\",\n \"Score\",\n \"Duration\",\n \"Score & Duration\"\n ],\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n }\n }\n ]\n }\n ]\n },\n \"search\": {\n \"templateName\": \"\",\n \"required\": [],\n \"properties\": [\n {\n \"code\": \"primaryCategory\",\n \"dataType\": \"list\",\n \"description\": \"Type\",\n \"editable\": true,\n \"default\": [],\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"inputType\": \"nestedselect\",\n \"label\": \"Question Type(s)\",\n \"name\": \"Type\",\n \"placeholder\": \"Select QuestionType\",\n \"required\": false,\n \"visible\": true\n },\n {\n \"code\": \"board\",\n \"visible\": true,\n \"depends\": [],\n \"editable\": true,\n \"dataType\": \"list\",\n \"description\": \"Board\",\n \"label\": \"Board\",\n \"required\": false,\n \"name\": \"Board\",\n \"inputType\": \"select\",\n \"placeholder\": \"Select Board\",\n \"output\": \"name\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n }\n },\n {\n \"code\": \"medium\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"list\",\n \"description\": \"Medium of Question\",\n \"label\": \"Medium(s)\",\n \"required\": false,\n \"name\": \"Medium\",\n \"inputType\": \"nestedselect\",\n \"placeholder\": \"Select Medium\",\n \"output\": \"name\",\n \"depends\": [\n \"board\"\n ],\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n }\n },\n {\n \"code\": \"gradeLevel\",\n \"visible\": true,\n \"depends\": [\n \"board\",\n \"medium\"\n ],\n \"editable\": true,\n \"default\": \"\",\n \"dataType\": \"list\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"description\": \"Class\",\n \"label\": \"Class(es)\",\n \"required\": false,\n \"name\": \"Class\",\n \"inputType\": \"nestedselect\",\n \"placeholder\": \"Select Class\",\n \"output\": \"name\"\n },\n {\n \"code\": \"subject\",\n \"visible\": true,\n \"depends\": [\n \"board\",\n \"medium\",\n \"gradeLevel\"\n ],\n \"editable\": true,\n \"default\": \"\",\n \"dataType\": \"list\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"description\": \"Subject of the Question\",\n \"label\": \"Subject(s)\",\n \"required\": false,\n \"name\": \"Subject\",\n \"inputType\": \"nestedselect\",\n \"placeholder\": \"Select Subject\",\n \"output\": \"name\"\n }\n ]\n },\n \"unitMetadata\": {\n \"templateName\": \"\",\n \"required\": [],\n \"properties\": [\n {\n \"code\": \"name\",\n \"dataType\": \"text\",\n \"description\": \"Name of the content\",\n \"editable\": true,\n \"inputType\": \"text\",\n \"label\": \"Title\",\n \"name\": \"Title\",\n \"placeholder\": \"Title\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1 required\"\n },\n \"required\": true,\n \"visible\": true,\n \"validations\": [\n {\n \"type\": \"max\",\n \"value\": \"120\",\n \"message\": \"Input is Exceeded\"\n },\n {\n \"type\": \"required\",\n \"message\": \"Title is required\"\n }\n ]\n },\n {\n \"code\": \"description\",\n \"dataType\": \"text\",\n \"description\": \"Description of the content\",\n \"editable\": true,\n \"inputType\": \"textarea\",\n \"label\": \"Description\",\n \"name\": \"Description\",\n \"placeholder\": \"Description\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1 required\"\n },\n \"required\": true,\n \"visible\": true,\n \"validations\": [\n {\n \"type\": \"max\",\n \"value\": \"500\",\n \"message\": \"Input is Exceeded\"\n }\n ]\n },\n {\n \"code\": \"instructions\",\n \"name\": \"Instructions\",\n \"label\": \"Instructions\",\n \"placeholder\": \"Enter Instructions\",\n \"description\": \"Instructions for the section\",\n \"dataType\": \"text\",\n \"inputType\": \"richtext\",\n \"editable\": true,\n \"required\": false,\n \"visible\": true,\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-2 required\"\n },\n \"validations\": [\n {\n \"type\": \"maxLength\",\n \"value\": \"500\",\n \"message\": \"Input is Exceeded\"\n }\n ]\n },\n {\n \"code\": \"maxQuestions\",\n \"name\": \"Show Questions\",\n \"label\": \"Count of questions to be displayed in this section\",\n \"placeholder\": \"Input count of questions to be displayed\",\n \"description\": \"By default all questions are shown unless specific count is entered.\",\n \"default\": \"\",\n \"dataType\": \"number\",\n \"inputType\": \"select\",\n \"editable\": true,\n \"required\": false,\n \"visible\": true,\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n }\n },\n {\n \"code\": \"shuffle\",\n \"name\": \"Shuffle Questions\",\n \"label\": \"Shuffle Questions\",\n \"placeholder\": \"Shuffle Questions\",\n \"description\": \"If shuffle questions is selected, users are presented with questions in a random order whenever they attempt the assessment\",\n \"default\": \"false\",\n \"dataType\": \"boolean\",\n \"inputType\": \"checkbox\",\n \"editable\": true,\n \"required\": false,\n \"visible\": true,\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n }\n },\n {\n \"code\": \"showFeedback\",\n \"name\": \"Show Feedback\",\n \"label\": \"Show Question Feedback\",\n \"placeholder\": \"Select Option\",\n \"description\": \"If feedback is selected, users are informed whether they have correctly answered question or not\",\n \"dataType\": \"boolean\",\n \"inputType\": \"checkbox\",\n \"editable\": true,\n \"required\": false,\n \"visible\": true,\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n }\n },\n {\n \"code\": \"showSolutions\",\n \"name\": \"Show Solution\",\n \"label\": \"Show Solution\",\n \"placeholder\": \"Select Option\",\n \"description\": \"If show solution is selected then solutions for each question will be shown to the user\",\n \"dataType\": \"boolean\",\n \"inputType\": \"checkbox\",\n \"editable\": true,\n \"required\": false,\n \"visible\": true,\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n }\n }\n ]\n }\n }\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{host}}/api/object/category/definition/v1/update/obj-cat:practice-question-set_questionset_all", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "object", + "category", + "definition", + "v1", + "update", + "obj-cat:practice-question-set_questionset_all" + ] + } + }, + "response": [] + } + ] + } + ] + } + ] +} diff --git a/postman-collection/ED-release700/Easy-Installer-7.0-editor-forms.postman_collection.json b/postman-collection/ED-release700/Easy-Installer-7.0-editor-forms.postman_collection.json new file mode 100644 index 0000000..acfcc4a --- /dev/null +++ b/postman-collection/ED-release700/Easy-Installer-7.0-editor-forms.postman_collection.json @@ -0,0 +1,485 @@ +{ + "info": { + "_postman_id": "650e84aa-d6b7-42ca-afa6-36005d849d3d", + "name": "Workspace forms", + "schema": "https://schema.getpostman.com/json/collection/v2.0.0/collection.json", + "_exporter_id": "2756860" + }, + "item": [ + { + "name": "ECML editor forms", + "item": [ + { + "name": "ECML Edit Form", + "request": { + "method": "POST", + "header": [ + { + "key": "Authorization", + "value": "Bearer {{apikey}}", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + }, + { + "key": "user-authenticated-token", + "value": "{{auth_token}}", + "type": "text", + "disabled": true + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"type\": \"content\",\n \"subtype\": \"resource\",\n \"action\": \"save\",\n \"framework\": \"*\",\n \"rootOrgId\": \"*\",\n \"data\": {\n \"templateName\": \"defaultTemplate\",\n \"action\": \"save\",\n \"fields\": [\n {\n \"code\": \"appicon\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"url\",\n \"renderingHints\": {},\n \"name\": \"App Icon\",\n \"description\": \"App Icon\",\n \"index\": 1,\n \"inputType\": \"file\",\n \"label\": \"Icon\",\n \"placeholder\": \"App Icon\",\n \"required\": false\n },\n {\n \"code\": \"name\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"text\",\n \"renderingHints\": {},\n \"name\": \"Title\",\n \"description\": \"Title of the content\",\n \"index\": 2,\n \"inputType\": \"text\",\n \"label\": \"Title\",\n \"placeholder\": \"Enter Title For Book\",\n \"required\": true\n },\n {\n \"code\": \"description\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"text\",\n \"renderingHints\": {},\n \"name\": \"Description\",\n \"description\": \"Brief description\",\n \"index\": 3,\n \"inputType\": \"textarea\",\n \"label\": \"Description\",\n \"placeholder\": \"Brief description about the Book\",\n \"required\": false\n },\n {\n \"code\": \"keywords\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"list\",\n \"name\": \"Keywords\",\n \"description\": \"Keywords for the content\",\n \"index\": 4,\n \"inputType\": \"keywordsuggestion\",\n \"label\": \"keywords\",\n \"placeholder\": \"Enter Keywords\",\n \"required\": false\n },\n {\n \"code\": \"primaryCategory\",\n \"visible\": true,\n \"editable\": false,\n \"dataType\": \"text\",\n \"renderingHints\": {},\n \"description\": \"Content Type\",\n \"index\": 5,\n \"label\": \"Content Type\",\n \"required\": true,\n \"name\": \"Content Type\",\n \"inputType\": \"text\",\n \"placeholder\": \"\"\n },\n {\n \"code\": \"additionalCategories\",\n \"dataType\": \"list\",\n \"description\": \"Additonal Category of the Content\",\n \"editable\": true,\n \"index\": 6,\n \"inputType\": \"multiselect\",\n \"label\": \"Additional Category\",\n \"name\": \"Additional Category\",\n \"placeholder\": \"Select Additional Category\",\n \"renderingHints\": {},\n \"range\": [\n \"CCT\",\n \"Classroom Teaching Video\",\n \"Concept Map\",\n \"Curiosity Question Set\",\n \"Textbook\",\n \"Experiential Resource\",\n \"Explanation Video\",\n \"FLN\",\n \"Focus Spot\",\n \"Learning Outcome Definition\",\n \"Marking Scheme Rubric\",\n \"Pedagogy Flow\",\n \"Lesson Plan\",\n \"Previous Board Exam Papers\",\n \"TV Lesson\"\n ],\n \"required\": false,\n \"visible\": true\n },\n {\n \"code\": \"board\",\n \"visible\": true,\n \"depends\": [\n \"medium\",\n \"gradeLevel\",\n \"subject\",\n \"topic\"\n ],\n \"editable\": true,\n \"dataType\": \"text\",\n \"renderingHints\": {},\n \"description\": \"Board\",\n \"index\": 7,\n \"label\": \"Board/Syllabus\",\n \"required\": false,\n \"name\": \"Board/Syllabus\",\n \"inputType\": \"select\",\n \"placeholder\": \"Select Board/Syllabus\"\n },\n {\n \"code\": \"medium\",\n \"visible\": true,\n \"depends\": [\n \"gradeLevel\",\n \"subject\",\n \"topic\"\n ],\n \"editable\": true,\n \"dataType\": \"list\",\n \"renderingHints\": {},\n \"description\": \"\",\n \"index\": 8,\n \"label\": \"Medium\",\n \"required\": false,\n \"name\": \"medium\",\n \"inputType\": \"multiselect\",\n \"placeholder\": \"Select Medium\"\n },\n {\n \"code\": \"gradeLevel\",\n \"visible\": true,\n \"depends\": [\n \"subject\",\n \"topic\"\n ],\n \"editable\": true,\n \"dataType\": \"list\",\n \"renderingHints\": {},\n \"description\": \"Class\",\n \"index\": 9,\n \"label\": \"Class\",\n \"required\": false,\n \"name\": \"Class\",\n \"inputType\": \"multiselect\",\n \"placeholder\": \"Select Class\"\n },\n {\n \"code\": \"subject\",\n \"visible\": true,\n \"depends\": [\n \"topic\"\n ],\n \"editable\": true,\n \"dataType\": \"list\",\n \"renderingHints\": {},\n \"description\": \"\",\n \"index\": 10,\n \"label\": \"Subject\",\n \"required\": false,\n \"name\": \"Subject\",\n \"inputType\": \"multiselect\",\n \"placeholder\": \"Select Subject\"\n },\n {\n \"code\": \"topic\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"list\",\n \"renderingHints\": {},\n \"name\": \"Topic\",\n \"description\": \"Choose a Topics\",\n \"index\": 11,\n \"inputType\": \"topicselector\",\n \"label\": \"Topics\",\n \"placeholder\": \"Choose Topics\",\n \"required\": false\n },\n {\n \"code\": \"audience\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"list\",\n \"renderingHints\": {},\n \"description\": \"\",\n \"index\": 12,\n \"range\": [\n \"Administrator\",\n \"Parent\",\n \"Student\",\n \"Teacher\",\n \"Other\"\n ],\n \"label\": \"Audience\",\n \"required\": false,\n \"name\": \"Audience\",\n \"inputType\": \"multiselect\",\n \"placeholder\": \"Select Audience\"\n },\n {\n \"code\": \"author\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"text\",\n \"renderingHints\": {},\n \"name\": \"Author\",\n \"description\": \"Original Author\",\n \"index\": 13,\n \"inputType\": \"text\",\n \"label\": \"Original Author\",\n \"placeholder\": \"Author\",\n \"required\": false\n },\n {\n \"code\": \"attributions\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"list\",\n \"renderingHints\": {},\n \"name\": \"attribution\",\n \"description\": \"Attributions\",\n \"index\": 14,\n \"inputType\": \"text\",\n \"label\": \"Attributions\",\n \"placeholder\": \"Attributions\",\n \"required\": false\n },\n {\n \"code\": \"copyright\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"text\",\n \"renderingHints\": {},\n \"name\": \"Copyright\",\n \"description\": \"Copyright\",\n \"index\": 15,\n \"inputType\": \"text\",\n \"label\": \"Copyright\",\n \"placeholder\": \"Copyright\",\n \"required\": false\n },\n {\n \"code\": \"copyrightYear\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"list\",\n \"renderingHints\": {},\n \"description\": \"Year of Creation\",\n \"index\": 16,\n \"label\": \"Year of Creation\",\n \"required\": true,\n \"name\": \"Year of Creation\",\n \"inputType\": \"number\",\n \"placeholder\": \"Enter Year of Creation\",\n \"validation\": [\n {\n \"type\": \"min\",\n \"message\": \"Maximum length of the year should be 4\",\n \"value\": \"4\"\n },\n {\n \"type\": \"max\",\n \"message\": \"Minimum length of the year should be 4\",\n \"value\": \"4\"\n }\n ]\n },\n {\n \"code\": \"displayScore\",\n \"dataType\": \"boolean\",\n \"description\": \"Display Score\",\n \"editable\": true,\n \"inputType\": \"select\",\n \"range\": [\n {\n \"name\": \"Yes\",\n \"value\": \"true\"\n },\n {\n \"name\": \"No\",\n \"value\": \"false\"\n }\n ],\n \"label\": \"Display Score\",\n \"name\": \"Display Score\",\n \"placeholder\": \"Display Score\",\n \"renderingHints\": {},\n \"required\": false,\n \"visible\": true,\n \"index\": 17\n },\n {\n \"code\": \"maxAttempts\",\n \"dataType\": \"number\",\n \"description\": \"Max no of attempts\",\n \"editable\": true,\n \"inputType\": \"number\",\n \"label\": \"Max no of attempts\",\n \"name\": \"Max no of attempts\",\n \"placeholder\": \"Max no of attempts\",\n \"renderingHints\": {},\n \"required\": false,\n \"visible\": true,\n \"index\": 18\n },\n {\n \"code\": \"license\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"text\",\n \"renderingHints\": {},\n \"name\": \"license\",\n \"description\": \"License of the content\",\n \"index\": 19,\n \"inputType\": \"licenses\",\n \"label\": \"license\",\n \"placeholder\": \"license\",\n \"required\": true\n },\n {\n \"code\": \"licenseterms\",\n \"visible\": true,\n \"editable\": true,\n \"defaultValue\": \"By creating any type of content (resources, books, courses etc.) on DIKSHA, you consent to publish it under the Creative Commons License Framework. Please choose the applicable creative commons license you wish to apply to your content.\",\n \"dataType\": \"text\",\n \"renderingHints\": {\n \"value\": {\n \"video/x-youtube\": \"By linking or uploading YouTube videos on DIKSHA, you consent to publishing it as per the terms of the YouTube video license. DIKSHA accepts only videos with YouTube Standard License or Creative Commons License.\"\n },\n \"class\": \"twelve wide field\"\n },\n \"description\": \"licenseterms\",\n \"index\": 20,\n \"label\": \"License Terms\",\n \"required\": false,\n \"name\": \"licenseterms\",\n \"inputType\": \"label\",\n \"placeholder\": \"license\"\n },\n {\n \"code\": \"sunbirdBootcamp01\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"list\",\n \"renderingHints\": {},\n \"name\": \"Sunbird Boot camp\",\n \"description\": \"Sunbird Boot camp\",\n \"index\": 21,\n \"range\": [\n \"BootCamp01\",\n \"BootCamp02\",\n \"BootCamp03\"\n ],\n \"inputType\": \"select\",\n \"label\": \"Sunbird Boot camp\",\n \"placeholder\": \"Sunbird Boot camp\",\n \"required\": false\n }\n ]\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": "{{host}}/api/data/v1/form/create" + }, + "response": [] + }, + { + "name": "ECML Review Form", + "request": { + "method": "POST", + "header": [ + { + "key": "Authorization", + "value": "Bearer {{apikey}}", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + }, + { + "key": "user-authenticated-token", + "value": "{{auth_token}}", + "type": "text", + "disabled": true + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"type\": \"content\",\n \"subtype\": \"resource\",\n \"action\": \"review\",\n \"rootOrgId\": \"*\",\n \"framework\": \"*\",\n \"data\": {\n \"templateName\": \"defaultTemplate\",\n \"action\": \"review\",\n \"fields\": [\n {\n \"code\": \"appicon\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"url\",\n \"renderingHints\": {},\n \"name\": \"App Icon\",\n \"description\": \"App Icon\",\n \"index\": 1,\n \"inputType\": \"file\",\n \"label\": \"Icon\",\n \"placeholder\": \"App Icon\",\n \"required\": true\n },\n {\n \"code\": \"name\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"text\",\n \"renderingHints\": {},\n \"name\": \"Title\",\n \"description\": \"Title of the content\",\n \"index\": 2,\n \"inputType\": \"text\",\n \"label\": \"Title\",\n \"placeholder\": \"Enter Title For Book\",\n \"required\": true\n },\n {\n \"code\": \"description\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"text\",\n \"renderingHints\": {},\n \"name\": \"Description\",\n \"description\": \"Brief description\",\n \"index\": 3,\n \"inputType\": \"textarea\",\n \"label\": \"Description\",\n \"placeholder\": \"Brief description about the Book\",\n \"required\": false\n },\n {\n \"code\": \"keywords\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"list\",\n \"name\": \"Keywords\",\n \"description\": \"Keywords for the content\",\n \"index\": 4,\n \"inputType\": \"keywordsuggestion\",\n \"label\": \"keywords\",\n \"placeholder\": \"Enter Keywords\",\n \"required\": false\n },\n {\n \"code\": \"primaryCategory\",\n \"visible\": true,\n \"editable\": false,\n \"dataType\": \"text\",\n \"renderingHints\": {},\n \"description\": \"Content Type\",\n \"index\": 5,\n \"label\": \"Content Type\",\n \"required\": true,\n \"name\": \"Content Type\",\n \"inputType\": \"text\",\n \"placeholder\": \"\"\n },\n {\n \"code\": \"additionalCategories\",\n \"dataType\": \"list\",\n \"description\": \"Additonal Category of the Content\",\n \"editable\": true,\n \"index\": 6,\n \"inputType\": \"multiselect\",\n \"label\": \"Additional Category\",\n \"name\": \"Additional Category\",\n \"placeholder\": \"Select Additional Category\",\n \"renderingHints\": {},\n \"range\": [\n \"CCT\",\n \"Classroom Teaching Video\",\n \"Concept Map\",\n \"Curiosity Question Set\",\n \"Textbook\",\n \"Experiential Resource\",\n \"Explanation Video\",\n \"FLN\",\n \"Focus Spot\",\n \"Learning Outcome Definition\",\n \"Marking Scheme Rubric\",\n \"Pedagogy Flow\",\n \"Lesson Plan\",\n \"Previous Board Exam Papers\",\n \"TV Lesson\"\n ],\n \"required\": false,\n \"visible\": true\n },\n {\n \"code\": \"board\",\n \"visible\": true,\n \"depends\": [\n \"medium\",\n \"gradeLevel\",\n \"subject\",\n \"topic\"\n ],\n \"editable\": true,\n \"dataType\": \"text\",\n \"renderingHints\": {},\n \"description\": \"Board\",\n \"index\": 7,\n \"label\": \"Board/Syllabus\",\n \"required\": true,\n \"name\": \"Board/Syllabus\",\n \"inputType\": \"select\",\n \"placeholder\": \"Select Board/Syllabus\"\n },\n {\n \"code\": \"medium\",\n \"visible\": true,\n \"depends\": [\n \"gradeLevel\",\n \"subject\",\n \"topic\"\n ],\n \"editable\": true,\n \"dataType\": \"list\",\n \"renderingHints\": {},\n \"description\": \"\",\n \"index\": 8,\n \"label\": \"Medium\",\n \"required\": true,\n \"name\": \"medium\",\n \"inputType\": \"multiselect\",\n \"placeholder\": \"Select Medium\"\n },\n {\n \"code\": \"gradeLevel\",\n \"visible\": true,\n \"depends\": [\n \"subject\",\n \"topic\"\n ],\n \"editable\": true,\n \"dataType\": \"list\",\n \"renderingHints\": {},\n \"description\": \"Class\",\n \"index\": 9,\n \"label\": \"Class\",\n \"required\": true,\n \"name\": \"Class\",\n \"inputType\": \"multiselect\",\n \"placeholder\": \"Select Class\"\n },\n {\n \"code\": \"subject\",\n \"visible\": true,\n \"depends\": [\n \"topic\"\n ],\n \"editable\": true,\n \"dataType\": \"list\",\n \"renderingHints\": {},\n \"description\": \"\",\n \"index\": 10,\n \"label\": \"Subject\",\n \"required\": true,\n \"name\": \"Subject\",\n \"inputType\": \"multiselect\",\n \"placeholder\": \"Select Subject\"\n },\n {\n \"code\": \"topic\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"list\",\n \"renderingHints\": {},\n \"name\": \"Topic\",\n \"description\": \"Choose a Topics\",\n \"index\": 11,\n \"inputType\": \"topicselector\",\n \"label\": \"Topics\",\n \"placeholder\": \"Choose Topics\",\n \"required\": false\n },\n {\n \"code\": \"audience\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"list\",\n \"renderingHints\": {},\n \"description\": \"\",\n \"index\": 12,\n \"range\": [\n \"Administrator\",\n \"Parent\",\n \"Student\",\n \"Teacher\",\n \"Other\"\n ],\n \"label\": \"Audience\",\n \"required\": false,\n \"name\": \"Audience\",\n \"inputType\": \"multiselect\",\n \"placeholder\": \"Select Audience\"\n },\n {\n \"code\": \"author\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"text\",\n \"renderingHints\": {},\n \"name\": \"Author\",\n \"description\": \"Original Author\",\n \"index\": 13,\n \"inputType\": \"text\",\n \"label\": \"Original Author\",\n \"placeholder\": \"Author\",\n \"required\": false\n },\n {\n \"code\": \"attributions\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"list\",\n \"renderingHints\": {},\n \"name\": \"attribution\",\n \"description\": \"Attributions\",\n \"index\": 14,\n \"inputType\": \"text\",\n \"label\": \"Attributions\",\n \"placeholder\": \"Attributions\",\n \"required\": false\n },\n {\n \"code\": \"copyright\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"text\",\n \"renderingHints\": {},\n \"name\": \"Copyright\",\n \"description\": \"Copyright\",\n \"index\": 15,\n \"inputType\": \"text\",\n \"label\": \"Copyright\",\n \"placeholder\": \"Copyright\",\n \"required\": false\n },\n {\n \"code\": \"copyrightYear\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"list\",\n \"renderingHints\": {},\n \"description\": \"Year of Creation\",\n \"index\": 16,\n \"label\": \"Year of Creation\",\n \"required\": true,\n \"name\": \"Year of Creation\",\n \"inputType\": \"number\",\n \"placeholder\": \"Enter Year of Creation\",\n \"validation\": [\n {\n \"type\": \"min\",\n \"message\": \"Maximum length of the year should be 4\",\n \"value\": \"4\"\n },\n {\n \"type\": \"max\",\n \"message\": \"Minimum length of the year should be 4\",\n \"value\": \"4\"\n }\n ]\n },\n {\n \"code\": \"displayScore\",\n \"dataType\": \"boolean\",\n \"description\": \"Display Score\",\n \"editable\": true,\n \"inputType\": \"select\",\n \"range\": [\n {\n \"name\": \"Yes\",\n \"value\": \"true\"\n },\n {\n \"name\": \"No\",\n \"value\": \"false\"\n }\n ],\n \"label\": \"Display Score\",\n \"name\": \"Display Score\",\n \"placeholder\": \"Display Score\",\n \"renderingHints\": {},\n \"required\": false,\n \"visible\": true,\n \"index\": 17\n },\n {\n \"code\": \"license\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"text\",\n \"renderingHints\": {},\n \"name\": \"license\",\n \"description\": \"License of the content\",\n \"index\": 18,\n \"inputType\": \"licenses\",\n \"label\": \"license\",\n \"placeholder\": \"license\",\n \"required\": true\n },\n {\n \"code\": \"licenseterms\",\n \"visible\": true,\n \"editable\": true,\n \"defaultValue\": \"By creating any type of content (resources, books, courses etc.) on DIKSHA, you consent to publish it under the Creative Commons License Framework. Please choose the applicable creative commons license you wish to apply to your content.\",\n \"dataType\": \"text\",\n \"renderingHints\": {\n \"value\": {\n \"video/x-youtube\": \"By linking or uploading YouTube videos on DIKSHA, you consent to publishing it as per the terms of the YouTube video license. DIKSHA accepts only videos with YouTube Standard License or Creative Commons License.\"\n },\n \"class\": \"twelve wide field\"\n },\n \"description\": \"licenseterms\",\n \"index\": 19,\n \"label\": \"License Terms\",\n \"required\": false,\n \"name\": \"licenseterms\",\n \"inputType\": \"label\",\n \"placeholder\": \"license\"\n }\n ]\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": "{{host}}/api/data/v1/form/create" + }, + "response": [] + }, + { + "name": "ECML QuestionSet Filters Form", + "request": { + "method": "POST", + "header": [ + { + "key": "Authorization", + "value": "Bearer {{apikey}}", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + }, + { + "key": "user-authenticated-token", + "value": "{{auth_token}}", + "type": "text", + "disabled": true + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"type\": \"content\",\n \"subtype\": \"questions\",\n \"action\": \"question-filter-view\",\n \"rootOrgId\": \"*\",\n \"framework\": \"*\",\n \"data\": {\n \"templateName\": \"filterMetaDataTemplate\",\n \"action\": \"question-filter-view\",\n \"fields\": [\n {\n \"code\": \"searchText\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"text\",\n \"renderingHints\": {},\n \"name\": \"Search\",\n \"description\": \" by question title\",\n \"index\": 0,\n \"inputType\": \"text\",\n \"label\": \"Search\",\n \"placeholder\": \"Search by question title\",\n \"required\": false\n },\n {\n \"code\": \"level\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"text\",\n \"renderingHints\": {},\n \"description\": \"Add Notes\",\n \"index\": 2,\n \"range\": [\n \"EASY\",\n \"MEDIUM\",\n \"DIFFICULT\"\n ],\n \"label\": \"Difficulty\",\n \"required\": false,\n \"name\": \"level\",\n \"inputType\": \"select\",\n \"placeholder\": \"Select Level\"\n },\n {\n \"code\": \"questionType\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"list\",\n \"renderingHints\": {},\n \"description\": \"Class\",\n \"index\": 3,\n \"range\": [\n \"Multiple Choice Questions\",\n \"Fill in the Blanks\",\n \"Match the Following\"\n ],\n \"label\": \"Question Type\",\n \"required\": false,\n \"name\": \"Question Type\",\n \"inputType\": \"multiselect\",\n \"placeholder\": \"Question Type\"\n },\n {\n \"code\": \"board\",\n \"visible\": true,\n \"depends\": [\n \"medium\",\n \"gradeLevel\",\n \"subject\",\n \"topic\"\n ],\n \"editable\": true,\n \"displayProperty\": \"Editable\",\n \"dataType\": \"text\",\n \"renderingHints\": {\n \"semanticColumnWidth\": \"four\"\n },\n \"description\": \"Board\",\n \"index\": 4,\n \"label\": \"Board/Syllabus\",\n \"required\": false,\n \"name\": \"Board/Syllabus\",\n \"inputType\": \"select\",\n \"placeholder\": \"Select Board/Syllabus\"\n },\n {\n \"code\": \"medium\",\n \"visible\": true,\n \"depends\": [\n \"gradeLevel\",\n \"subject\",\n \"topic\"\n ],\n \"editable\": true,\n \"dataType\": \"text\",\n \"renderingHints\": {},\n \"description\": \"\",\n \"index\": 5,\n \"label\": \"Medium\",\n \"required\": false,\n \"name\": \"Medium\",\n \"inputType\": \"select\",\n \"placeholder\": \"Select Medium\"\n },\n {\n \"code\": \"gradeLevel\",\n \"visible\": true,\n \"depends\": [\n \"subject\",\n \"topic\"\n ],\n \"editable\": true,\n \"dataType\": \"list\",\n \"renderingHints\": {},\n \"description\": \"Class\",\n \"index\": 6,\n \"label\": \"Class\",\n \"required\": false,\n \"name\": \"Class\",\n \"inputType\": \"multiselect\",\n \"placeholder\": \"Select Class\"\n },\n {\n \"code\": \"subject\",\n \"visible\": true,\n \"depends\": [\n \"topic\"\n ],\n \"editable\": true,\n \"dataType\": \"text\",\n \"renderingHints\": {},\n \"description\": \"\",\n \"index\": 7,\n \"label\": \"Subject\",\n \"required\": false,\n \"name\": \"Subject\",\n \"inputType\": \"select\",\n \"placeholder\": \"Select Subject\"\n },\n {\n \"code\": \"topic\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"list\",\n \"renderingHints\": {},\n \"name\": \"Topic\",\n \"description\": \"Choose a Topics\",\n \"index\": 8,\n \"inputType\": \"topicselector\",\n \"label\": \"Topics\",\n \"placeholder\": \"Choose Topics\",\n \"required\": false\n },\n {\n \"code\": \"myQuestions\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"toggle\",\n \"renderingHints\": {},\n \"name\": \"My Questions\",\n \"description\": \"My Questions\",\n \"index\": 9,\n \"inputType\": \"checkbox\",\n \"label\": \"My Questions\",\n \"placeholder\": \"My Questions\",\n \"required\": false\n }\n ]\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": "{{host}}/api/data/v1/form/create" + }, + "response": [] + }, + { + "name": "ECML QuestionSet Creation Form", + "request": { + "method": "POST", + "header": [ + { + "key": "Authorization", + "value": "Bearer {{apikey}}", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + }, + { + "key": "user-authenticated-token", + "value": "{{auth_token}}", + "type": "text", + "disabled": true + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"type\": \"content\",\n \"subtype\": \"questions\",\n \"action\": \"question-meta-save\",\n \"rootOrgId\": \"*\",\n \"framework\": \"*\",\n \"data\": {\n \"templateName\": \"questionMetaDataTemplate\",\n \"action\": \"question-meta-save\",\n \"fields\": [\n {\n \"code\": \"name\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"text\",\n \"renderingHints\": {},\n \"name\": \"Title\",\n \"description\": \"Title of the question\",\n \"index\": 0,\n \"inputType\": \"text\",\n \"label\": \"Title\",\n \"placeholder\": \"Enter the Title\",\n \"required\": true\n },\n {\n \"code\": \"description\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"text\",\n \"renderingHints\": {},\n \"name\": \"Description\",\n \"description\": \"Brief description\",\n \"index\": 1,\n \"inputType\": \"textarea\",\n \"label\": \"Description\",\n \"placeholder\": \"Enter the Description\",\n \"required\": false\n },\n {\n \"code\": \"board\",\n \"visible\": true,\n \"depends\": [\n \"medium\",\n \"gradeLevel\",\n \"subject\",\n \"topic\"\n ],\n \"editable\": true,\n \"dataType\": \"text\",\n \"renderingHints\": {},\n \"description\": \"board\",\n \"index\": 2,\n \"label\": \"Board/Syllabus\",\n \"required\": true,\n \"name\": \"Board/Syllabus\",\n \"inputType\": \"select\",\n \"placeholder\": \"Select Board/Syllabus\"\n },\n {\n \"code\": \"medium\",\n \"visible\": true,\n \"depends\": [\n \"gradeLevel\",\n \"subject\",\n \"topic\"\n ],\n \"editable\": true,\n \"dataType\": \"text\",\n \"renderingHints\": {},\n \"description\": \"\",\n \"index\": 3,\n \"label\": \"Medium\",\n \"required\": true,\n \"name\": \"medium\",\n \"inputType\": \"select\",\n \"placeholder\": \"Select Medium\"\n },\n {\n \"code\": \"gradeLevel\",\n \"visible\": true,\n \"depends\": [\n \"subject\",\n \"topic\"\n ],\n \"editable\": true,\n \"dataType\": \"list\",\n \"renderingHints\": {},\n \"description\": \"Class\",\n \"index\": 4,\n \"label\": \"Grade Level\",\n \"required\": true,\n \"name\": \"Class\",\n \"inputType\": \"multiselect\",\n \"placeholder\": \"Select Grade\"\n },\n {\n \"code\": \"subject\",\n \"visible\": true,\n \"depends\": [\n \"topic\"\n ],\n \"editable\": true,\n \"dataType\": \"text\",\n \"renderingHints\": {},\n \"description\": \"Add subjects\",\n \"index\": 5,\n \"label\": \"Subject\",\n \"required\": true,\n \"name\": \"subject\",\n \"inputType\": \"select\",\n \"placeholder\": \"Select Subject\"\n },\n {\n \"code\": \"topic\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"list\",\n \"renderingHints\": {},\n \"name\": \"Topic\",\n \"description\": \"Choose a topics\",\n \"index\": 6,\n \"inputType\": \"topicselector\",\n \"label\": \"Topic\",\n \"placeholder\": \"Choose Topics\",\n \"required\": false\n },\n {\n \"code\": \"qlevel\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"text\",\n \"renderingHints\": {},\n \"description\": \"Add Notes\",\n \"index\": 7,\n \"range\": [\n \"EASY\",\n \"MEDIUM\",\n \"DIFFICULT\"\n ],\n \"label\": \"Level\",\n \"required\": true,\n \"name\": \"qlevel\",\n \"inputType\": \"select\",\n \"placeholder\": \"Select Level\"\n },\n {\n \"code\": \"max_score\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"number\",\n \"renderingHints\": {},\n \"description\": \"\",\n \"index\": 8,\n \"label\": \"Max Score\",\n \"required\": true,\n \"name\": \"max_score\",\n \"inputType\": \"number\",\n \"placeholder\": \"Enter the Max Score\",\n \"validation\": [\n {\n \"type\": \"min\",\n \"message\": \"\",\n \"value\": \"1\"\n }\n ]\n }\n ]\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": "{{host}}/api/data/v1/form/create" + }, + "response": [] + } + ] + }, + { + "name": "Upload editor forms", + "item": [ + { + "name": "UploadEditor Edit Form", + "request": { + "method": "POST", + "header": [ + { + "key": "Authorization", + "value": "Bearer {{apikey}}", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + }, + { + "key": "user-authenticated-token", + "value": "{{auth_token}}", + "type": "text", + "disabled": true + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"type\": \"content\",\n \"subtype\": \"resource\",\n \"action\": \"save\",\n \"framework\": \"*\",\n \"rootOrgId\": \"*\",\n \"data\": {\n \"templateName\": \"defaultTemplate\",\n \"action\": \"save\",\n \"fields\": [\n {\n \"code\": \"appicon\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"url\",\n \"renderingHints\": {},\n \"name\": \"App Icon\",\n \"description\": \"App Icon\",\n \"index\": 1,\n \"inputType\": \"file\",\n \"label\": \"Icon\",\n \"placeholder\": \"App Icon\",\n \"required\": false\n },\n {\n \"code\": \"name\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"text\",\n \"renderingHints\": {},\n \"name\": \"Title\",\n \"description\": \"Title of the content\",\n \"index\": 2,\n \"inputType\": \"text\",\n \"label\": \"Title\",\n \"placeholder\": \"Enter Title For Book\",\n \"required\": true\n },\n {\n \"code\": \"description\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"text\",\n \"renderingHints\": {},\n \"name\": \"Description\",\n \"description\": \"Brief description\",\n \"index\": 3,\n \"inputType\": \"textarea\",\n \"label\": \"Description\",\n \"placeholder\": \"Brief description about the Book\",\n \"required\": false\n },\n {\n \"code\": \"keywords\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"list\",\n \"name\": \"Keywords\",\n \"description\": \"Keywords for the content\",\n \"index\": 4,\n \"inputType\": \"keywordsuggestion\",\n \"label\": \"keywords\",\n \"placeholder\": \"Enter Keywords\",\n \"required\": false\n },\n {\n \"code\": \"primaryCategory\",\n \"visible\": true,\n \"editable\": false,\n \"dataType\": \"text\",\n \"renderingHints\": {},\n \"description\": \"Content Type\",\n \"index\": 5,\n \"label\": \"Content Type\",\n \"required\": true,\n \"name\": \"Content Type\",\n \"inputType\": \"text\",\n \"placeholder\": \"\"\n },\n {\n \"code\": \"additionalCategories\",\n \"dataType\": \"list\",\n \"description\": \"Additonal Category of the Content\",\n \"editable\": true,\n \"index\": 6,\n \"inputType\": \"multiselect\",\n \"label\": \"Additional Category\",\n \"name\": \"Additional Category\",\n \"placeholder\": \"Select Additional Category\",\n \"renderingHints\": {},\n \"range\": [\n \"CCT\",\n \"Classroom Teaching Video\",\n \"Concept Map\",\n \"Curiosity Question Set\",\n \"Textbook\",\n \"Experiential Resource\",\n \"Explanation Video\",\n \"FLN\",\n \"Focus Spot\",\n \"Learning Outcome Definition\",\n \"Marking Scheme Rubric\",\n \"Pedagogy Flow\",\n \"Lesson Plan\",\n \"Previous Board Exam Papers\",\n \"TV Lesson\"\n ],\n \"required\": false,\n \"visible\": true\n },\n {\n \"code\": \"board\",\n \"visible\": true,\n \"depends\": [\n \"medium\",\n \"gradeLevel\",\n \"subject\",\n \"topic\"\n ],\n \"editable\": true,\n \"dataType\": \"text\",\n \"renderingHints\": {},\n \"description\": \"Board\",\n \"index\": 7,\n \"label\": \"Board/Syllabus\",\n \"required\": false,\n \"name\": \"Board/Syllabus\",\n \"inputType\": \"select\",\n \"placeholder\": \"Select Board/Syllabus\"\n },\n {\n \"code\": \"medium\",\n \"visible\": true,\n \"depends\": [\n \"gradeLevel\",\n \"subject\",\n \"topic\"\n ],\n \"editable\": true,\n \"dataType\": \"list\",\n \"renderingHints\": {},\n \"description\": \"\",\n \"index\": 8,\n \"label\": \"Medium\",\n \"required\": false,\n \"name\": \"medium\",\n \"inputType\": \"multiselect\",\n \"placeholder\": \"Select Medium\"\n },\n {\n \"code\": \"gradeLevel\",\n \"visible\": true,\n \"depends\": [\n \"subject\",\n \"topic\"\n ],\n \"editable\": true,\n \"dataType\": \"list\",\n \"renderingHints\": {},\n \"description\": \"Class\",\n \"index\": 9,\n \"label\": \"Class\",\n \"required\": false,\n \"name\": \"Class\",\n \"inputType\": \"multiselect\",\n \"placeholder\": \"Select Class\"\n },\n {\n \"code\": \"subject\",\n \"visible\": true,\n \"depends\": [\n \"topic\"\n ],\n \"editable\": true,\n \"dataType\": \"list\",\n \"renderingHints\": {},\n \"description\": \"\",\n \"index\": 10,\n \"label\": \"Subject\",\n \"required\": false,\n \"name\": \"Subject\",\n \"inputType\": \"multiselect\",\n \"placeholder\": \"Select Subject\"\n },\n {\n \"code\": \"topic\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"list\",\n \"renderingHints\": {},\n \"name\": \"Topic\",\n \"description\": \"Choose a Topics\",\n \"index\": 11,\n \"inputType\": \"topicselector\",\n \"label\": \"Topics\",\n \"placeholder\": \"Choose Topics\",\n \"required\": false\n },\n {\n \"code\": \"audience\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"list\",\n \"renderingHints\": {},\n \"description\": \"\",\n \"index\": 12,\n \"range\": [\n \"Administrator\",\n \"Parent\",\n \"Student\",\n \"Teacher\",\n \"Other\"\n ],\n \"label\": \"Audience\",\n \"required\": false,\n \"name\": \"Audience\",\n \"inputType\": \"multiselect\",\n \"placeholder\": \"Select Audience\"\n },\n {\n \"code\": \"author\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"text\",\n \"renderingHints\": {},\n \"name\": \"Author\",\n \"description\": \"Original Author\",\n \"index\": 13,\n \"inputType\": \"text\",\n \"label\": \"Original Author\",\n \"placeholder\": \"Author\",\n \"required\": false\n },\n {\n \"code\": \"attributions\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"list\",\n \"renderingHints\": {},\n \"name\": \"attribution\",\n \"description\": \"Attributions\",\n \"index\": 14,\n \"inputType\": \"text\",\n \"label\": \"Attributions\",\n \"placeholder\": \"Attributions\",\n \"required\": false\n },\n {\n \"code\": \"copyright\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"text\",\n \"renderingHints\": {},\n \"name\": \"Copyright\",\n \"description\": \"Copyright\",\n \"index\": 15,\n \"inputType\": \"text\",\n \"label\": \"Copyright\",\n \"placeholder\": \"Copyright\",\n \"required\": false\n },\n {\n \"code\": \"copyrightYear\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"list\",\n \"renderingHints\": {},\n \"description\": \"Year of Creation\",\n \"index\": 16,\n \"label\": \"Year of Creation\",\n \"required\": true,\n \"name\": \"Year of Creation\",\n \"inputType\": \"number\",\n \"placeholder\": \"Enter Year of Creation\",\n \"validation\": [\n {\n \"type\": \"min\",\n \"message\": \"Maximum length of the year should be 4\",\n \"value\": \"4\"\n },\n {\n \"type\": \"max\",\n \"message\": \"Minimum length of the year should be 4\",\n \"value\": \"4\"\n }\n ]\n },\n {\n \"code\": \"displayScore\",\n \"dataType\": \"boolean\",\n \"description\": \"Display Score\",\n \"editable\": true,\n \"inputType\": \"select\",\n \"range\": [\n {\n \"name\": \"Yes\",\n \"value\": \"true\"\n },\n {\n \"name\": \"No\",\n \"value\": \"false\"\n }\n ],\n \"label\": \"Display Score\",\n \"name\": \"Display Score\",\n \"placeholder\": \"Display Score\",\n \"renderingHints\": {},\n \"required\": false,\n \"visible\": true,\n \"index\": 17\n },\n {\n \"code\": \"maxAttempts\",\n \"dataType\": \"number\",\n \"description\": \"Max no of attempts\",\n \"editable\": true,\n \"inputType\": \"number\",\n \"label\": \"Max no of attempts\",\n \"name\": \"Max no of attempts\",\n \"placeholder\": \"Max no of attempts\",\n \"renderingHints\": {},\n \"required\": false,\n \"visible\": true,\n \"index\": 18\n },\n {\n \"code\": \"license\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"text\",\n \"renderingHints\": {},\n \"name\": \"license\",\n \"description\": \"License of the content\",\n \"index\": 19,\n \"inputType\": \"licenses\",\n \"label\": \"license\",\n \"placeholder\": \"license\",\n \"required\": true\n },\n {\n \"code\": \"licenseterms\",\n \"visible\": true,\n \"editable\": true,\n \"defaultValue\": \"By creating any type of content (resources, books, courses etc.) on DIKSHA, you consent to publish it under the Creative Commons License Framework. Please choose the applicable creative commons license you wish to apply to your content.\",\n \"dataType\": \"text\",\n \"renderingHints\": {\n \"value\": {\n \"video/x-youtube\": \"By linking or uploading YouTube videos on DIKSHA, you consent to publishing it as per the terms of the YouTube video license. DIKSHA accepts only videos with YouTube Standard License or Creative Commons License.\"\n },\n \"class\": \"twelve wide field\"\n },\n \"description\": \"licenseterms\",\n \"index\": 20,\n \"label\": \"License Terms\",\n \"required\": false,\n \"name\": \"licenseterms\",\n \"inputType\": \"label\",\n \"placeholder\": \"license\"\n },\n {\n \"code\": \"sunbirdBootcamp01\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"list\",\n \"renderingHints\": {},\n \"name\": \"Sunbird Boot camp\",\n \"description\": \"Sunbird Boot camp\",\n \"index\": 21,\n \"range\": [\n \"BootCamp01\",\n \"BootCamp02\",\n \"BootCamp03\"\n ],\n \"inputType\": \"select\",\n \"label\": \"Sunbird Boot camp\",\n \"placeholder\": \"Sunbird Boot camp\",\n \"required\": false\n }\n ]\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": "{{host}}/api/data/v1/form/create" + }, + "response": [] + }, + { + "name": "UploadEditor Review Form", + "request": { + "method": "POST", + "header": [ + { + "key": "Authorization", + "value": "Bearer {{apikey}}", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + }, + { + "key": "user-authenticated-token", + "value": "{{auth_token}}", + "type": "text", + "disabled": true + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"type\": \"content\",\n \"subtype\": \"resource\",\n \"action\": \"review\",\n \"rootOrgId\": \"*\",\n \"framework\": \"*\",\n \"data\": {\n \"templateName\": \"defaultTemplate\",\n \"action\": \"review\",\n \"fields\": [\n {\n \"code\": \"appicon\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"url\",\n \"renderingHints\": {},\n \"name\": \"App Icon\",\n \"description\": \"App Icon\",\n \"index\": 1,\n \"inputType\": \"file\",\n \"label\": \"Icon\",\n \"placeholder\": \"App Icon\",\n \"required\": true\n },\n {\n \"code\": \"name\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"text\",\n \"renderingHints\": {},\n \"name\": \"Title\",\n \"description\": \"Title of the content\",\n \"index\": 2,\n \"inputType\": \"text\",\n \"label\": \"Title\",\n \"placeholder\": \"Enter Title For Book\",\n \"required\": true\n },\n {\n \"code\": \"description\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"text\",\n \"renderingHints\": {},\n \"name\": \"Description\",\n \"description\": \"Brief description\",\n \"index\": 3,\n \"inputType\": \"textarea\",\n \"label\": \"Description\",\n \"placeholder\": \"Brief description about the Book\",\n \"required\": false\n },\n {\n \"code\": \"keywords\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"list\",\n \"name\": \"Keywords\",\n \"description\": \"Keywords for the content\",\n \"index\": 4,\n \"inputType\": \"keywordsuggestion\",\n \"label\": \"keywords\",\n \"placeholder\": \"Enter Keywords\",\n \"required\": false\n },\n {\n \"code\": \"primaryCategory\",\n \"visible\": true,\n \"editable\": false,\n \"dataType\": \"text\",\n \"renderingHints\": {},\n \"description\": \"Content Type\",\n \"index\": 5,\n \"label\": \"Content Type\",\n \"required\": true,\n \"name\": \"Content Type\",\n \"inputType\": \"text\",\n \"placeholder\": \"\"\n },\n {\n \"code\": \"additionalCategories\",\n \"dataType\": \"list\",\n \"description\": \"Additonal Category of the Content\",\n \"editable\": true,\n \"index\": 6,\n \"inputType\": \"multiselect\",\n \"label\": \"Additional Category\",\n \"name\": \"Additional Category\",\n \"placeholder\": \"Select Additional Category\",\n \"renderingHints\": {},\n \"range\": [\n \"CCT\",\n \"Classroom Teaching Video\",\n \"Concept Map\",\n \"Curiosity Question Set\",\n \"Textbook\",\n \"Experiential Resource\",\n \"Explanation Video\",\n \"FLN\",\n \"Focus Spot\",\n \"Learning Outcome Definition\",\n \"Marking Scheme Rubric\",\n \"Pedagogy Flow\",\n \"Lesson Plan\",\n \"Previous Board Exam Papers\",\n \"TV Lesson\"\n ],\n \"required\": false,\n \"visible\": true\n },\n {\n \"code\": \"board\",\n \"visible\": true,\n \"depends\": [\n \"medium\",\n \"gradeLevel\",\n \"subject\",\n \"topic\"\n ],\n \"editable\": true,\n \"dataType\": \"text\",\n \"renderingHints\": {},\n \"description\": \"Board\",\n \"index\": 7,\n \"label\": \"Board/Syllabus\",\n \"required\": true,\n \"name\": \"Board/Syllabus\",\n \"inputType\": \"select\",\n \"placeholder\": \"Select Board/Syllabus\"\n },\n {\n \"code\": \"medium\",\n \"visible\": true,\n \"depends\": [\n \"gradeLevel\",\n \"subject\",\n \"topic\"\n ],\n \"editable\": true,\n \"dataType\": \"list\",\n \"renderingHints\": {},\n \"description\": \"\",\n \"index\": 8,\n \"label\": \"Medium\",\n \"required\": true,\n \"name\": \"medium\",\n \"inputType\": \"multiselect\",\n \"placeholder\": \"Select Medium\"\n },\n {\n \"code\": \"gradeLevel\",\n \"visible\": true,\n \"depends\": [\n \"subject\",\n \"topic\"\n ],\n \"editable\": true,\n \"dataType\": \"list\",\n \"renderingHints\": {},\n \"description\": \"Class\",\n \"index\": 9,\n \"label\": \"Class\",\n \"required\": true,\n \"name\": \"Class\",\n \"inputType\": \"multiselect\",\n \"placeholder\": \"Select Class\"\n },\n {\n \"code\": \"subject\",\n \"visible\": true,\n \"depends\": [\n \"topic\"\n ],\n \"editable\": true,\n \"dataType\": \"list\",\n \"renderingHints\": {},\n \"description\": \"\",\n \"index\": 10,\n \"label\": \"Subject\",\n \"required\": true,\n \"name\": \"Subject\",\n \"inputType\": \"multiselect\",\n \"placeholder\": \"Select Subject\"\n },\n {\n \"code\": \"topic\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"list\",\n \"renderingHints\": {},\n \"name\": \"Topic\",\n \"description\": \"Choose a Topics\",\n \"index\": 11,\n \"inputType\": \"topicselector\",\n \"label\": \"Topics\",\n \"placeholder\": \"Choose Topics\",\n \"required\": false\n },\n {\n \"code\": \"audience\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"list\",\n \"renderingHints\": {},\n \"description\": \"\",\n \"index\": 12,\n \"range\": [\n \"Administrator\",\n \"Parent\",\n \"Student\",\n \"Teacher\",\n \"Other\"\n ],\n \"label\": \"Audience\",\n \"required\": false,\n \"name\": \"Audience\",\n \"inputType\": \"multiselect\",\n \"placeholder\": \"Select Audience\"\n },\n {\n \"code\": \"author\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"text\",\n \"renderingHints\": {},\n \"name\": \"Author\",\n \"description\": \"Original Author\",\n \"index\": 13,\n \"inputType\": \"text\",\n \"label\": \"Original Author\",\n \"placeholder\": \"Author\",\n \"required\": false\n },\n {\n \"code\": \"attributions\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"list\",\n \"renderingHints\": {},\n \"name\": \"attribution\",\n \"description\": \"Attributions\",\n \"index\": 14,\n \"inputType\": \"text\",\n \"label\": \"Attributions\",\n \"placeholder\": \"Attributions\",\n \"required\": false\n },\n {\n \"code\": \"copyright\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"text\",\n \"renderingHints\": {},\n \"name\": \"Copyright\",\n \"description\": \"Copyright\",\n \"index\": 15,\n \"inputType\": \"text\",\n \"label\": \"Copyright\",\n \"placeholder\": \"Copyright\",\n \"required\": false\n },\n {\n \"code\": \"copyrightYear\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"list\",\n \"renderingHints\": {},\n \"description\": \"Year of Creation\",\n \"index\": 16,\n \"label\": \"Year of Creation\",\n \"required\": true,\n \"name\": \"Year of Creation\",\n \"inputType\": \"number\",\n \"placeholder\": \"Enter Year of Creation\",\n \"validation\": [\n {\n \"type\": \"min\",\n \"message\": \"Maximum length of the year should be 4\",\n \"value\": \"4\"\n },\n {\n \"type\": \"max\",\n \"message\": \"Minimum length of the year should be 4\",\n \"value\": \"4\"\n }\n ]\n },\n {\n \"code\": \"displayScore\",\n \"dataType\": \"boolean\",\n \"description\": \"Display Score\",\n \"editable\": true,\n \"inputType\": \"select\",\n \"range\": [\n {\n \"name\": \"Yes\",\n \"value\": \"true\"\n },\n {\n \"name\": \"No\",\n \"value\": \"false\"\n }\n ],\n \"label\": \"Display Score\",\n \"name\": \"Display Score\",\n \"placeholder\": \"Display Score\",\n \"renderingHints\": {},\n \"required\": false,\n \"visible\": true,\n \"index\": 17\n },\n {\n \"code\": \"license\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"text\",\n \"renderingHints\": {},\n \"name\": \"license\",\n \"description\": \"License of the content\",\n \"index\": 18,\n \"inputType\": \"licenses\",\n \"label\": \"license\",\n \"placeholder\": \"license\",\n \"required\": true\n },\n {\n \"code\": \"licenseterms\",\n \"visible\": true,\n \"editable\": true,\n \"defaultValue\": \"By creating any type of content (resources, books, courses etc.) on DIKSHA, you consent to publish it under the Creative Commons License Framework. Please choose the applicable creative commons license you wish to apply to your content.\",\n \"dataType\": \"text\",\n \"renderingHints\": {\n \"value\": {\n \"video/x-youtube\": \"By linking or uploading YouTube videos on DIKSHA, you consent to publishing it as per the terms of the YouTube video license. DIKSHA accepts only videos with YouTube Standard License or Creative Commons License.\"\n },\n \"class\": \"twelve wide field\"\n },\n \"description\": \"licenseterms\",\n \"index\": 19,\n \"label\": \"License Terms\",\n \"required\": false,\n \"name\": \"licenseterms\",\n \"inputType\": \"label\",\n \"placeholder\": \"license\"\n }\n ]\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": "{{host}}/api/data/v1/form/create" + }, + "response": [] + } + ] + }, + { + "name": "Collection editor", + "item": [ + { + "name": "TextBook Form Update", + "request": { + "method": "PATCH", + "header": [ + { + "key": "X-Channel-id", + "value": "{{channel_id}}", + "type": "text", + "disabled": true + }, + { + "key": "Authorization", + "value": "Bearer {{apikey}}", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"objectCategoryDefinition\": {\n \"forms\": {\n \"childMetadata\": {\n \"templateName\": \"\",\n \"required\": [],\n \"properties\": [\n {\n \"code\": \"name\",\n \"editable\": true,\n \"displayProperty\": \"Editable\",\n \"dataType\": \"text\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1 required\"\n },\n \"description\": \"Name\",\n \"index\": 1,\n \"label\": \"Name\",\n \"required\": true,\n \"name\": \"Name\",\n \"inputType\": \"text\",\n \"placeholder\": \"Name\",\n \"validations\": [\n {\n \"type\": \"maxLength\",\n \"value\": \"120\",\n \"message\": \"Exceeded the limit of 120 characters\"\n },\n {\n \"type\": \"required\",\n \"message\": \"Name is required\"\n }\n ]\n },\n {\n \"code\": \"description\",\n \"dataType\": \"text\",\n \"description\": \"Description of the content\",\n \"editable\": true,\n \"inputType\": \"textarea\",\n \"label\": \"Description\",\n \"name\": \"Description\",\n \"placeholder\": \"Description\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"required\": false,\n \"visible\": true,\n \"validations\": [\n {\n \"type\": \"maxLength\",\n \"value\": \"1000\",\n \"message\": \"Exceeded the limit of 1000 characters\"\n }\n ]\n },\n {\n \"code\": \"primaryCategory\",\n \"dataType\": \"text\",\n \"description\": \"Type\",\n \"editable\": false,\n \"renderingHints\": {},\n \"inputType\": \"select\",\n \"label\": \"Category\",\n \"name\": \"Type\",\n \"placeholder\": \"\",\n \"required\": true,\n \"visible\": true,\n \"validations\": []\n },\n {\n \"code\": \"additionalCategories\",\n \"visible\": true,\n \"editable\": true,\n \"displayProperty\": \"Editable\",\n \"dataType\": \"list\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"description\": \"Additional Categories\",\n \"index\": 7,\n \"label\": \"Additional Categories\",\n \"required\": false,\n \"name\": \"additionalCategories\",\n \"inputType\": \"nestedselect\",\n \"placeholder\": \"Additional Categories\"\n },\n {\n \"code\": \"boardIds\",\n \"visible\": true,\n \"depends\": [],\n \"editable\": false,\n \"dataType\": \"list\",\n \"sourceCategory\": \"board\",\n \"output\": \"identifier\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"description\": \"\",\n \"label\": \"Board\",\n \"required\": true,\n \"name\": \"Board\",\n \"inputType\": \"nestedselect\",\n \"placeholder\": \"Select Board\"\n },\n {\n \"code\": \"mediumIds\",\n \"visible\": true,\n \"depends\": [],\n \"editable\": false,\n \"dataType\": \"list\",\n \"sourceCategory\": \"medium\",\n \"output\": \"identifier\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"description\": \"\",\n \"label\": \"Medium(s)\",\n \"required\": true,\n \"name\": \"Medium\",\n \"inputType\": \"nestedselect\",\n \"placeholder\": \"Select Medium\"\n },\n {\n \"code\": \"gradeLevelIds\",\n \"visible\": true,\n \"depends\": [],\n \"editable\": false,\n \"dataType\": \"list\",\n \"sourceCategory\": \"gradeLevel\",\n \"output\": \"identifier\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"description\": \"\",\n \"label\": \"Class(es)\",\n \"required\": true,\n \"name\": \"Grade Level\",\n \"inputType\": \"nestedselect\",\n \"placeholder\": \"Select Grade\"\n },\n {\n \"code\": \"subjectIds\",\n \"visible\": true,\n \"depends\": [],\n \"editable\": false,\n \"dataType\": \"list\",\n \"sourceCategory\": \"subject\",\n \"output\": \"identifier\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"description\": \"\",\n \"label\": \"Subject(s)\",\n \"required\": true,\n \"name\": \"Subject\",\n \"inputType\": \"nestedselect\",\n \"placeholder\": \"Select Subject\"\n },\n {\n \"code\": \"topicsIds\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"list\",\n \"depends\": [\n \"boardIds\",\n \"mediumIds\",\n \"gradeLevelIds\",\n \"subjectIds\"\n ],\n \"sourceCategory\": \"topic\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"name\": \"Topic\",\n \"description\": \"Choose Topics\",\n \"inputType\": \"topicselector\",\n \"label\": \"Topic(s)\",\n \"placeholder\": \"Select Topic\",\n \"required\": false,\n \"output\": \"identifier\"\n },\n {\n \"code\": \"copyright\",\n \"dataType\": \"text\",\n \"description\": \"Copyright\",\n \"editable\": true,\n \"index\": 4,\n \"inputType\": \"text\",\n \"label\": \"Copyright and Year:\",\n \"name\": \"Copyright\",\n \"placeholder\": \"Enter Copyright and Year\",\n \"tooltip\": \"If you are an individual, creating original content, you are the copyright holder. If you are creating this content on behalf of an organisation, the organisation may be the copyright holder. \",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1 required\"\n },\n \"required\": true,\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"Copyright is required\"\n }\n ]\n },\n {\n \"code\": \"license\",\n \"visible\": true,\n \"editable\": true,\n \"displayProperty\": \"Editable\",\n \"dataType\": \"text\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1 required\"\n },\n \"description\": \"License\",\n \"index\": 6,\n \"label\": \"License\",\n \"required\": true,\n \"name\": \"license\",\n \"inputType\": \"select\",\n \"placeholder\": \"license\",\n \"tooltip\": \"Choose the more appropriate Creative commons license for this Content. \",\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"License is required\"\n }\n ]\n },\n {\n \"code\": \"author\",\n \"dataType\": \"text\",\n \"description\": \"Author\",\n \"editable\": true,\n \"index\": 5,\n \"inputType\": \"text\",\n \"label\": \"Author\",\n \"name\": \"Author\",\n \"placeholder\": \"Author\",\n \"tooltip\": \"Provide name of creator of this content.\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"required\": true,\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"Author is required\"\n }\n ]\n },\n {\n \"code\": \"attributions\",\n \"dataType\": \"list\",\n \"description\": \"Attributions\",\n \"editable\": true,\n \"index\": 3,\n \"inputType\": \"text\",\n \"label\": \"Attributions\",\n \"name\": \"attribution\",\n \"placeholder\": \"\",\n \"tooltip\": \"If you have relied on another work to create this content, provide the name of that creator and the source of that work.\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"required\": false\n },\n {\n \"code\": \"contentPolicyCheck\",\n \"visible\": true,\n \"editable\": true,\n \"displayProperty\": \"Editable\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1 required\"\n },\n \"description\": \"Content Policy check\",\n \"index\": 7,\n \"labelHtml\": \"

I agree that by submitting / publishing this Content, I confirm that this Content complies with prescribed guidelines, including the Terms of Use and Content Policy and that I consent to publish it under the Creative Commons Framework in accordance with the Content Policy. I have made sure that I do not violate others' copyright or privacy rights.

\",\n \"required\": true,\n \"name\": \"contentPolicyCheck\",\n \"inputType\": \"checkbox\",\n \"placeholder\": \"Content Policy Check\",\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"Content Policy Check is required\"\n }\n ]\n }\n ]\n },\n \"create\": {\n \"templateName\": \"\",\n \"required\": [],\n \"properties\": [\n {\n \"name\": \"First Section\",\n \"fields\": [\n {\n \"code\": \"appIcon\",\n \"dataType\": \"text\",\n \"description\": \"appIcon of the content\",\n \"editable\": true,\n \"inputType\": \"appIcon\",\n \"label\": \"Icon\",\n \"name\": \"Icon\",\n \"placeholder\": \"Icon\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1 required\"\n },\n \"required\": true,\n \"visible\": true\n },\n {\n \"code\": \"name\",\n \"dataType\": \"text\",\n \"description\": \"Name of the content\",\n \"editable\": true,\n \"inputType\": \"text\",\n \"label\": \"Name\",\n \"name\": \"Name\",\n \"placeholder\": \"Name\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1 required\"\n },\n \"required\": true,\n \"visible\": true,\n \"validations\": [\n {\n \"type\": \"maxLength\",\n \"value\": \"120\",\n \"message\": \"Exceeded the limit of 120 characters\"\n },\n {\n \"type\": \"required\",\n \"message\": \"Name is required\"\n },\n {\n \"type\": \"pattern\",\n \"value\": \"[a-zA-Z0-9 _/.'-]+$\",\n \"message\": \"Special characters are not allowed\"\n }\n ]\n },\n {\n \"code\": \"description\",\n \"dataType\": \"text\",\n \"description\": \"Description of the content\",\n \"editable\": true,\n \"inputType\": \"textarea\",\n \"label\": \"Description\",\n \"name\": \"Description\",\n \"placeholder\": \"Description\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1 required\"\n },\n \"required\": true,\n \"visible\": true,\n \"validations\": [\n {\n \"type\": \"maxLength\",\n \"value\": \"1000\",\n \"message\": \"Exceeded the limit of 1000 characters\"\n },\n {\n \"type\": \"required\",\n \"message\": \"Description is required\"\n }\n ]\n },\n {\n \"code\": \"keywords\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"list\",\n \"name\": \"Keywords\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"description\": \"Keywords for the content\",\n \"inputType\": \"keywords\",\n \"label\": \"Keywords\",\n \"placeholder\": \"Input the keyword and press enter\",\n \"required\": false,\n \"validations\": [\n {\n \"message\": \"Keywords is required\"\n }\n ]\n }\n ]\n },\n {\n \"name\": \"Second Section\",\n \"fields\": [\n {\n \"code\": \"dialcodeRequired\",\n \"dataType\": \"text\",\n \"description\": \"QR CODE REQUIRED\",\n \"editable\": true,\n \"default\": \"No\",\n \"index\": 5,\n \"inputType\": \"radio\",\n \"label\": \"QR code required?\",\n \"name\": \"dialcodeRequired\",\n \"placeholder\": \"QR code required?\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"range\": [\n \"Yes\",\n \"No\"\n ],\n \"required\": false,\n \"visible\": true\n },\n {\n \"code\": \"dialcodes\",\n \"depends\": [\n \"dialcodeRequired\"\n ],\n \"dataType\": \"list\",\n \"description\": \"Digital Infrastructure for Augmented Learning\",\n \"editable\": true,\n \"inputType\": \"dialcode\",\n \"label\": \"QR code\",\n \"name\": \"dialcode\",\n \"placeholder\": \"Enter code here\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"required\": true,\n \"visible\": true,\n \"validations\": [\n {\n \"type\": \"minLength\",\n \"value\": \"2\"\n },\n {\n \"type\": \"maxLength\",\n \"value\": \"20\"\n }\n ]\n }\n ]\n },\n {\n \"name\": \"Third Section\",\n \"fields\": [\n {\n \"code\": \"primaryCategory\",\n \"dataType\": \"text\",\n \"description\": \"Type\",\n \"editable\": false,\n \"renderingHints\": {},\n \"inputType\": \"select\",\n \"label\": \"Category\",\n \"name\": \"Type\",\n \"placeholder\": \"\",\n \"required\": true,\n \"visible\": true,\n \"validations\": []\n },\n {\n \"code\": \"additionalCategories\",\n \"dataType\": \"list\",\n \"description\": \"Additional Category of the Content\",\n \"editable\": true,\n \"inputType\": \"nestedselect\",\n \"label\": \"Additional Category\",\n \"name\": \"Additional Category\",\n \"placeholder\": \"Select Additional Category\",\n \"renderingHints\": {},\n \"required\": false,\n \"visible\": true\n }\n ]\n },\n {\n \"name\": \"Framework Terms\",\n \"fields\": [\n {\n \"code\": \"audience\",\n \"dataType\": \"list\",\n \"description\": \"Audience\",\n \"editable\": true,\n \"inputType\": \"nestedselect\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"label\": \"Audience Type\",\n \"name\": \"Audience Type\",\n \"placeholder\": \"Select Audience Type\",\n \"required\": false,\n \"visible\": true,\n \"range\": [\n \"Student\",\n \"Teacher\",\n \"Parent\",\n \"Administrator\",\n \"Other\"\n ]\n },\n {\n \"code\": \"boardIds\",\n \"visible\": true,\n \"depends\": [],\n \"editable\": true,\n \"dataType\": \"list\",\n \"sourceCategory\": \"board\",\n \"output\": \"identifier\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1 required\"\n },\n \"description\": \"Board\",\n \"label\": \"Board\",\n \"required\": true,\n \"name\": \"Board/Syllabus\",\n \"inputType\": \"select\",\n \"placeholder\": \"Select Board/Syllabus\",\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"Board is required\"\n }\n ]\n },\n {\n \"code\": \"mediumIds\",\n \"visible\": true,\n \"depends\": [\n \"boardIds\"\n ],\n \"editable\": true,\n \"dataType\": \"list\",\n \"sourceCategory\": \"medium\",\n \"output\": \"identifier\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1 required\"\n },\n \"description\": \"\",\n \"label\": \"Medium(s)\",\n \"required\": true,\n \"name\": \"Medium\",\n \"inputType\": \"nestedselect\",\n \"placeholder\": \"Select Medium\",\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"Medium is required\"\n }\n ]\n },\n {\n \"code\": \"gradeLevelIds\",\n \"visible\": true,\n \"depends\": [\n \"boardIds\",\n \"mediumIds\"\n ],\n \"editable\": true,\n \"dataType\": \"list\",\n \"sourceCategory\": \"gradeLevel\",\n \"output\": \"identifier\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1 required\"\n },\n \"description\": \"Class\",\n \"label\": \"Class(es)\",\n \"required\": true,\n \"name\": \"Class\",\n \"inputType\": \"nestedselect\",\n \"placeholder\": \"Select Class\",\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"Class is required\"\n }\n ]\n },\n {\n \"code\": \"subjectIds\",\n \"visible\": true,\n \"depends\": [\n \"boardIds\",\n \"mediumIds\",\n \"gradeLevelIds\"\n ],\n \"editable\": true,\n \"dataType\": \"list\",\n \"sourceCategory\": \"subject\",\n \"output\": \"identifier\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1 required\"\n },\n \"description\": \"\",\n \"label\": \"Subject(s)\",\n \"required\": true,\n \"name\": \"Subject\",\n \"inputType\": \"nestedselect\",\n \"placeholder\": \"Select Subject\",\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"Subject is required\"\n }\n ]\n }\n ]\n },\n {\n \"name\": \"Fourth Section\",\n \"fields\": [\n {\n \"code\": \"author\",\n \"dataType\": \"text\",\n \"description\": \"Author of the content\",\n \"editable\": true,\n \"inputType\": \"text\",\n \"label\": \"Author\",\n \"name\": \"Author\",\n \"placeholder\": \"Author\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"required\": false,\n \"visible\": true\n },\n {\n \"code\": \"attributions\",\n \"dataType\": \"list\",\n \"description\": \"Attributions\",\n \"editable\": true,\n \"inputType\": \"text\",\n \"label\": \"Attributions\",\n \"name\": \"Attributions\",\n \"placeholder\": \"Attributions\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"required\": false,\n \"visible\": true\n },\n {\n \"code\": \"copyright\",\n \"dataType\": \"text\",\n \"description\": \"Copyright\",\n \"editable\": true,\n \"inputType\": \"text\",\n \"label\": \"Copyright\",\n \"name\": \"Copyright\",\n \"placeholder\": \"Copyright\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1 required\"\n },\n \"required\": true,\n \"visible\": true,\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"Copyright is required\"\n }\n ]\n },\n {\n \"code\": \"copyrightYear\",\n \"dataType\": \"number\",\n \"description\": \"Year\",\n \"editable\": true,\n \"inputType\": \"text\",\n \"label\": \"Copyright Year\",\n \"name\": \"Copyright Year\",\n \"placeholder\": \"Copyright Year\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1 required\"\n },\n \"required\": true,\n \"visible\": true,\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"Copyright Year is required\"\n },\n {\n \"type\": \"minLength\",\n \"message\": \"Year should be a 4 digit number\",\n \"value\": 4\n },\n {\n \"type\": \"maxLength\",\n \"message\": \"Year should be a 4 digit number\",\n \"value\": 4\n }\n ]\n },\n {\n \"code\": \"license\",\n \"dataType\": \"text\",\n \"description\": \"license\",\n \"editable\": true,\n \"inputType\": \"select\",\n \"label\": \"License\",\n \"name\": \"license\",\n \"placeholder\": \"Select License\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1 required\"\n },\n \"required\": true,\n \"visible\": true,\n \"defaultValue\": \"CC BY 4.0\",\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"License is required\"\n }\n ]\n }\n ]\n }\n ]\n },\n \"delete\": {},\n \"publish\": {},\n \"publishchecklist\": {\n \"templateName\": \"\",\n \"required\": [],\n \"properties\": [\n {\n \"name\": \"Appropriateness\",\n \"renderingHints\": {\n \"class\": \"d-grid-inline-3 display-sectionName\"\n },\n \"fields\": [\n {\n \"code\": \"appropriatenessOne\",\n \"name\": \"No Hate speech, Abuse, Violence, Profanity\",\n \"label\": \"No Hate speech, Abuse, Violence, Profanity\",\n \"dataType\": \"boolean\",\n \"inputType\": \"checkbox\",\n \"editable\": true,\n \"required\": false,\n \"visible\": true,\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"\"\n }\n ],\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n }\n },\n {\n \"code\": \"appropriatenessTwo\",\n \"name\": \"No Sexual content, Nudity or Vulgarity\",\n \"label\": \"No Sexual content, Nudity or Vulgarity\",\n \"dataType\": \"boolean\",\n \"inputType\": \"checkbox\",\n \"editable\": true,\n \"required\": false,\n \"visible\": true,\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"\"\n }\n ],\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n }\n },\n {\n \"code\": \"appropriatenessThree\",\n \"name\": \"No Discrimination or Defamation\",\n \"label\": \"No Discrimination or Defamation\",\n \"dataType\": \"boolean\",\n \"inputType\": \"checkbox\",\n \"editable\": true,\n \"required\": false,\n \"visible\": true,\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"\"\n }\n ],\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n }\n },\n {\n \"code\": \"appropriatenessFour\",\n \"name\": \"Is suitable for children\",\n \"label\": \"Is suitable for children\",\n \"dataType\": \"boolean\",\n \"inputType\": \"checkbox\",\n \"editable\": true,\n \"required\": false,\n \"visible\": true,\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"\"\n }\n ],\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n }\n }\n ]\n },\n {\n \"name\": \"Content details\",\n \"renderingHints\": {\n \"class\": \"d-grid-inline-3 display-sectionName\"\n },\n \"fields\": [\n {\n \"code\": \"contentdetailsOne\",\n \"name\": \"Appropriate Title, Description\",\n \"label\": \"Appropriate Title, Description\",\n \"dataType\": \"boolean\",\n \"inputType\": \"checkbox\",\n \"editable\": true,\n \"required\": false,\n \"visible\": true,\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"\"\n }\n ],\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n }\n },\n {\n \"code\": \"contentdetailsTwo\",\n \"name\": \"Correct Board, Grade, Subject, Medium\",\n \"label\": \"Correct Board, Grade, Subject, Medium\",\n \"dataType\": \"boolean\",\n \"inputType\": \"checkbox\",\n \"editable\": true,\n \"required\": false,\n \"visible\": true,\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"\"\n }\n ],\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n }\n },\n {\n \"code\": \"contentdetailsThree\",\n \"name\": \"Appropriate tags such as Resource Type, Concepts\",\n \"label\": \"Appropriate tags such as Resource Type, Concepts\",\n \"dataType\": \"boolean\",\n \"inputType\": \"checkbox\",\n \"editable\": true,\n \"required\": false,\n \"visible\": true,\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"\"\n }\n ],\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n }\n },\n {\n \"code\": \"contentdetailsFour\",\n \"name\": \"Relevant Keywords\",\n \"label\": \"Relevant Keywords\",\n \"dataType\": \"boolean\",\n \"inputType\": \"checkbox\",\n \"editable\": true,\n \"required\": false,\n \"visible\": true,\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"\"\n }\n ],\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n }\n }\n ]\n },\n {\n \"name\": \"Usability\",\n \"renderingHints\": {\n \"class\": \"d-grid-inline-3 display-sectionName\"\n },\n \"fields\": [\n {\n \"code\": \"usabilityOne\",\n \"name\": \"Content plays correctly\",\n \"label\": \"Content plays correctly\",\n \"dataType\": \"boolean\",\n \"inputType\": \"checkbox\",\n \"editable\": true,\n \"required\": false,\n \"visible\": true,\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"\"\n }\n ],\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n }\n },\n {\n \"code\": \"usabilityTwo\",\n \"name\": \"Can see the content clearly on Desktop and App\",\n \"label\": \"Can see the content clearly on Desktop and App\",\n \"dataType\": \"boolean\",\n \"inputType\": \"checkbox\",\n \"editable\": true,\n \"required\": false,\n \"visible\": true,\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"\"\n }\n ],\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n }\n },\n {\n \"code\": \"usabilityThree\",\n \"name\": \"Audio (if any) is clear and easy to understand\",\n \"label\": \"Audio (if any) is clear and easy to understand\",\n \"dataType\": \"boolean\",\n \"inputType\": \"checkbox\",\n \"editable\": true,\n \"required\": false,\n \"visible\": true,\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"\"\n }\n ],\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n }\n },\n {\n \"code\": \"usabilityFour\",\n \"name\": \"No Spelling mistakes in the text\",\n \"label\": \"No Spelling mistakes in the text\",\n \"dataType\": \"boolean\",\n \"inputType\": \"checkbox\",\n \"editable\": true,\n \"required\": false,\n \"visible\": true,\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"\"\n }\n ],\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n }\n },\n {\n \"code\": \"usabilityFive\",\n \"name\": \"Language is simple to understand\",\n \"label\": \"Language is simple to understand\",\n \"dataType\": \"boolean\",\n \"inputType\": \"checkbox\",\n \"editable\": true,\n \"required\": false,\n \"visible\": true,\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"\"\n }\n ],\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n }\n }\n ]\n }\n ]\n },\n \"relationalMetadata\": {\n \"templateName\": \"\",\n \"required\": [],\n \"properties\": [\n {\n \"code\": \"name\",\n \"dataType\": \"text\",\n \"description\": \"Name of the content\",\n \"editable\": true,\n \"inputType\": \"text\",\n \"label\": \"Name of the content\",\n \"name\": \"Name of the content\",\n \"placeholder\": \"Name of the content\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1 required\"\n },\n \"required\": true,\n \"visible\": true,\n \"validations\": [\n {\n \"type\": \"maxLength\",\n \"value\": \"120\",\n \"message\": \"Input is Exceeded\"\n },\n {\n \"type\": \"required\",\n \"message\": \"Name is required\"\n }\n ]\n },\n {\n \"code\": \"keywords\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"list\",\n \"name\": \"Keywords\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"description\": \"Keywords for the content\",\n \"inputType\": \"keywords\",\n \"label\": \"Keywords\",\n \"placeholder\": \"Input the keyword and PRESS enter\",\n \"required\": false,\n \"validations\": []\n },\n {\n \"code\": \"optional\",\n \"name\": \"Track in collection\",\n \"label\": \"Track in collection\",\n \"placeholder\": \"Track in collection\",\n \"description\": \"\",\n \"default\": false,\n \"dataType\": \"boolean\",\n \"inputType\": \"checkbox\",\n \"editable\": true,\n \"required\": false,\n \"visible\": true,\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n }\n }\n ]\n },\n \"review\": {},\n \"search\": {\n \"templateName\": \"\",\n \"required\": [],\n \"properties\": [\n {\n \"code\": \"primaryCategory\",\n \"dataType\": \"list\",\n \"description\": \"Type\",\n \"editable\": true,\n \"default\": [],\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"inputType\": \"nestedselect\",\n \"label\": \"Content Type(s)\",\n \"name\": \"Type\",\n \"placeholder\": \"Select ContentType\",\n \"required\": false,\n \"visible\": true\n },\n {\n \"code\": \"board\",\n \"visible\": true,\n \"depends\": [],\n \"editable\": true,\n \"dataType\": \"list\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"description\": \"Board\",\n \"label\": \"Board\",\n \"required\": false,\n \"name\": \"Board\",\n \"inputType\": \"select\",\n \"placeholder\": \"Select Board\",\n \"output\": \"name\"\n },\n {\n \"code\": \"medium\",\n \"visible\": true,\n \"depends\": [\n \"board\"\n ],\n \"editable\": true,\n \"dataType\": \"list\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"description\": \"\",\n \"label\": \"Medium(s)\",\n \"required\": false,\n \"name\": \"Medium\",\n \"inputType\": \"nestedselect\",\n \"placeholder\": \"Select Medium\",\n \"output\": \"name\"\n },\n {\n \"code\": \"gradeLevel\",\n \"visible\": true,\n \"depends\": [\n \"board\",\n \"medium\"\n ],\n \"editable\": true,\n \"default\": \"\",\n \"dataType\": \"list\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"description\": \"Class\",\n \"label\": \"Class(es)\",\n \"required\": false,\n \"name\": \"Class\",\n \"inputType\": \"nestedselect\",\n \"placeholder\": \"Select Class\",\n \"output\": \"name\"\n },\n {\n \"code\": \"subject\",\n \"visible\": true,\n \"depends\": [\n \"board\",\n \"medium\",\n \"gradeLevel\"\n ],\n \"editable\": true,\n \"default\": \"\",\n \"dataType\": \"list\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"description\": \"\",\n \"label\": \"Subject(s)\",\n \"required\": false,\n \"name\": \"Subject\",\n \"inputType\": \"nestedselect\",\n \"placeholder\": \"Select Subject\",\n \"output\": \"name\"\n },\n {\n \"code\": \"topic\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"list\",\n \"depends\": [\n \"board\",\n \"medium\",\n \"gradeLevel\",\n \"subject\"\n ],\n \"default\": \"\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"name\": \"Topic\",\n \"description\": \"Choose a Topics\",\n \"inputType\": \"topicselector\",\n \"label\": \"Topic(s)\",\n \"placeholder\": \"Choose Topics\",\n \"required\": false\n }\n ]\n },\n \"unitMetadata\": {\n \"templateName\": \"\",\n \"required\": [],\n \"properties\": [\n {\n \"name\": \"First Section\",\n \"fields\": [\n {\n \"code\": \"name\",\n \"dataType\": \"text\",\n \"description\": \"Name of the content\",\n \"editable\": true,\n \"inputType\": \"text\",\n \"label\": \"Name\",\n \"name\": \"Title\",\n \"placeholder\": \"Name\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1 required\"\n },\n \"required\": true,\n \"visible\": true,\n \"validations\": [\n {\n \"type\": \"maxLength\",\n \"value\": \"120\",\n \"message\": \"Exceeded the limit of 120 characters\"\n },\n {\n \"type\": \"required\",\n \"message\": \"Name is required\"\n }\n ]\n },\n {\n \"code\": \"description\",\n \"dataType\": \"text\",\n \"description\": \"Description of the content\",\n \"editable\": true,\n \"inputType\": \"textarea\",\n \"label\": \"Description\",\n \"name\": \"Description\",\n \"placeholder\": \"Description\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"required\": false,\n \"visible\": true,\n \"validations\": [\n {\n \"type\": \"maxLength\",\n \"value\": \"1000\",\n \"message\": \"Exceeded the limit of 120 characters\"\n }\n ]\n },\n {\n \"code\": \"keywords\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"list\",\n \"name\": \"Keywords\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"index\": 3,\n \"description\": \"Keywords for the content\",\n \"inputType\": \"keywords\",\n \"label\": \"Keywords\",\n \"placeholder\": \"Input the keyword and press enter\",\n \"required\": false,\n \"validations\": []\n },\n {\n \"code\": \"topic\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"list\",\n \"depends\": [\n \"board\",\n \"medium\",\n \"gradeLevel\",\n \"subject\"\n ],\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"name\": \"Topic\",\n \"description\": \"Choose a Topics\",\n \"inputType\": \"topicselector\",\n \"label\": \"Topics covered in the course\",\n \"placeholder\": \"Choose Topics\",\n \"required\": false\n },\n {\n \"code\": \"dialcodeRequired\",\n \"dataType\": \"text\",\n \"description\": \"QR CODE REQUIRED\",\n \"editable\": true,\n \"default\": \"No\",\n \"index\": 5,\n \"inputType\": \"radio\",\n \"label\": \"QR code required?\",\n \"name\": \"dialcodeRequired\",\n \"placeholder\": \"QR code required?\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"range\": [\n \"Yes\",\n \"No\"\n ],\n \"required\": false,\n \"visible\": true\n },\n {\n \"code\": \"dialcodes\",\n \"depends\": [\n \"dialcodeRequired\"\n ],\n \"dataType\": \"list\",\n \"description\": \"Digital Infrastructure for Augmented Learning\",\n \"editable\": true,\n \"inputType\": \"dialcode\",\n \"label\": \"QR code\",\n \"name\": \"dialcode\",\n \"placeholder\": \"Enter code here\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"required\": true,\n \"visible\": true,\n \"validations\": [\n {\n \"type\": \"minLength\",\n \"value\": \"2\"\n },\n {\n \"type\": \"maxLength\",\n \"value\": \"20\"\n }\n ]\n }\n ]\n }\n ]\n },\n \"update\": {}\n }\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": "{{host}}/api/object/category/definition/v1/update/obj-cat:digital-textbook_collection_all" + }, + "response": [ + { + "name": "update", + "originalRequest": { + "method": "PATCH", + "header": [ + { + "key": "X-Channel-id", + "value": "ttttt", + "type": "text", + "disabled": true + }, + { + "key": "Authorization", + "value": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiI3MWQ0Y2U2OThmMTU0ODNiODExN2Y1MGE3MTZmMzRlMCJ9.elC1vzqUY23jdCnT72jJRxBnDBUeC6ech7gIkpyLke4", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"objectCategoryDefinition\": {\n \"objectMetadata\": {\n \"config\": {\n \"sourcingSettings\": {\n \"collection\": {\n \"objectType\": \"QuestionSet\",\n \"primaryCategory\": \"Practice Question Set\",\n \"maxDepth\": 1,\n \"isRoot\": true,\n \"iconClass\": \"fa fa-book\",\n \"children\": {\n \"Question\": [\n \"Multiple Choice Question\",\n \"Subjective Question\"\n ]\n },\n \"hierarchy\": {\n \"level1\": {\n \"name\": \"Section\",\n \"type\": \"Unit\",\n \"mimeType\": \"application/vnd.sunbird.questionset\",\n \"primaryCategory\": \"Practice Question Set\",\n \"iconClass\": \"fa fa-folder-o\",\n \"children\": {\n \"Question\": [\n \"Multiple Choice Question\",\n \"Subjective Question\"\n ]\n }\n }\n }\n }\n }\n }\n }\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": "{{host}}/api/object/category/definition/v1/update/obj-cat:question-paper_collection_all" + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Server", + "value": "nginx/1.15.8" + }, + { + "key": "Date", + "value": "Wed, 28 Jul 2021 12:41:50 GMT" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "292" + }, + { + "key": "Connection", + "value": "keep-alive" + }, + { + "key": "X-RateLimit-Limit-hour", + "value": "100" + }, + { + "key": "X-RateLimit-Remaining-hour", + "value": "98" + }, + { + "key": "Request-Time", + "value": "54" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "X-Kong-Upstream-Latency", + "value": "58" + }, + { + "key": "X-Kong-Proxy-Latency", + "value": "0" + }, + { + "key": "Via", + "value": "kong/0.9.9" + } + ], + "cookie": [], + "body": "{\n \"id\": \"api.object.category.definition.update\",\n \"ver\": \"3.0\",\n \"ts\": \"2021-07-28T12:41:50ZZ\",\n \"params\": {\n \"resmsgid\": \"34606a43-cf29-4332-8183-d55275b8894c\",\n \"msgid\": null,\n \"err\": null,\n \"status\": \"successful\",\n \"errmsg\": null\n },\n \"responseCode\": \"OK\",\n \"result\": {\n \"identifier\": \"obj-cat:question-paper_collection_all\"\n }\n}" + } + ] + }, + { + "name": "Course Form Update", + "request": { + "method": "PATCH", + "header": [ + { + "key": "X-Channel-id", + "value": "{{channel_id}}", + "type": "text", + "disabled": true + }, + { + "key": "Authorization", + "value": "Bearer {{apikey}}", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"objectCategoryDefinition\": {\n \"forms\": {\n \"create\": {\n \"templateName\": \"\",\n \"required\": [],\n \"properties\": [\n {\n \"name\": \"First Section\",\n \"fields\": [\n {\n \"code\": \"appIcon\",\n \"dataType\": \"text\",\n \"description\": \"appIcon of the content\",\n \"editable\": true,\n \"inputType\": \"appIcon\",\n \"label\": \"Icon\",\n \"name\": \"Icon\",\n \"placeholder\": \"Icon\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1 required\"\n },\n \"required\": true,\n \"visible\": true\n },\n {\n \"code\": \"name\",\n \"dataType\": \"text\",\n \"description\": \"Name of the content\",\n \"editable\": true,\n \"inputType\": \"text\",\n \"label\": \"Title\",\n \"name\": \"Name\",\n \"placeholder\": \"Title\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1 required\"\n },\n \"required\": true,\n \"visible\": true,\n \"validations\": [\n {\n \"type\": \"max\",\n \"value\": \"120\",\n \"message\": \"Input is Exceeded\"\n },\n {\n \"type\": \"required\",\n \"message\": \"Title is required\"\n }\n ]\n },\n {\n \"code\": \"description\",\n \"dataType\": \"text\",\n \"description\": \"Description of the content\",\n \"editable\": true,\n \"inputType\": \"textarea\",\n \"label\": \"Description\",\n \"name\": \"Description\",\n \"placeholder\": \"Description\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"required\": false,\n \"visible\": true,\n \"validations\": [\n {\n \"type\": \"max\",\n \"value\": \"256\",\n \"message\": \"Input is Exceeded\"\n }\n ]\n },\n {\n \"code\": \"keywords\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"list\",\n \"name\": \"Keywords\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"description\": \"Keywords for the content\",\n \"inputType\": \"keywords\",\n \"label\": \"Keywords\",\n \"placeholder\": \"Enter Keywords\",\n \"required\": false,\n \"validations\": []\n }\n ]\n },\n {\n \"name\": \"Second Section\",\n \"fields\": [\n {\n \"code\": \"primaryCategory\",\n \"dataType\": \"text\",\n \"description\": \"Type\",\n \"editable\": false,\n \"renderingHints\": {},\n \"inputType\": \"select\",\n \"label\": \"Category\",\n \"name\": \"Type\",\n \"placeholder\": \"\",\n \"required\": true,\n \"visible\": true,\n \"validations\": []\n },\n {\n \"code\": \"additionalCategories\",\n \"dataType\": \"list\",\n \"depends\": [\n \"primaryCategory\"\n ],\n \"description\": \"Additonal Category of the Content\",\n \"editable\": true,\n \"inputType\": \"nestedselect\",\n \"label\": \"Additional Category\",\n \"name\": \"Additional Category\",\n \"placeholder\": \"Select Additional Category\",\n \"renderingHints\": {},\n \"required\": false,\n \"visible\": true\n }\n ]\n },\n {\n \"name\": \"Organisation Framework Terms\",\n \"fields\": [\n {\n \"code\": \"framework\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"text\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1 required\"\n },\n \"description\": \"\",\n \"label\": \"Course Type\",\n \"required\": true,\n \"name\": \"Framework\",\n \"inputType\": \"framework\",\n \"placeholder\": \"Select Course Type\",\n \"output\": \"identifier\",\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"Course Type is required\"\n }\n ]\n },\n {\n \"code\": \"subjectIds\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"list\",\n \"depends\": [\n \"framework\"\n ],\n \"sourceCategory\": \"subject\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1 required\"\n },\n \"description\": \"\",\n \"label\": \"Subjects covered in the course\",\n \"required\": true,\n \"name\": \"Subject\",\n \"inputType\": \"frameworkCategorySelect\",\n \"placeholder\": \"Select Subject(s)\",\n \"output\": \"identifier\",\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"Subjects Taught is required\"\n }\n ]\n },\n {\n \"code\": \"topicsIds\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"list\",\n \"depends\": [\n \"framework\",\n \"subjectIds\"\n ],\n \"sourceCategory\": \"topic\",\n \"renderingHints\": {},\n \"name\": \"Topic\",\n \"description\": \"Choose a Topics\",\n \"inputType\": \"topicselector\",\n \"label\": \"Topics covered in the course\",\n \"placeholder\": \"Choose Topics\",\n \"required\": false,\n \"output\": \"identifier\"\n }\n ]\n },\n {\n \"name\": \"Target Framework Terms\",\n \"fields\": [\n {\n \"code\": \"audience\",\n \"dataType\": \"list\",\n \"description\": \"Audience\",\n \"editable\": true,\n \"inputType\": \"nestedselect\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"label\": \"Audience Type\",\n \"name\": \"Audience Type\",\n \"placeholder\": \"Select Audience Type\",\n \"required\": false,\n \"visible\": true,\n \"range\": [\n \"Student\",\n \"Teacher\",\n \"Parent\",\n \"Administrator\"\n ]\n },\n {\n \"code\": \"targetBoardIds\",\n \"visible\": true,\n \"depends\": [],\n \"editable\": true,\n \"dataType\": \"list\",\n \"sourceCategory\": \"board\",\n \"output\": \"identifier\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1 required\"\n },\n \"description\": \"Board\",\n \"label\": \"Board/Syllabus of the audience\",\n \"required\": true,\n \"name\": \"Board/Syllabus\",\n \"inputType\": \"select\",\n \"placeholder\": \"Select Board/Syllabus\",\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"Board is required\"\n }\n ]\n },\n {\n \"code\": \"targetMediumIds\",\n \"visible\": true,\n \"depends\": [\n \"targetBoardIds\"\n ],\n \"editable\": true,\n \"dataType\": \"list\",\n \"sourceCategory\": \"medium\",\n \"output\": \"identifier\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1 required\"\n },\n \"description\": \"\",\n \"label\": \"Medium(s) of the audience\",\n \"required\": true,\n \"name\": \"Medium\",\n \"inputType\": \"nestedselect\",\n \"placeholder\": \"Select Medium\",\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"Medium is required\"\n }\n ]\n },\n {\n \"code\": \"targetGradeLevelIds\",\n \"visible\": true,\n \"depends\": [\n \"targetBoardIds\",\n \"targetMediumIds\"\n ],\n \"editable\": true,\n \"dataType\": \"list\",\n \"sourceCategory\": \"gradeLevel\",\n \"output\": \"identifier\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1 required\"\n },\n \"description\": \"Class\",\n \"label\": \"Class(es) of the audience\",\n \"required\": true,\n \"name\": \"Class\",\n \"inputType\": \"nestedselect\",\n \"placeholder\": \"Select Class\",\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"Class is required\"\n }\n ]\n },\n {\n \"code\": \"targetSubjectIds\",\n \"visible\": true,\n \"depends\": [\n \"targetBoardIds\",\n \"targetMediumIds\",\n \"targetGradeLevelIds\"\n ],\n \"editable\": true,\n \"dataType\": \"list\",\n \"sourceCategory\": \"subject\",\n \"output\": \"identifier\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1 required\"\n },\n \"description\": \"\",\n \"label\": \"Subject(s) of the audience\",\n \"required\": true,\n \"name\": \"Subject\",\n \"inputType\": \"nestedselect\",\n \"placeholder\": \"Select Subject\",\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"Subject is required\"\n }\n ]\n }\n ]\n },\n {\n \"name\": \"Fourth Section\",\n \"fields\": [\n {\n \"code\": \"author\",\n \"dataType\": \"text\",\n \"description\": \"Author of the content\",\n \"editable\": true,\n \"inputType\": \"text\",\n \"label\": \"Author\",\n \"name\": \"Author\",\n \"placeholder\": \"Author\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"required\": false,\n \"visible\": true\n },\n {\n \"code\": \"attributions\",\n \"dataType\": \"text\",\n \"description\": \"Attributions\",\n \"editable\": true,\n \"inputType\": \"text\",\n \"label\": \"Attributions\",\n \"name\": \"Attributions\",\n \"placeholder\": \"Attributions\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"required\": false,\n \"visible\": true\n },\n {\n \"code\": \"copyright\",\n \"dataType\": \"text\",\n \"description\": \"Copyright\",\n \"editable\": true,\n \"inputType\": \"text\",\n \"label\": \"Copyright\",\n \"name\": \"Copyright & year\",\n \"placeholder\": \"Copyright\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1 required\"\n },\n \"required\": true,\n \"visible\": true,\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"Copyright is required\"\n }\n ]\n },\n {\n \"code\": \"copyrightYear\",\n \"dataType\": \"number\",\n \"description\": \"Year\",\n \"editable\": true,\n \"inputType\": \"text\",\n \"label\": \"Copyright Year\",\n \"name\": \"Copyright Year\",\n \"placeholder\": \"Copyright Year\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1 required\"\n },\n \"required\": true,\n \"visible\": true,\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"Copyright Year is required\"\n }\n ]\n },\n {\n \"code\": \"license\",\n \"dataType\": \"text\",\n \"description\": \"license\",\n \"editable\": true,\n \"inputType\": \"select\",\n \"label\": \"License\",\n \"name\": \"license\",\n \"placeholder\": \"Select License\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1 required\"\n },\n \"required\": true,\n \"visible\": true,\n \"defaultValue\": \"CC BY 4.0\",\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"License is required\"\n }\n ]\n }\n ]\n }\n ]\n },\n \"relationalMetadata\": {\n \"templateName\": \"\",\n \"required\": [],\n \"properties\": [\n {\n \"code\": \"name\",\n \"dataType\": \"text\",\n \"description\": \"Name of the content\",\n \"editable\": true,\n \"inputType\": \"text\",\n \"label\": \"Name of the content\",\n \"name\": \"Name of the content\",\n \"placeholder\": \"Name of the content\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1 required\"\n },\n \"required\": true,\n \"visible\": true,\n \"validations\": [\n {\n \"type\": \"maxLength\",\n \"value\": \"120\",\n \"message\": \"Input is Exceeded\"\n },\n {\n \"type\": \"required\",\n \"message\": \"Name is required\"\n }\n ]\n },\n {\n \"code\": \"keywords\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"list\",\n \"name\": \"Keywords\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"description\": \"Keywords for the content\",\n \"inputType\": \"keywords\",\n \"label\": \"Keywords\",\n \"placeholder\": \"Input the keyword and PRESS enter\",\n \"required\": false,\n \"validations\": []\n },\n {\n \"code\": \"optional\",\n \"name\": \"Track in collection\",\n \"label\": \"Track in collection\",\n \"placeholder\": \"Track in collection\",\n \"description\": \"\",\n \"default\": false,\n \"dataType\": \"boolean\",\n \"inputType\": \"checkbox\",\n \"editable\": true,\n \"required\": false,\n \"visible\": true,\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n }\n }\n ]\n },\n \"search\": {\n \"templateName\": \"\",\n \"required\": [],\n \"properties\": [\n {\n \"code\": \"primaryCategory\",\n \"dataType\": \"list\",\n \"description\": \"Type\",\n \"editable\": true,\n \"default\": [],\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"inputType\": \"nestedselect\",\n \"label\": \"Content Type(s)\",\n \"name\": \"Type\",\n \"placeholder\": \"Select ContentType\",\n \"required\": false,\n \"visible\": true\n },\n {\n \"code\": \"board\",\n \"visible\": true,\n \"depends\": [],\n \"editable\": true,\n \"dataType\": \"list\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"description\": \"Board\",\n \"label\": \"Board\",\n \"required\": false,\n \"name\": \"Board\",\n \"inputType\": \"select\",\n \"placeholder\": \"Select Board\",\n \"output\": \"name\"\n },\n {\n \"code\": \"medium\",\n \"visible\": true,\n \"depends\": [\n \"board\"\n ],\n \"editable\": true,\n \"dataType\": \"list\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"description\": \"\",\n \"label\": \"Medium(s)\",\n \"required\": false,\n \"name\": \"Medium\",\n \"inputType\": \"nestedselect\",\n \"placeholder\": \"Select Medium\",\n \"output\": \"name\"\n },\n {\n \"code\": \"gradeLevel\",\n \"visible\": true,\n \"depends\": [\n \"board\",\n \"medium\"\n ],\n \"editable\": true,\n \"default\": \"\",\n \"dataType\": \"list\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"description\": \"Class\",\n \"label\": \"Class(es)\",\n \"required\": false,\n \"name\": \"Class\",\n \"inputType\": \"nestedselect\",\n \"placeholder\": \"Select Class\",\n \"output\": \"name\"\n },\n {\n \"code\": \"subject\",\n \"visible\": true,\n \"depends\": [\n \"board\",\n \"medium\",\n \"gradeLevel\"\n ],\n \"editable\": true,\n \"default\": \"\",\n \"dataType\": \"list\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"description\": \"\",\n \"label\": \"Subject(s)\",\n \"required\": false,\n \"name\": \"Subject\",\n \"inputType\": \"nestedselect\",\n \"placeholder\": \"Select Subject\",\n \"output\": \"name\"\n },\n {\n \"code\": \"topic\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"list\",\n \"depends\": [\n \"board\",\n \"medium\",\n \"gradeLevel\",\n \"subject\"\n ],\n \"default\": \"\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"name\": \"Topic\",\n \"description\": \"Choose a Topics\",\n \"inputType\": \"topicselector\",\n \"label\": \"Topic(s)\",\n \"placeholder\": \"Choose Topics\",\n \"required\": false\n }\n ]\n },\n \"unitMetadata\": {\n \"templateName\": \"\",\n \"required\": [],\n \"properties\": [\n {\n \"name\": \"First Section\",\n \"fields\": [\n {\n \"code\": \"name\",\n \"dataType\": \"text\",\n \"description\": \"Name of the content\",\n \"editable\": true,\n \"inputType\": \"text\",\n \"label\": \"Title\",\n \"name\": \"Title\",\n \"placeholder\": \"Title\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1 required\"\n },\n \"required\": true,\n \"visible\": true,\n \"validations\": [\n {\n \"type\": \"max\",\n \"value\": \"120\",\n \"message\": \"Input is Exceeded\"\n },\n {\n \"type\": \"required\",\n \"message\": \"Title is required\"\n }\n ]\n },\n {\n \"code\": \"description\",\n \"dataType\": \"text\",\n \"description\": \"Description of the content\",\n \"editable\": true,\n \"inputType\": \"textarea\",\n \"label\": \"Description\",\n \"name\": \"Description\",\n \"placeholder\": \"Description\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"required\": false,\n \"visible\": true,\n \"validations\": [\n {\n \"type\": \"max\",\n \"value\": \"256\",\n \"message\": \"Input is Exceeded\"\n }\n ]\n },\n {\n \"code\": \"keywords\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"list\",\n \"name\": \"Keywords\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"index\": 3,\n \"description\": \"Keywords for the content\",\n \"inputType\": \"keywords\",\n \"label\": \"Keywords\",\n \"placeholder\": \"Enter Keywords\",\n \"required\": false,\n \"validations\": []\n },\n {\n \"code\": \"topic\",\n \"visible\": true,\n \"depends\": [],\n \"editable\": true,\n \"dataType\": \"list\",\n \"renderingHints\": {},\n \"name\": \"Topic\",\n \"description\": \"Choose a Topics\",\n \"index\": 11,\n \"inputType\": \"topicselector\",\n \"label\": \"Topics\",\n \"placeholder\": \"Choose Topics\",\n \"required\": false,\n \"validations\": []\n }\n ]\n }\n ]\n }\n }\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": "{{host}}/api/object/category/definition/v1/update/obj-cat:course_collection_all" + }, + "response": [ + { + "name": "update", + "originalRequest": { + "method": "PATCH", + "header": [ + { + "key": "X-Channel-id", + "value": "ttttt", + "type": "text", + "disabled": true + }, + { + "key": "Authorization", + "value": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiI3MWQ0Y2U2OThmMTU0ODNiODExN2Y1MGE3MTZmMzRlMCJ9.elC1vzqUY23jdCnT72jJRxBnDBUeC6ech7gIkpyLke4", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"objectCategoryDefinition\": {\n \"objectMetadata\": {\n \"config\": {\n \"sourcingSettings\": {\n \"collection\": {\n \"objectType\": \"QuestionSet\",\n \"primaryCategory\": \"Practice Question Set\",\n \"maxDepth\": 1,\n \"isRoot\": true,\n \"iconClass\": \"fa fa-book\",\n \"children\": {\n \"Question\": [\n \"Multiple Choice Question\",\n \"Subjective Question\"\n ]\n },\n \"hierarchy\": {\n \"level1\": {\n \"name\": \"Section\",\n \"type\": \"Unit\",\n \"mimeType\": \"application/vnd.sunbird.questionset\",\n \"primaryCategory\": \"Practice Question Set\",\n \"iconClass\": \"fa fa-folder-o\",\n \"children\": {\n \"Question\": [\n \"Multiple Choice Question\",\n \"Subjective Question\"\n ]\n }\n }\n }\n }\n }\n }\n }\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": "{{host}}/api/object/category/definition/v1/update/obj-cat:question-paper_collection_all" + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Server", + "value": "nginx/1.15.8" + }, + { + "key": "Date", + "value": "Wed, 28 Jul 2021 12:41:50 GMT" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Content-Length", + "value": "292" + }, + { + "key": "Connection", + "value": "keep-alive" + }, + { + "key": "X-RateLimit-Limit-hour", + "value": "100" + }, + { + "key": "X-RateLimit-Remaining-hour", + "value": "98" + }, + { + "key": "Request-Time", + "value": "54" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "X-Kong-Upstream-Latency", + "value": "58" + }, + { + "key": "X-Kong-Proxy-Latency", + "value": "0" + }, + { + "key": "Via", + "value": "kong/0.9.9" + } + ], + "cookie": [], + "body": "{\n \"id\": \"api.object.category.definition.update\",\n \"ver\": \"3.0\",\n \"ts\": \"2021-07-28T12:41:50ZZ\",\n \"params\": {\n \"resmsgid\": \"34606a43-cf29-4332-8183-d55275b8894c\",\n \"msgid\": null,\n \"err\": null,\n \"status\": \"successful\",\n \"errmsg\": null\n },\n \"responseCode\": \"OK\",\n \"result\": {\n \"identifier\": \"obj-cat:question-paper_collection_all\"\n }\n}" + } + ] + } + ] + } + ] +} diff --git a/postman-collection/ED-release700/Easy-Installer-7.0-mobile.postman_collection.json b/postman-collection/ED-release700/Easy-Installer-7.0-mobile.postman_collection.json new file mode 100644 index 0000000..06a6720 --- /dev/null +++ b/postman-collection/ED-release700/Easy-Installer-7.0-mobile.postman_collection.json @@ -0,0 +1,1501 @@ +{ + "info": { + "_postman_id": "12250942-3a37-431e-afef-4de3bf6432e8", + "name": "Easy-Installer-7.0-mobile", + "description": "This document provides an overview of the Form Configurations for the Sunbird ED mobile. Configuring these forms will allow you to set up user onboarding, home page, user profiles, and user forms, et cetera.\n\n### What are Form configurations?\n\nThe Form Configurations are a set of predefined forms that are used to create, modify, and manage the content. These forms are designed to be simple and intuitive, making it easy for users to create and manage content on the go quickly.\n\nIn this guide, we will explore the various features and functionalities of Form Configurations and provide instructions on using them effectively.\n\n### Before you begin\n\nHere are a few points to remember while reading the document:\n\n1. This document shows the preferred steps of the configuration. However, you can configure them independently unless specifically mentioned.\n \n2. The type, action, subtype, and component are the mandatory metadata to create or read the API. It is advised not to change the key and value\n 1. Forms with _M as a suffix in their title are mandatory forms\n \n 2. Forms with _O as a suffix in their title are optional forms\n \n\n## Categories of Sunbird ED Mobile Form Configuration\n\nThe Sunbird ED Mobile Form Configurations are mainly categorized into nine categories:\n\n1. Pre-launched Forms\n \n2. Home Page Forms\n \n3. Search Forms\n \n4. Profile Forms\n \n5. User Forms\n \n6. Utility Forms\n \n7. Content Forms\n \n8. Help Forms\n \n9. Others", + "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", + "_exporter_id": "406673", + "_collection_link": "https://galactic-flare-389256.postman.co/workspace/config-service-workspace~0ba551f8-be4b-4755-9d4d-bf4578113e5f/collection/406673-12250942-3a37-431e-afef-4de3bf6432e8?action=share&source=collection_link&creator=406673" + }, + "item": [ + { + "name": "Consumption", + "item": [ + { + "name": "mobile", + "item": [ + { + "name": "Form-1 - config | usertype_v2 | get | app", + "request": { + "method": "POST", + "header": [ + { + "key": "Authorization", + "value": "Bearer {{apikey}}" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"type\": \"config\",\n \"subType\": \"usertype_v2\",\n \"action\": \"get\",\n \"component\": \"app\",\n \"framework\": \"*\",\n \"rootOrgId\": \"*\",\n \"data\": {\n \"templateName\": \"usertype_v2\",\n \"action\": \"get\",\n \"fields\": [\n {\n \"code\": \"teacher\",\n \"name\": \"Teacher\",\n \"formConfig\": {\n \"request\": {\n \"type\": \"profileConfig\",\n \"subType\": \"default\",\n \"action\": \"get\"\n },\n \"url\": \"/api/data/v1/form\"\n },\n \"translations\": \"{\\\"en\\\":\\\"Teacher\\\",\\\"as\\\":\\\"শিক্ষক\\\",\\\"bn\\\":\\\"শিক্ষক\\\",\\\"gu\\\":\\\"શિક્ષક\\\",\\\"hi\\\":\\\"शिक्षक\\\",\\\"kn\\\":\\\"ಶಿಕ್ಷಕ/ಕಿ\\\",\\\"mr\\\":\\\"शिक्षक\\\",\\\"or\\\":\\\"ଶିକ୍ଷକ\\\",\\\"pa\\\":\\\"ਅਧਿਆਪਕ\\\",\\\"ta\\\":\\\"ஆசிரியர்\\\",\\\"te\\\":\\\"ఉపాధ్యాయుడు\\\",\\\"ur\\\":\\\"استاد\\\"}\",\n \"image\": \"ic_teacher.svg\",\n \"ambiguousFilters\": [\n \"teacher\",\n \"instructor\"\n ],\n \"searchFilter\": [\n \"Teacher\",\n \"Instructor\"\n ],\n \"attributes\": {\n \"mandatory\": [\n \"board\",\n \"medium\",\n \"gradeLevel\"\n ],\n \"optional\": [\n \"subject\"\n ]\n }\n },\n {\n \"code\": \"student\",\n \"name\": \"Student\",\n \"formConfig\": {\n \"request\": {\n \"type\": \"profileConfig\",\n \"subType\": \"default\",\n \"action\": \"get\"\n },\n \"url\": \"/api/data/v1/form\"\n },\n \"translations\": \"{\\\"en\\\":\\\"Student\\\",\\\"as\\\":\\\"শিক্ষাৰ্থী\\\",\\\"bn\\\":\\\"ছাত্র\\\",\\\"gu\\\":\\\"વિદ્યાર્થી\\\",\\\"hi\\\":\\\"विद्यार्थी\\\",\\\"kn\\\":\\\"ವಿದ್ಯಾರ್ಥಿ\\\",\\\"mr\\\":\\\"विद्यार्थी\\\",\\\"or\\\":\\\"ଛାତ୍ର ଛାତ୍ରୀ\\\",\\\"pa\\\":\\\"ਵਿਦਿਆਰਥੀ\\\",\\\"ta\\\":\\\"மாணவர்\\\",\\\"te\\\":\\\"విద్యార్థి\\\",\\\"ur\\\":\\\"طالب علم\\\"}\",\n \"image\": \"ic_student.svg\",\n \"ambiguousFilters\": [\n \"learner\",\n \"student\"\n ],\n \"searchFilter\": [\n \"Student\",\n \"Learner\"\n ],\n \"attributes\": {\n \"mandatory\": [\n \"board\",\n \"medium\",\n \"gradeLevel\"\n ],\n \"optional\": [\n \"subject\"\n ]\n }\n },\n {\n \"code\": \"administrator\",\n \"name\": \"HT & Officials\",\n \"formConfig\": {\n \"request\": {\n \"type\": \"profileConfig\",\n \"subType\": \"admin\",\n \"action\": \"get\"\n },\n \"url\": \"/api/data/v1/form\"\n },\n \"translations\": \"{\\\"en\\\":\\\"HT & Officials\\\",\\\"as\\\":\\\"বিদ্যালয়ৰ মুৰব্বী বা বিষয়াসকল\\\",\\\"bn\\\":\\\"বিদ্যালয়ের প্রধান বা কর্মকর্তা\\\",\\\"gu\\\":\\\"શાળાના વડા અથવા અધિકારીઓ\\\",\\\"hi\\\":\\\"स्कूल प्रमुख या अधिकारी\\\",\\\"kn\\\":\\\"ಶಾಲಾ ಮುಖ್ಯಸ್ಥರು ಅಥವಾ ಅಧಿಕಾರಿಗಳು\\\",\\\"mr\\\":\\\"शाळा प्रमुख किंवा अधिकारी\\\",\\\"or\\\":\\\"ସ୍କୁଲ ମୁଖ୍ୟ ଓ ଅଧିକାରୀ\\\",\\\"pa\\\":\\\"ਸਕੂਲ ਮੁਖੀ ਜਾਂ ਅਧਿਕਾਰੀ\\\",\\\"ta\\\":\\\"தலைமை ஆசிரியர் & அதிகாரிகள்\\\",\\\"te\\\":\\\"స్కూల్ హెడ్ లేదా అధికారులు\\\",\\\"ur\\\":\\\"اسکول سربراہ یا عہدیدار\\\"}\",\n \"image\": \"ic_admin.svg\",\n \"ambiguousFilters\": [],\n \"searchFilter\": [\n \"administrator\"\n ],\n \"attributes\": {\n \"mandatory\": [\n \"board\"\n ],\n \"optional\": []\n }\n },\n {\n \"code\": \"parent\",\n \"name\": \"Parent\",\n \"formConfig\": {\n \"request\": {\n \"type\": \"profileConfig\",\n \"subType\": \"default\",\n \"action\": \"get\"\n },\n \"url\": \"/api/data/v1/form\"\n },\n \"translations\": \"{\\\"en\\\":\\\"Parent\\\"}\",\n \"image\": \"ic_parent.svg\",\n \"ambiguousFilters\": [],\n \"searchFilter\": [],\n \"attributes\": {\n \"mandatory\": [\n \"board\",\n \"medium\",\n \"gradeLevel\"\n ],\n \"optional\": [\n \"subject\"\n ]\n }\n }\n ]\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{host}}/api/data/v1/form/create", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "data", + "v1", + "form", + "create" + ] + }, + "description": "- \"code\":Represents a code or identifier for the field, which in this case is set as \"teacher\".\n- \"name\": Represents the field's name, which is specified as \"Teacher\".\n- \"image\": Specifies an image associated with the field\n- \"searchFilter\": Represents an array containing values that can be used as search filters for this field. In this case, the options are \"Teacher\" and \"Instructor\"." + }, + "response": [] + }, + { + "name": "Form2 - config | contentframeworkcategory | get | app", + "request": { + "method": "POST", + "header": [ + { + "key": "Authorization", + "value": "Bearer {{apikey}}" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"type\": \"config\",\n \"subType\": \"contentframeworkcategory\",\n \"action\": \"get\",\n \"component\": \"app\",\n \"framework\": \"*\",\n \"rootOrgId\": \"*\",\n \"data\": {\n \"templateName\": \"contentFrameworkCategoryConfig\",\n \"action\": \"get\",\n \"fields\": [\n {\n \"code\": \"board\",\n \"label\": \"board\",\n \"identifier\": \"fwCategory1\",\n \"index\": 0,\n \"alterNativeCode\": \"se_boards\"\n },\n {\n \"code\": \"medium\",\n \"label\": \"medium\",\n \"identifier\": \"fwCategory2\",\n \"index\": 1,\n \"alterNativeCode\": \"se_mediums\"\n },\n {\n \"code\": \"gradeLevel\",\n \"label\": \"gradeLevel\",\n \"identifier\": \"fwCategory3\",\n \"index\": 2,\n \"alterNativeCode\": \"se_gradeLevels\"\n },\n {\n \"code\": \"subject\",\n \"label\": \"subject\",\n \"identifier\": \"fwCategory4\",\n \"index\": 3,\n \"alterNativeCode\": \"se_subjects\"\n }\n ]\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{host}}/api/data/v1/form/create", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "data", + "v1", + "form", + "create" + ] + }, + "description": "- This API is used to create a user-type selection\n- The endpoint for user type selection is \"/v1/form/create\"\n \n- Mandatory fields cannot be null or empty\n \n\n**Parameters**\n\n- \"code\": A code or identifier for the field, set as \"category1\".\n \n- \"label\": A label or display name for the field, set as \"Board\".\n \n- \"placeHolder\": placeHolder name for the field, set as \"Select Board\".\n \n- \"frameworkCode\": A code for the field, set as \"board\"\n \n- \"supportedUserTypes\": An array containing values that can be used as usertypes. In this case, the options are \"teacher\", \"student\" etc." + }, + "response": [] + }, + { + "name": "Form-3 - config | frameworkcategory | get | app", + "request": { + "method": "POST", + "header": [ + { + "key": "Authorization", + "value": "Bearer {{apikey}}" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"type\": \"config\",\n \"subType\": \"frameworkcategory\",\n \"action\": \"get\",\n \"component\": \"app\",\n \"framework\": \"*\",\n \"rootOrgId\": \"*\",\n \"data\": {\n \"templateName\": \"frameworkCategory\",\n \"action\": \"get\",\n \"fields\": [\n {\n \"code\": \"board\",\n \"label\": \"{\\\"en\\\":\\\"Board\\\",\\\"as\\\":\\\"ব'ৰ্ড\\\",\\\"bn\\\":\\\"পর্ষদ\\\",\\\"gu\\\":\\\"બોર્ડ\\\",\\\"hi\\\":\\\"बोर्ड\\\",\\\"kn\\\":\\\"ಮಂಡಳಿ\\\",\\\"mr\\\":\\\"बोर्ड\\\",\\\"or\\\":\\\"ବୋର୍ଡ\\\",\\\"pa\\\":\\\"ਬੋਰਡ\\\",\\\"ta\\\":\\\"வாரியம்\\\",\\\"te\\\":\\\"బోర్డు\\\",\\\"ur\\\":\\\"بورڈ\\\"}\",\n \"identifier\": \"fwCategory1\",\n \"index\": 0,\n \"placeHolder\": \"Select board\",\n \"required\": true,\n \"alterNativeCode\": \"se_boards\"\n },\n {\n \"code\": \"medium\",\n \"label\": \"{\\\"en\\\":\\\"Medium\\\",\\\"as\\\":\\\"মাধ্যম\\\",\\\"bn\\\":\\\"মাধ্যাম\\\",\\\"gu\\\":\\\"માધ્યમ\\\",\\\"hi\\\":\\\"माध्यम\\\",\\\"kn\\\":\\\"ಮಾಧ್ಯಮ\\\",\\\"mr\\\":\\\"माध्यम\\\",\\\"or\\\":\\\"ମାଧ୍ୟମ\\\",\\\"pa\\\":\\\"ਮਾਧਿਅਮ\\\",\\\"ta\\\":\\\"மீடியம்\\\",\\\"te\\\":\\\"మాధ్యమం\\\",\\\"ur\\\":\\\"میڈیم\\\"}\",\n \"identifier\": \"fwCategory2\",\n \"index\": 1,\n \"placeHolder\": \"Select medium\",\n \"required\": true,\n \"alterNativeCode\": \"se_mediums\"\n },\n {\n \"code\": \"gradeLevel\",\n \"label\": \"{\\\"en\\\":\\\"Class\\\",\\\"as\\\":\\\"শ্ৰেণী\\\",\\\"bn\\\":\\\"শ্রেনী\\\",\\\"gu\\\":\\\"વર્ગ\\\",\\\"hi\\\":\\\"कक्षा\\\",\\\"kn\\\":\\\"ತರಗತಿ\\\",\\\"mr\\\":\\\"इयत्ता\\\",\\\"or\\\":\\\"ଶ୍ରେଣୀ\\\",\\\"pa\\\":\\\"ਜਮਾਤ\\\",\\\"ta\\\":\\\"வகுப்பு\\\",\\\"te\\\":\\\"క్లాసు\\\",\\\"ur\\\":\\\"کلاس\\\"}\",\n \"identifier\": \"fwCategory3\",\n \"index\": 2,\n \"placeHolder\": \"Select gradeLevel\",\n \"required\": false,\n \"alterNativeCode\": \"se_gradeLevels\"\n },\n {\n \"code\": \"subject\",\n \"label\": \"{\\\"en\\\":\\\"Subject\\\",\\\"as\\\":\\\"বিষয়\\\",\\\"bn\\\":\\\"বিষয়\\\",\\\"gu\\\":\\\"વિષય\\\",\\\"hi\\\":\\\"विषय\\\",\\\"kn\\\":\\\"ವಿಷಯ\\\",\\\"mr\\\":\\\"विषय\\\",\\\"or\\\":\\\"ବିଷୟ\\\",\\\"pa\\\":\\\"ਵਿਸ਼ਾ\\\",\\\"ta\\\":\\\"பாடம்\\\",\\\"te\\\":\\\"పాఠ్యాంశము\\\",\\\"ur\\\":\\\"مضامین\\\"}\",\n \"placeHolder\": \"Select Subject\",\n \"identifier\": \"fwCategory4\",\n \"index\": 3,\n \"required\": false,\n \"alterNativeCode\": \"se_subjects\",\n \"multiple\": true\n }\n ]\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{host}}/api/data/v1/form/create", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "data", + "v1", + "form", + "create" + ] + }, + "description": "- This API is used to create a user-type selection\n- The endpoint for user type selection is \"/v1/form/create\"\n \n- Mandatory fields cannot be null or empty\n \n\n**Parameters**\n\n- \"code\": A code or identifier for the field, set as \"category1\".\n \n- \"label\": A label or display name for the field, set as \"Board\".\n \n- \"placeHolder\": placeHolder name for the field, set as \"Select Board\".\n \n- \"frameworkCode\": A code for the field, set as \"board\"\n \n- \"supportedUserTypes\": An array containing values that can be used as usertypes. In this case, the options are \"teacher\", \"student\" etc." + }, + "response": [] + }, + { + "name": "Form-4 - config | webview_version | get | *", + "request": { + "method": "POST", + "header": [ + { + "key": "Authorization", + "value": "Bearer {{apikey}}" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"type\": \"config\",\n \"subType\": \"webview_version\",\n \"action\": \"get\",\n \"component\": \"*\",\n \"framework\": \"*\",\n \"rootOrgId\": \"*\",\n \"data\": {\n \"templateName\": \"webview_version\",\n \"action\": \"get\",\n \"fields\": [\n {\n \"version\": \"43\"\n }\n ]\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{host}}/api/data/v1/form/create", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "data", + "v1", + "form", + "create" + ] + }, + "description": "- This API is used to create a user-type selection\n- The endpoint for user type selection is “/v1/form/create”\n- Mandatory fields cannot be null or empty\n \n\n**Parameters**\n\n\"version\": Indicates for the web view version." + }, + "response": [] + }, + { + "name": "Form-5 - config | location | get | *", + "request": { + "method": "POST", + "header": [ + { + "key": "Authorization", + "value": "Bearer {{apikey}}" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"type\": \"config\",\n \"subType\": \"location\",\n \"action\": \"get\",\n \"component\": \"*\",\n \"framework\": \"*\",\n \"rootOrgId\": \"*\",\n \"data\": {\n \"templateName\": \"location\",\n \"action\": \"get\",\n \"fields\": [\n {\n \"code\": \"skip\",\n \"values\": [],\n \"name\": \"Skip Location\"\n }\n ]\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{host}}/api/data/v1/form/create", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "data", + "v1", + "form", + "create" + ] + }, + "description": "- This API is used to create a user-type selection\n- The endpoint for user type selection is “/v1/form/create”\n- Mandatory fields cannot be null or empty\n \n\n**Parameters**\n\n\"version\": Indicates for the web view version." + }, + "response": [] + }, + { + "name": "Form-6 - config | home_v5 | get | app", + "request": { + "method": "POST", + "header": [ + { + "key": "Authorization", + "value": "Bearer {{apikey}}" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"type\": \"config\",\n \"subType\": \"home_v5\",\n \"action\": \"get\",\n \"component\": \"app\",\n \"framework\": \"*\",\n \"rootOrgId\": \"*\",\n \"data\": {\n \"templateName\": \"home_v5\",\n \"action\": \"get\",\n \"fields\": [\n {\n \"dataSrc\": {\n \"type\": \"TRACKABLE_COLLECTIONS\",\n \"request\": {\n \"type\": \"GET\",\n \"path\": \"/api/course/v1/user/enrollment/list/${userId}\",\n \"parameters\": {\n \"orgdetails\": \"orgName,email\",\n \"fields\": \"contentType,topic,name,channel,pkgVersion,primaryCategory,trackable\",\n \"batchDetails\": \"name,endDate,startDate,status,enrollmentType,createdBy,certificates\"\n },\n \"withBearerToken\": true,\n \"withUserToken\": true\n },\n \"mapping\": []\n },\n \"sections\": [\n {\n \"index\": 0,\n \"title\": \"{\\\"en\\\":\\\"My learning\\\"}\",\n \"isEnabled\": true,\n \"theme\": {\n \"component\": \"sb-course-cards-hlist\",\n \"inputs\": {\n \"type\": \"my_course_recently_viewed_card_grid\",\n \"hideProgress\": true,\n \"viewMoreButtonText\": \"{\\\"en\\\":\\\"View all\\\"}\",\n \"maxCardCount\": 10,\n \"viewMoreButtonPosition\": \"right\"\n }\n }\n }\n ]\n },\n {\n \"dataSrc\": {\n \"type\": \"CONTENT_DISCOVERY_BANNER\",\n \"params\": {\n \"config\": [\n {\n \"type\": \"filter\",\n \"code\": \"content_discovery_banner\",\n \"values\": [\n {\n \"code\": \"subject\",\n \"translations\": \"{\\\"en\\\":\\\"Subject\\\",\\\"as\\\":\\\"বিষয়\\\",\\\"bn\\\":\\\"বিষয়\\\",\\\"gu\\\":\\\"વિષય\\\",\\\"hi\\\":\\\"विषय\\\",\\\"kn\\\":\\\"ವಿಷಯ\\\",\\\"mr\\\":\\\"विषय\\\",\\\"or\\\":\\\"ବିଷୟ\\\",\\\"pa\\\":\\\"ਵਿਸ਼ਾ\\\",\\\"ta\\\":\\\"பாடம்\\\",\\\"te\\\":\\\"పాఠ్యాంశము\\\",\\\"ur\\\":\\\"مضامین\\\"}\",\n \"values\": [],\n \"name\": \"Subject\",\n \"index\": 2,\n \"sort\": true\n },\n {\n \"code\": \"audience\",\n \"translations\": \"{\\\"en\\\":\\\"Role\\\"}\",\n \"values\": [],\n \"name\": \"Role\",\n \"index\": 4\n }\n ]\n }\n ]\n },\n \"mapping\": [\n {\n \"code\": \"banner_search\",\n \"aggregate\": {\n \"groupBy\": \"subject\"\n },\n \"filterPillBy\": \"primaryCategory\"\n }\n ],\n \"values\": []\n },\n \"sections\": [\n {\n \"index\": 1,\n \"code\": \"content_discovery_banner\",\n \"isEnabled\": false,\n \"title\": \"{\\\"en\\\":\\\"Featured\\\",\\\"as\\\":\\\"বিশেষভাৱে প্ৰস্তুত কৰা হৈছে\\\",\\\"bn\\\":\\\"বৈশিষ্ট্যযুক্ত\\\",\\\"gu\\\":\\\"વિશેષ\\\",\\\"hi\\\":\\\"विशेष रुप से प्रदर्शित\\\",\\\"kn\\\":\\\"ವಿಶೇಷವಾಗಿರುವುದು\\\",\\\"mr\\\":\\\"वैशिष्ट्यपूर्ण\\\",\\\"or\\\":\\\"ବିଶେଷିତ\\\",\\\"pa\\\":\\\"ਫੀਚਰਡ\\\",\\\"ta\\\":\\\"சிறப்பு\\\",\\\"te\\\":\\\"ఫీచర్ చేయబడింది\\\"}\",\n \"theme\": {\n \"component\": \"sb-banner-card-hlist\",\n \"inputs\": {}\n }\n }\n ]\n },\n {\n \"dataSrc\": {\n \"type\": \"CONTENT_FACETS\",\n \"request\": {\n \"type\": \"POST\",\n \"path\": \"/api/content/v1/search\",\n \"withBearerToken\": true,\n \"body\": {\n \"request\": {\n \"limit\": 0,\n \"offset\": 0,\n \"mode\": \"hard\",\n \"facets\": [],\n \"filters\": {\n \"primaryCategory\": [\n \"Course\",\n \"Digital Textbook\",\n \"Explanation Content\"\n ]\n }\n }\n }\n },\n \"params\": {\n \"config\": [\n {\n \"name\": \"primaryCategory\",\n \"mergeableAttributes\": [\n \"additionalCategories\"\n ],\n \"values\": [\n {\n \"name\": \"TV Classes\",\n \"isAdditionalCategory\": true,\n \"code\": \"tvlessons\",\n \"searchCriteria\": {\n \"impliedFilters\": [\n {\n \"name\": \"primaryCategory\",\n \"values\": [\n {\n \"name\": \"Explanation Content\",\n \"apply\": true\n }\n ]\n },\n {\n \"name\": \"additionalCategories\",\n \"values\": [\n {\n \"name\": \"TV Lesson\",\n \"apply\": true\n }\n ]\n }\n ]\n }\n },\n {\n \"name\": \"Digital Textbook\",\n \"code\": \"digitaltextbook\",\n \"searchCriteria\": {\n \"impliedFilters\": [\n {\n \"name\": \"primaryCategory\",\n \"values\": [\n {\n \"name\": \"Digital Textbook\",\n \"apply\": true\n }\n ]\n }\n ]\n }\n },\n {\n \"name\": \"Course\",\n \"code\": \"course\",\n \"searchCriteria\": {\n \"impliedFilters\": [\n {\n \"name\": \"primaryCategory\",\n \"values\": [\n {\n \"name\": \"Course\",\n \"apply\": true\n }\n ]\n }\n ]\n }\n }\n ]\n },\n {\n \"type\": \"filter\",\n \"code\": \"browse_by_category\",\n \"values\": [\n {\n \"code\": \"subject\",\n \"translations\": \"{\\\"en\\\":\\\"Subject\\\",\\\"as\\\":\\\"বিষয়\\\",\\\"bn\\\":\\\"বিষয়\\\",\\\"gu\\\":\\\"વિષય\\\",\\\"hi\\\":\\\"विषय\\\",\\\"kn\\\":\\\"ವಿಷಯ\\\",\\\"mr\\\":\\\"विषय\\\",\\\"or\\\":\\\"ବିଷୟ\\\",\\\"pa\\\":\\\"ਵਿਸ਼ਾ\\\",\\\"ta\\\":\\\"பாடம்\\\",\\\"te\\\":\\\"పాఠ్యాంశము\\\",\\\"ur\\\":\\\"مضامین\\\"}\",\n \"values\": [],\n \"name\": \"Subject\",\n \"index\": 2,\n \"sort\": true\n },\n {\n \"code\": \"audience\",\n \"translations\": \"{\\\"en\\\":\\\"Role\\\"}\",\n \"values\": [],\n \"name\": \"Role\",\n \"index\": 4\n }\n ]\n },\n {\n \"type\": \"filter\",\n \"code\": \"browse_by_subjects\",\n \"values\": [\n {\n \"code\": \"primaryCategory\",\n \"translations\": \"{\\\"en\\\":\\\"Category\\\"}\",\n \"values\": [],\n \"name\": \"Category\",\n \"index\": 2\n },\n {\n \"code\": \"audience\",\n \"translations\": \"{\\\"en\\\":\\\"Role\\\"}\",\n \"values\": [],\n \"name\": \"Role\",\n \"index\": 4\n }\n ]\n },\n {\n \"type\": \"filterConfigIdentifier\",\n \"code\": \"browse_by_category\",\n \"values\": [\n {\n \"code\": \"Course\",\n \"filterIdentifier\": \"browse_by_category_course\"\n }\n ]\n }\n ]\n },\n \"mapping\": [\n {\n \"facet\": \"primaryCategory\",\n \"aggregate\": {\n \"groupBy\": \"subject\",\n \"groupSortBy\": [\n {\n \"name\": {\n \"order\": \"asc\",\n \"preference\": [\n \"English\",\n \"Mathematics\",\n \"Science\"\n ]\n }\n }\n ]\n },\n \"filterPillBy\": \"primaryCategory\"\n },\n {\n \"facet\": \"additionalCategories\",\n \"aggregate\": {\n \"groupBy\": \"primaryCategory\",\n \"groupSortBy\": [\n {\n \"name\": {\n \"order\": \"asc\"\n }\n }\n ]\n }\n }\n ]\n },\n \"sections\": [\n {\n \"index\": 2,\n \"isEnabled\": true,\n \"code\": \"browse_by_category\",\n \"title\": \"{\\\"en\\\":\\\"Browse by category\\\"}\",\n \"description\": \"{\\\"en\\\":\\\"Browse by %category from all the boards and mediums on %appName\\\"}\",\n \"landingDetails\": {\n \"title\": \"{\\\"en\\\":\\\"Browse by %category\\\"}\",\n \"description\": \"{\\\"en\\\":\\\"Browse by %category from all the boards and mediums on %appName\\\"}\"\n },\n \"theme\": {\n \"component\": \"sb-pills-grid\",\n \"inputs\": {\n \"pillShape\": \"image_overlap\",\n \"pillsViewType\": \"scroll\",\n \"pillTextElipsis\": \"three_line\"\n },\n \"children\": {\n \"sb-pill-item\": {\n \"inputs\": {\n \"icon\": \"assets/imgs/all_content.svg\",\n \"theme\": {\n \"iconBgColor\": \"#FFFFFF\",\n \"pillBgColor\": \"#FFFFFF\"\n }\n },\n \"inputsMap\": {\n \"icon\": {\n \"digitaltextbooks\": \"assets/imgs/textbook.svg\",\n \"digitaltextbook\": \"assets/imgs/textbook.svg\",\n \"courses\": \"assets/imgs/course.svg\",\n \"course\": \"assets/imgs/course.svg\",\n \"tvprograms\": \"assets/imgs/tv.svg\",\n \"tvclasses\": \"assets/imgs/tv.svg\",\n \"tvlession\": \"assets/imgs/tv.svg\",\n \"documents\": \"assets/imgs/documents.svg\",\n \"videos\": \"assets/imgs/videos.svg\"\n }\n }\n }\n }\n }\n }\n ]\n },\n {\n \"dataSrc\": {\n \"type\": \"CONTENT_FACETS\",\n \"request\": {\n \"type\": \"POST\",\n \"path\": \"/api/content/v1/search\",\n \"withBearerToken\": true,\n \"body\": {\n \"request\": {\n \"limit\": 0,\n \"offset\": 0,\n \"mode\": \"hard\",\n \"facets\": [],\n \"filters\": {\n \"contentType\": [\n \"Course\"\n ],\n \"primaryCategory\": [\n \"Course\"\n ],\n \"audience\": [\n \"Teacher\",\n \"Student\",\n \"Administrator\"\n ]\n }\n }\n }\n },\n \"params\": {\n \"config\": [\n {\n \"name\": \"audience\",\n \"mergeableAttributes\": [],\n \"values\": [\n {\n \"name\": \"Teacher\",\n \"code\": \"teacher\",\n \"searchCriteria\": {\n \"impliedFilters\": [\n {\n \"name\": \"primaryCategory\",\n \"values\": [\n {\n \"name\": \"Course\",\n \"apply\": true\n }\n ]\n },\n {\n \"name\": \"audience\",\n \"values\": [\n {\n \"name\": \"teacher\",\n \"apply\": true\n }\n ]\n }\n ]\n }\n },\n {\n \"name\": \"Student\",\n \"code\": \"student\",\n \"searchCriteria\": {\n \"impliedFilters\": [\n {\n \"name\": \"primaryCategory\",\n \"values\": [\n {\n \"name\": \"Course\",\n \"apply\": true\n }\n ]\n },\n {\n \"name\": \"audience\",\n \"values\": [\n {\n \"name\": \"student\",\n \"apply\": true\n }\n ]\n }\n ]\n }\n },\n {\n \"name\": \"Administrator\",\n \"code\": \"administrator\",\n \"searchCriteria\": {\n \"impliedFilters\": [\n {\n \"name\": \"primaryCategory\",\n \"values\": [\n {\n \"name\": \"Course\",\n \"apply\": true\n }\n ]\n },\n {\n \"name\": \"audience\",\n \"values\": [\n {\n \"name\": \"administrator\",\n \"apply\": true\n }\n ]\n }\n ]\n }\n },\n {\n \"name\": \"Parent\",\n \"code\": \"parent\",\n \"searchCriteria\": {\n \"impliedFilters\": [\n {\n \"name\": \"primaryCategory\",\n \"values\": [\n {\n \"name\": \"Course\",\n \"apply\": true\n }\n ]\n },\n {\n \"name\": \"audience\",\n \"values\": [\n {\n \"name\": \"parent\",\n \"apply\": true\n }\n ]\n }\n ]\n }\n },\n {\n \"name\": \"Other\",\n \"code\": \"other\",\n \"searchCriteria\": {\n \"impliedFilters\": [\n {\n \"name\": \"primaryCategory\",\n \"values\": [\n {\n \"name\": \"Course\",\n \"apply\": true\n }\n ]\n },\n {\n \"name\": \"audience\",\n \"values\": [\n {\n \"name\": \"other\",\n \"apply\": true\n }\n ]\n }\n ]\n }\n }\n ]\n },\n {\n \"type\": \"filter\",\n \"code\": \"browse_by_audience\",\n \"values\": [\n {\n \"code\": \"subject\",\n \"translations\": \"{\\\"en\\\":\\\"Subject\\\",\\\"as\\\":\\\"বিষয়\\\",\\\"bn\\\":\\\"বিষয়\\\",\\\"gu\\\":\\\"વિષય\\\",\\\"hi\\\":\\\"विषय\\\",\\\"kn\\\":\\\"ವಿಷಯ\\\",\\\"mr\\\":\\\"विषय\\\",\\\"or\\\":\\\"ବିଷୟ\\\",\\\"pa\\\":\\\"ਵਿਸ਼ਾ\\\",\\\"ta\\\":\\\"பாடம்\\\",\\\"te\\\":\\\"పాఠ్యాంశము\\\",\\\"ur\\\":\\\"مضامین\\\"}\",\n \"values\": [],\n \"name\": \"Subject\",\n \"index\": 2,\n \"sort\": true\n },\n {\n \"code\": \"audience\",\n \"translations\": \"{\\\"en\\\":\\\"Role\\\"}\",\n \"values\": [],\n \"name\": \"Role\",\n \"index\": 4\n }\n ]\n }\n ]\n },\n \"mapping\": [\n {\n \"facet\": \"audience\",\n \"aggregate\": {\n \"groupBy\": \"subject\",\n \"groupSortBy\": [\n {\n \"name\": {\n \"order\": \"asc\",\n \"preference\": [\n \"English\",\n \"Mathematics\",\n \"Science\"\n ]\n }\n }\n ]\n },\n \"filterPillBy\": \"primaryCategory\"\n }\n ]\n },\n \"sections\": [\n {\n \"index\": 2,\n \"isEnabled\": true,\n \"code\": \"browse_by_audience\",\n \"title\": \"{\\\"en\\\":\\\"Browse contents by user type\\\"}\",\n \"description\": \"{\\\"en\\\":\\\"Browse %category usertype contents from all the boards and mediums on %appName\\\"}\",\n \"landingDetails\": {\n \"title\": \"{\\\"en\\\":\\\"Browse by User Type\\\"}\",\n \"description\": \"{\\\"en\\\":\\\"Browse by content matching your preferences\\\"}\"\n },\n \"component\": \"tag\",\n \"shape\": \"circle\",\n \"theme\": {\n \"component\": \"sb-pills-grid\",\n \"inputs\": {\n \"pillShape\": \"default\",\n \"pillsViewType\": \"scroll\",\n \"pillBorder\": \"round\",\n \"pillSize\": \"large\",\n \"pillTextElipsis\": \"one_line\"\n },\n \"children\": {\n \"sb-pill-item\": {\n \"inputs\": {\n \"icon\": \"assets/imgs/default_circle.png\",\n \"theme\": {\n \"iconBgColor\": \"#FFFFFF\",\n \"pillBgColor\": \"#FFFFFF\"\n }\n },\n \"inputsMap\": {\n \"icon\": {\n \"student\": \"assets/imgs/ic_student.svg\",\n \"teacher\": \"assets/imgs/ic_teacher.svg\",\n \"parent\": \"assets/imgs/ic_parent.svg\",\n \"administrator\": \"assets/imgs/ic_admin.svg\",\n \"other\": \"assets/imgs/ic_other.svg\"\n }\n }\n }\n }\n }\n }\n ]\n },\n {\n \"dataSrc\": {\n \"type\": \"CONTENT_FACETS\",\n \"request\": {\n \"type\": \"POST\",\n \"path\": \"/api/content/v1/search\",\n \"withBearerToken\": true,\n \"body\": {\n \"request\": {\n \"limit\": 0,\n \"offset\": 0,\n \"mode\": \"hard\",\n \"facets\": [],\n \"filters\": {\n \"primaryCategory\": [\n \"Course\",\n \"Digital Textbook\",\n \"Explanation Content\"\n ]\n }\n }\n }\n },\n \"params\": {\n \"config\": [\n {\n \"type\": \"filter\",\n \"code\": \"browse_by_subjects\",\n \"values\": [\n {\n \"code\": \"primaryCategory\",\n \"translations\": \"{\\\"en\\\":\\\"Category\\\"}\",\n \"values\": [],\n \"name\": \"Category\",\n \"index\": 2\n },\n {\n \"code\": \"audience\",\n \"translations\": \"{\\\"en\\\":\\\"Role\\\"}\",\n \"values\": [],\n \"name\": \"Role\",\n \"index\": 4\n }\n ]\n }\n ]\n },\n \"mapping\": [\n {\n \"facet\": \"subject\",\n \"aggregate\": {\n \"groupBy\": \"primaryCategory\",\n \"groupSortBy\": [\n {\n \"name\": {\n \"order\": \"asc\",\n \"preference\": [\n \"Digital Textbook\",\n \"Course\"\n ]\n }\n }\n ]\n },\n \"filterPillBy\": \"primaryCategory\"\n },\n {\n \"facet\": \"additionalCategories\",\n \"aggregate\": {\n \"groupBy\": \"primaryCategory\",\n \"groupSortBy\": [\n {\n \"name\": {\n \"order\": \"asc\"\n }\n }\n ]\n }\n }\n ]\n },\n \"sections\": [\n {\n \"index\": 3,\n \"isEnabled\": true,\n \"code\": \"browse_by_subjects\",\n \"title\": \"{\\\"en\\\":\\\"Browse by subject\\\"}\",\n \"description\": \"{\\\"en\\\":\\\"Browse by digital textbooks, courses, videos and more on %category\\\"}\",\n \"landingDetails\": {\n \"title\": \"{\\\"en\\\":\\\"Browse by %category\\\"}\",\n \"description\": \"{\\\"en\\\":\\\"Browse by digital textbooks, courses, videos and more on %category\\\"}\"\n },\n \"theme\": {\n \"component\": \"sb-pills-grid\",\n \"inputs\": {\n \"pillShape\": \"default\",\n \"pillsViewType\": \"scroll\",\n \"minDisplayCount\": 10,\n \"showMoreViewType\": \"new_screen\",\n \"viewMoreText\": \"{\\\"en\\\":\\\"View all subjects\\\"}\",\n \"viewLessText\": \"{\\\"en\\\":\\\"View Less\\\"}\",\n \"pillsMultiRow\": \"double_view_column\",\n \"pillSize\": \"medium\",\n \"pillBorder\": \"semi_round\",\n \"pillTextElipsis\": \"two_line\"\n },\n \"children\": {\n \"sb-pill-item\": {\n \"inputs\": {\n \"icon\": \"assets/imgs/book_default.svg\"\n },\n \"inputsMap\": {\n \"icon\": {\n \"german\": \"assets/imgs/book_english.svg\",\n \"mathematics\": \"assets/imgs/calculator.svg\",\n \"science\": \"assets/imgs/globe.svg\"\n },\n \"theme\": {\n \"german\": {\n \"iconBgColor\": \"rgba(255,139,46,1)\",\n \"pillBgColor\": \"rgba(255,139,46,0.3)\"\n },\n \"mathematics\": {\n \"iconBgColor\": \"rgba(163,99,255,1)\",\n \"pillBgColor\": \"rgba(163,99,255,0.3)\"\n },\n \"science\": {\n \"iconBgColor\": \"rgba(34,139,255,1)\",\n \"pillBgColor\": \"rgba(34,139,255,0.3)\"\n }\n }\n }\n }\n }\n }\n }\n ]\n },\n {\n \"dataSrc\": {\n \"type\": \"CONTENTS\",\n \"request\": {\n \"type\": \"POST\",\n \"path\": \"/api/content/v1/search\",\n \"withBearerToken\": true,\n \"withUserToken\": true,\n \"body\": {\n \"request\": {\n \"limit\": 0,\n \"offset\": 0,\n \"mode\": \"hard\",\n \"facets\": [\n \"primaryCategory\"\n ],\n \"filters\": {\n \"contentType\": [\n \"Course\"\n ],\n \"primaryCategory\": [\n \"Course\"\n ],\n \"batches.enrollmentType\": \"open\",\n \"batches.status\": [\n 1\n ],\n \"status\": [\n \"Live\"\n ]\n }\n }\n }\n },\n \"mapping\": [\n {\n \"aggregate\": {\n \"groupBy\": \"course\",\n \"sortBy\": [\n {\n \"lastPublishedOn\": \"desc\"\n }\n ]\n },\n \"index\": 0\n }\n ]\n },\n \"sections\": [\n {\n \"index\": 4,\n \"title\": \"{\\\"en\\\":\\\"Recently published courses\\\"}\",\n \"isEnabled\": true,\n \"theme\": {\n \"component\": \"sb-library-cards-hlist\",\n \"inputs\": {\n \"type\": \"course_card_grid\",\n \"hideProgress\": true,\n \"viewMoreButtonText\": \"{\\\"en\\\":\\\"View all\\\"}\"\n }\n }\n }\n ]\n }\n ]\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{host}}/api/data/v1/form/create", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "data", + "v1", + "form", + "create" + ] + }, + "description": "- This API is used to create a user-type selection\n- The endpoint for user type selection is “/v1/form/create”\n- Mandatory fields cannot be null or empty\n \n\n**Parameters**\n\n\"type\": The type of collections used in the section." + }, + "response": [] + }, + { + "name": "Form-7 - config | adminhome | get | app", + "request": { + "method": "POST", + "header": [ + { + "key": "Authorization", + "value": "Bearer {{apikey}}" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"type\": \"config\",\n \"subtype\": \"adminhome\",\n \"action\": \"get\",\n \"component\": \"app\",\n \"framework\": \"*\",\n \"rootOrgId\": \"*\",\n \"data\": {\n \"templateName\": \"adminHome\",\n \"action\": \"get\",\n \"fields\": [\n {\n \"index\": 0,\n \"title\": \"{\\\"en\\\":\\\"Continue\\\"}\",\n \"isEnabled\": true,\n \"dataSrc\": {\n \"name\": \"TRACKABLE_CONTENTS\"\n },\n \"theme\": {}\n },\n {\n \"index\": 1,\n \"title\": \"{\\\"en\\\":\\\"Learn, Manage and Act\\\"}\",\n \"isEnabled\": true,\n \"dataSrc\": {\n \"name\": \"CONTENT_FACETS_ADMIN\",\n \"values\": [\n {\n \"code\": \"program\",\n \"title\": \"{\\\"en\\\":\\\"Programs\\\"}\",\n \"search\": {}\n },\n {\n \"code\": \"project\",\n \"title\": \"{\\\"en\\\":\\\"Projects\\\"}\",\n \"search\": {}\n },\n {\n \"code\": \"observation\",\n \"title\": \"{\\\"en\\\":\\\"Observations\\\"}\",\n \"search\": {}\n },\n {\n \"code\": \"survey\",\n \"title\": \"{\\\"en\\\":\\\"Surveys\\\"}\",\n \"search\": {}\n },\n {\n \"code\": \"course\",\n \"title\": \"{\\\"en\\\":\\\"Courses\\\"}\",\n \"search\": {\n \"filters\": {\n \"primaryCategory\": [\n \"Course\"\n ],\n \"audience\": [\n \"administrator\"\n ],\n \"batches.enrollmentType\": \"open\",\n \"batches.status\": 1\n }\n }\n },\n {\n \"code\": \"report\",\n \"title\": \"{\\\"en\\\":\\\"Reports\\\"}\",\n \"search\": {}\n }\n ]\n },\n \"theme\": {\n \"component\": \"sb-pills-grid\",\n \"inputs\": {\n \"pillShape\": \"box\",\n \"pillsViewType\": \"none\",\n \"minDisplayCount\": 6,\n \"viewMoreText\": \"{\\\"en\\\":\\\"View All\\\"}\",\n \"viewLessText\": \"{\\\"en\\\":\\\"View Less\\\"}\"\n }\n }\n }\n ]\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{host}}/api/data/v1/form/create", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "data", + "v1", + "form", + "create" + ] + }, + "description": "- This API is used to create a user-type selection\n- The endpoint for user type selection is “/v1/form/create”\n- Mandatory fields cannot be null or empty\n \n\n**Parameters**\n\n\"title\": Title indicates the label that should be called for the section." + }, + "response": [] + }, + { + "name": "Form-8 - pageassemble | course | filter_v2 | * ", + "request": { + "method": "POST", + "header": [ + { + "key": "Authorization", + "value": "Bearer {{apikey}}" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"type\": \"pageassemble\",\n \"subType\": \"course\",\n \"action\": \"filter_v2\",\n \"component\": \"*\",\n \"framework\": \"*\",\n \"rootOrgId\": \"*\",\n \"data\": {\n \"templateName\": \"defaultTemplate\",\n \"action\": \"filter\",\n \"fields\": [\n {\n \"code\": \"topic\",\n \"translations\": \"{\\\"en\\\":\\\"Topic\\\"}\",\n \"values\": [],\n \"name\": \"Topic\",\n \"index\": 1,\n \"frameworkCategory\": true\n },\n {\n \"code\": \"purpose\",\n \"translations\": \"{\\\"en\\\":\\\"Purpose\\\"}\",\n \"values\": [],\n \"name\": \"Purpose\",\n \"index\": 2,\n \"frameworkCategory\": true\n },\n {\n \"code\": \"medium\",\n \"translations\": \"{\\\"en\\\":\\\"Medium\\\"}\",\n \"values\": [],\n \"name\": \"Medium\",\n \"index\": 3,\n \"frameworkCategory\": true\n },\n {\n \"code\": \"gradeLevel\",\n \"translations\": \"{\\\"en\\\":\\\"Class\\\"}\",\n \"values\": [],\n \"name\": \"Class\",\n \"index\": 4,\n \"frameworkCategory\": true\n },\n {\n \"code\": \"subject\",\n \"translations\": \"{\\\"en\\\":\\\"Subject\\\"}\",\n \"values\": [],\n \"name\": \"Subject\",\n \"index\": 5,\n \"frameworkCategory\": true\n },\n {\n \"code\": \"channel\",\n \"translations\": \"{\\\"en\\\":\\\"Organization\\\"}\",\n \"values\": [],\n \"name\": \"Organization\",\n \"index\": 6,\n \"frameworkCategory\": false\n }\n ]\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{host}}/api/data/v1/form/create", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "data", + "v1", + "form", + "create" + ] + }, + "description": "- This API is used to create a user-type selection\n- The endpoint for user type selection is “/v1/form/create”\n- Mandatory fields cannot be null or empty\n \n\n**Parameters**\n\n\"title\": Title indicates the label that should be called for the section." + }, + "response": [] + }, + { + "name": "Form-9 - user | project | create | *", + "request": { + "method": "POST", + "header": [ + { + "key": "Authorization", + "value": "Bearer {{apikey}}" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"type\": \"user\",\n \"subType\": \"project\",\n \"action\": \"create\",\n \"component\": \"*\",\n \"framework\": \"*\",\n \"rootOrgId\": \"*\",\n \"data\": {\n \"templateName\": \"defaultTemplate\",\n \"action\": \"update\",\n \"fields\": [\n {\n \"field\": \"title\",\n \"label\": \"Project Title (mandatory)\",\n \"labelTranslations\": \"{\\\"en\\\":\\\"Project Title (mandatory)\\\",\\\"hi\\\":\\\"शीर्षक\\\"}\",\n \"value\": \"\",\n \"visible\": true,\n \"editable\": true,\n \"input\": \"text\",\n \"validation\": {\n \"required\": true\n },\n \"max\": 50,\n \"hint\": \"Name your project\",\n \"hintTranslations\": \"{\\\"en\\\":\\\"Name your project\\\"}\"\n },\n {\n \"field\": \"description\",\n \"label\": \"Objective (mandatory)\",\n \"labelTranslations\": \"{\\\"en\\\":\\\"Objective (mandatory)\\\"}\",\n \"value\": \"\",\n \"visible\": true,\n \"editable\": true,\n \"input\": \"textarea\",\n \"validation\": {\n \"required\": true\n },\n \"max\": 120,\n \"hint\": \"What is the objective of your Project?\",\n \"hintTranslations\": \"{\\\"en\\\":\\\"What is the objective of your Project?\\\"}\"\n },\n {\n \"field\": \"categories\",\n \"label\": \"Categories (mandatory)\",\n \"labelTranslations\": \"{\\\"en\\\":\\\"Categories (mandatory)\\\"}\",\n \"value\": \"\",\n \"visible\": true,\n \"editable\": true,\n \"input\": \"select\",\n \"options\": [\n {\n \"_id\": \"5fcfa9a2457d6055e33843ef\",\n \"label\": \"Teachers\",\n \"value\": \"teachers\",\n \"labelTranslations\": \"{\\\"en\\\":\\\"Teachers\\\",\\\"hi\\\":\\\"शिक्षकों की\\\"}\"\n },\n {\n \"_id\": \"5fcfa9a2457d6055e33843f0\",\n \"label\": \"Students\",\n \"value\": \"students\",\n \"labelTranslations\": \"{\\\"en\\\":\\\"Students\\\"}\"\n },\n {\n \"_id\": \"5fcfa9a2457d6055e33843f1\",\n \"label\": \"Infrastructure\",\n \"value\": \"infrastructure\",\n \"labelTranslations\": \"{\\\"en\\\":\\\"Infrastructure\\\"}\"\n },\n {\n \"_id\": \"5fcfa9a2457d6055e33843f2\",\n \"label\": \"Community\",\n \"value\": \"community\",\n \"labelTranslations\": \"{\\\"en\\\":\\\"Community\\\"}\"\n },\n {\n \"_id\": \"5fcfa9a2457d6055e33843f3\",\n \"label\": \"Education Leader\",\n \"value\": \"educationLeader\",\n \"labelTranslations\": \"{\\\"en\\\":\\\"Education Leader\\\"}\"\n },\n {\n \"_id\": \"5fcfa9a2457d6055e33843f4\",\n \"label\": \"School Process\",\n \"value\": \"schoolProcess\",\n \"labelTranslations\": \"{\\\"en\\\":\\\"School Process\\\"}\"\n },\n {\n \"_id\": \"\",\n \"label\": \"Others\",\n \"value\": \"others\",\n \"labelTranslations\": \"{\\\"en\\\":\\\"Others\\\"}\"\n }\n ],\n \"validation\": {\n \"required\": false\n },\n \"hint\": \"What does your project aim to improve?\",\n \"hintTranslations\": \"{\\\"en\\\":\\\"What does your project aim to improve?\\\"}\"\n }\n ]\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{host}}/api/data/v1/form/create", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "data", + "v1", + "form", + "create" + ] + }, + "description": "1. \"fields\": An object containing field configurations.\n \n\n2\\. \"label\": The label required for the particular fields such as Title, categories etc. The labels used here is \"Project Title\"." + }, + "response": [] + }, + { + "name": "Form-10 - user | project | createtask | *", + "request": { + "method": "POST", + "header": [ + { + "key": "Authorization", + "value": "Bearer {{apikey}}" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"type\": \"user\",\n \"subType\": \"project\",\n \"action\": \"createtask\",\n \"component\": \"*\",\n \"framework\": \"*\",\n \"rootOrgId\": \"*\",\n \"data\": {\n \"templateName\": \"defaultTemplate\",\n \"action\": \"create\",\n \"fields\": [\n {\n \"field\": \"name\",\n \"label\": \"Name\",\n \"labelTranslations\": \"{\\\"en\\\":\\\"Name\\\",\\\"hi\\\":\\\"नाम\\\"}\",\n \"value\": \"\",\n \"visible\": true,\n \"editable\": true,\n \"input\": \"text\",\n \"validation\": {\n \"required\": true\n }\n }\n ]\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{host}}/api/data/v1/form/create", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "data", + "v1", + "form", + "create" + ] + }, + "description": "1. \"fields\": An object containing field configurations.\n \n\n2\\. \"label\": The label required for the particular fields such as name. The label used here is \"Name\"." + }, + "response": [] + }, + { + "name": "Form-11 - category | targetedcategory | homeListing_v2 | *", + "request": { + "method": "POST", + "header": [ + { + "key": "Authorization", + "value": "Bearer {{apikey}}" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"type\": \"category\",\n \"subType\": \"targetedcategory\",\n \"action\": \"homeListing_v2\",\n \"component\": \"*\",\n \"framework\": \"*\",\n \"rootOrgId\": \"*\",\n \"data\": {\n \"templateName\": \"defaultTemplate\",\n \"action\": \"homeListing\",\n \"fields\": {\n \"cbse\": {\n \"teacher\": [\n {\n \"name\": \"observations\",\n \"icon\": {\n \"web\": \"assets/images/mask-image/observation_category.png\",\n \"app\": \"assets/imgs/ic_observation_category.png\"\n }\n },\n {\n \"name\": \"projects\",\n \"icon\": {\n \"web\": \"\",\n \"app\": \"assets/imgs/ic_project.svg\"\n }\n },\n {\n \"name\": \"programs\",\n \"icon\": {\n \"web\": \"\",\n \"app\": \"assets/imgs/ic_program.svg\"\n }\n }\n ]\n },\n \"ekstep_ncert_k-12\": {\n \"teacher\": [\n {\n \"name\": \"observations\",\n \"icon\": {\n \"web\": \"assets/images/mask-image/observation_category.png\",\n \"app\": \"assets/imgs/ic_observation_category.png\"\n }\n }\n ]\n },\n \"tn_k-12_5\": {\n \"teacher\": [\n {\n \"name\": \"observations\",\n \"icon\": {\n \"web\": \"assets/images/mask-image/observation_category.png\",\n \"app\": \"assets/imgs/ic_observation_category.png\"\n }\n }\n ]\n },\n \"cg_k-12\": {\n \"teacher\": [\n {\n \"name\": \"observations\",\n \"icon\": {\n \"web\": \"assets/images/mask-image/observation_category.png\",\n \"app\": \"assets/imgs/ic_observation_category.png\"\n }\n }\n ]\n },\n \"pb_k-12\": {\n \"teacher\": [\n {\n \"name\": \"observations\",\n \"icon\": {\n \"web\": \"assets/images/mask-image/observation_category.png\",\n \"app\": \"assets/imgs/ic_observation_category.png\"\n }\n }\n ]\n }\n }\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{host}}/api/data/v1/form/create", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "data", + "v1", + "form", + "create" + ] + }, + "description": "- \"fields\": An object containing field configurations.\n- \"cbse\": Represents the \"cbse\" attribute.\n- \"teacher\": Represents the \"teacher\" sub-attribute under \"cbse\".\n- The \"teacher\" sub-attribute contains an array of objects with different properties.\n- \"name\": Specifies the name of the teacher sub-attribute. In this case, there are two objects with names \"observation\" and \"project\".\n- \"icon\": An object that defines the icons associated with the teacher sub-attribute.\n- \"web\": Specifies the web URL or file path for the icon associated with the teacher sub-attribute.\n- \"app\": Specifies the app URL or file path for the icon associated with the teacher sub-attribute." + }, + "response": [] + }, + { + "name": "Form-12 - config | search | filter_v3 | app", + "request": { + "method": "POST", + "header": [ + { + "key": "Authorization", + "value": "Bearer {{apikey}}" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"type\": \"config\",\n \"subType\": \"search\",\n \"action\": \"filter_v3\",\n \"component\": \"app\",\n \"framework\": \"*\",\n \"rootOrgId\": \"*\",\n \"data\": {\n \"templateName\": \"search_filter_v3\",\n \"action\": \"search_filter_v3\",\n \"fields\": [\n {\n \"code\": \"se_boards\",\n \"translations\": \"{\\\"en\\\":\\\"Board/Syllabus\\\",\\\"as\\\":\\\"ব'ৰ্ড\\\",\\\"bn\\\":\\\"পর্ষদ\\\",\\\"gu\\\":\\\"બોર્ડ\\\",\\\"hi\\\":\\\"बोर्ड\\\",\\\"kn\\\":\\\"ಮಂಡಳಿ\\\",\\\"mr\\\":\\\"बोर्ड\\\",\\\"or\\\":\\\"ବୋର୍ଡ\\\",\\\"pa\\\":\\\"ਬੋਰਡ\\\",\\\"ta\\\":\\\"வாரியம்\\\",\\\"te\\\":\\\"బోర్డు\\\",\\\"ur\\\":\\\"بورڈ\\\"}\",\n \"values\": [],\n \"name\": \"Board/Syllabus\",\n \"index\": 1\n },\n {\n \"code\": \"se_gradeLevels\",\n \"translations\": \"{\\\"en\\\":\\\"Class\\\",\\\"as\\\":\\\"শ্ৰেণী\\\",\\\"bn\\\":\\\"শ্রেনী\\\",\\\"gu\\\":\\\"વર્ગ\\\",\\\"hi\\\":\\\"कक्षा\\\",\\\"kn\\\":\\\"ತರಗತಿ\\\",\\\"mr\\\":\\\"इयत्ता\\\",\\\"or\\\":\\\"ଶ୍ରେଣୀ\\\",\\\"pa\\\":\\\"ਜਮਾਤ\\\",\\\"ta\\\":\\\"வகுப்பு\\\",\\\"te\\\":\\\"క్లాసు\\\",\\\"ur\\\":\\\"کلاس\\\"}\",\n \"values\": [],\n \"name\": \"Class\",\n \"index\": 2\n },\n {\n \"code\": \"subject\",\n \"translations\": \"{\\\"en\\\":\\\"Subject\\\",\\\"as\\\":\\\"বিষয়\\\",\\\"bn\\\":\\\"বিষয়\\\",\\\"gu\\\":\\\"વિષય\\\",\\\"hi\\\":\\\"विषय\\\",\\\"kn\\\":\\\"ವಿಷಯ\\\",\\\"mr\\\":\\\"विषय\\\",\\\"or\\\":\\\"ବିଷୟ\\\",\\\"pa\\\":\\\"ਵਿਸ਼ਾ\\\",\\\"ta\\\":\\\"பாடம்\\\",\\\"te\\\":\\\"పాఠ్యాంశము\\\",\\\"ur\\\":\\\"مضامین\\\"}\",\n \"values\": [],\n \"name\": \"Subject\",\n \"index\": 3\n },\n {\n \"code\": \"se_mediums\",\n \"translations\": \"{\\\"en\\\":\\\"Medium\\\",\\\"as\\\":\\\"মাধ্যম\\\",\\\"bn\\\":\\\"মাধ্যাম\\\",\\\"gu\\\":\\\"માધ્યમ\\\",\\\"hi\\\":\\\"माध्यम\\\",\\\"kn\\\":\\\"ಮಾಧ್ಯಮ\\\",\\\"mr\\\":\\\"माध्यम\\\",\\\"or\\\":\\\"ମାଧ୍ୟମ\\\",\\\"pa\\\":\\\"ਮਾਧਿਅਮ\\\",\\\"ta\\\":\\\"மீடியம்\\\",\\\"te\\\":\\\"మాధ్యమం\\\",\\\"ur\\\":\\\"میڈیم\\\"}\",\n \"values\": [],\n \"name\": \"Medium\",\n \"index\": 4\n },\n {\n \"code\": \"primaryCategory\",\n \"translations\": \"{\\\"en\\\":\\\"Content Type\\\"}\",\n \"values\": [],\n \"name\": \"Resource Type\",\n \"index\": 5\n },\n {\n \"code\": \"channel\",\n \"translations\": \"{\\\"en\\\":\\\"Publisher\\\",\\\"as\\\":\\\"প্ৰকাশক\\\",\\\"bn\\\":\\\"প্রকাশক\\\",\\\"gu\\\":\\\"પ્રકાશક\\\",\\\"hi\\\":\\\"प्रकाशक\\\",\\\"kn\\\":\\\"ಪ್ರಕಾಶಕರು\\\",\\\"mr\\\":\\\"प्रकाशक\\\",\\\"or\\\":\\\"ପ୍ରକାଶକ\\\",\\\"pa\\\":\\\"ਪ੍ਰਕਾਸ਼ਕ\\\",\\\"ta\\\":\\\"வெளியீட்டாளர்\\\",\\\"te\\\":\\\"ప్రచురణకర్త\\\",\\\"ur\\\":\\\"ناشر\\\"}\",\n \"values\": [],\n \"name\": \"Publisher\",\n \"index\": 6\n },\n {\n \"code\": \"mimeType\",\n \"translations\": \"{\\\"en\\\":\\\"Media Type\\\",\\\"as\\\":\\\"মাধ্যমৰ ধৰণ\\\",\\\"bn\\\":\\\"মিডিয়ার ধরণ\\\",\\\"gu\\\":\\\"મીડિયાનો પ્રકાર\\\",\\\"hi\\\":\\\"मीडिया प्रकार\\\",\\\"kn\\\":\\\"ಮಾಧ್ಯಮದ ವಿಧ\\\",\\\"mr\\\":\\\"माध्यम प्रकार\\\",\\\"or\\\":\\\"ମିଡ଼ିଆ ପ୍ରକାର\\\",\\\"pa\\\":\\\"ਮੀਡੀਆ ਦੀ ਕਿਸਮ\\\",\\\"ta\\\":\\\"ஊடக வகை\\\",\\\"te\\\":\\\"మీడియా రకం\\\",\\\"ur\\\":\\\"میڈیا کی قسم\\\"}\",\n \"values\": [],\n \"name\": \"Publisher\",\n \"index\": 7\n },\n {\n \"code\": \"audience\",\n \"translations\": \"{\\\"en\\\":\\\"Meant for\\\"}\",\n \"values\": [],\n \"name\": \"Meant For\",\n \"index\": 8\n },\n {\n \"code\": \"additionalCategories\",\n \"translations\": \"{\\\"en\\\":\\\"Additional Categories\\\"}\",\n \"values\": [],\n \"name\": \"Additional Categories\",\n \"index\": 9\n }\n ]\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{host}}/api/data/v1/form/create", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "data", + "v1", + "form", + "create" + ] + }, + "description": "The form configuration includes two codes: \"se_boards\" and \"se_gradeLevels.\" Each code has a corresponding name and translations, which can be used as labels in filters on a page. \nThe \"se_boards\" code corresponds to a label called \"Board/Syllabus,\" which can be used to categorize information based on the specific board or syllabus it pertains to. The translations for this label are available in multiple languages including English, Assamese, Bengali, Gujarati, Hindi, Kannada, Marathi, Odia, Punjabi, Tamil, Telugu, and Urdu. \nThe \"se_gradeLevels\" code corresponds to a label called \"Class,\" which can be used to categorize information based on the specific grade or class level it pertains to. The translations for this label are also available in multiple languages including English, Assamese, Bengali, Gujarati, Hindi, Kannada, Marathi, Odia, Punjabi, Tamil, Telugu, and Urdu.\n\n\"\"\n\nThe \"values\" key is currently empty, indicating that no specific values have been assigned to these labels. However, values can be added to these labels in the future to help further categorize and organize information based on the specific board/syllabus and class levels. \nThe \"index\" key indicates the position of the label in a list or dropdown menu, which can be useful for ordering the labels in a specific way." + }, + "response": [] + }, + { + "name": "Form-13 - config | search | facet_filter | app", + "request": { + "method": "POST", + "header": [ + { + "key": "Authorization", + "value": "Bearer {{apikey}}" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"type\": \"config\",\n \"subType\": \"search\",\n \"action\": \"facet_filter\",\n \"component\": \"app\",\n \"framework\": \"*\",\n \"rootOrgId\": \"*\",\n \"data\": {\n \"templateName\": \"search_facet_filter\",\n \"action\": \"get\",\n \"fields\": [\n {\n \"code\": \"se_mediums\",\n \"type\": \"dropdown\",\n \"name\": \"{\\\"en\\\":\\\"Medium\\\",\\\"as\\\":\\\"মাধ্যম\\\",\\\"bn\\\":\\\"মাধ্যাম\\\",\\\"gu\\\":\\\"માધ્યમ\\\",\\\"hi\\\":\\\"माध्यम\\\",\\\"kn\\\":\\\"ಮಾಧ್ಯಮ\\\",\\\"mr\\\":\\\"माध्यम\\\",\\\"or\\\":\\\"ମାଧ୍ୟମ\\\",\\\"pa\\\":\\\"ਮਾਧਿਅਮ\\\",\\\"ta\\\":\\\"மீடியம்\\\",\\\"te\\\":\\\"మాధ్యమం\\\",\\\"ur\\\":\\\"میڈیم\\\"}\",\n \"placeholder\": \"Select Medium\",\n \"multiple\": true,\n \"index\": 1\n },\n {\n \"code\": \"se_gradeLevels\",\n \"type\": \"dropdown\",\n \"name\": \"{\\\"en\\\":\\\"Class\\\",\\\"as\\\":\\\"শ্ৰেণী\\\",\\\"bn\\\":\\\"শ্রেনী\\\",\\\"gu\\\":\\\"વર્ગ\\\",\\\"hi\\\":\\\"कक्षा\\\",\\\"kn\\\":\\\"ತರಗತಿ\\\",\\\"mr\\\":\\\"इयत्ता\\\",\\\"or\\\":\\\"ଶ୍ରେଣୀ\\\",\\\"pa\\\":\\\"ਜਮਾਤ\\\",\\\"ta\\\":\\\"வகுப்பு\\\",\\\"te\\\":\\\"క్లాసు\\\",\\\"ur\\\":\\\"کلاس\\\"}\",\n \"placeholder\": \"Select Class\",\n \"multiple\": true,\n \"index\": 2\n },\n {\n \"code\": \"subject\",\n \"type\": \"dropdown\",\n \"name\": \"{\\\"en\\\":\\\"Subject\\\",\\\"as\\\":\\\"বিষয়\\\",\\\"bn\\\":\\\"বিষয়\\\",\\\"gu\\\":\\\"વિષય\\\",\\\"hi\\\":\\\"विषय\\\",\\\"kn\\\":\\\"ವಿಷಯ\\\",\\\"mr\\\":\\\"विषय\\\",\\\"or\\\":\\\"ବିଷୟ\\\",\\\"pa\\\":\\\"ਵਿਸ਼ਾ\\\",\\\"ta\\\":\\\"பாடம்\\\",\\\"te\\\":\\\"పాఠ్యాంశము\\\",\\\"ur\\\":\\\"مضامین\\\"}\",\n \"placeholder\": \"Select Subject\",\n \"multiple\": true,\n \"index\": 3\n },\n {\n \"code\": \"channel\",\n \"type\": \"dropdown\",\n \"name\": \"{\\\"en\\\":\\\"Publisher\\\",\\\"as\\\":\\\"প্ৰকাশক\\\",\\\"bn\\\":\\\"প্রকাশক\\\",\\\"gu\\\":\\\"પ્રકાશક\\\",\\\"hi\\\":\\\"प्रकाशक\\\",\\\"kn\\\":\\\"ಪ್ರಕಾಶಕರು\\\",\\\"mr\\\":\\\"प्रकाशक\\\",\\\"or\\\":\\\"ପ୍ରକାଶକ\\\",\\\"pa\\\":\\\"ਪ੍ਰਕਾਸ਼ਕ\\\",\\\"ta\\\":\\\"வெளியீட்டாளர்\\\",\\\"te\\\":\\\"ప్రచురణకర్త\\\",\\\"ur\\\":\\\"ناشر\\\"}\",\n \"placeholder\": \"Select Publisher\",\n \"multiple\": true,\n \"index\": 4\n },\n {\n \"code\": \"mimeType\",\n \"type\": \"dropdown\",\n \"name\": \"Media Type\",\n \"placeholder\": \"Select Media Type\",\n \"multiple\": true,\n \"index\": 5\n },\n {\n \"code\": \"primaryCategory\",\n \"type\": \"dropdown\",\n \"name\": \"{\\\"en\\\":\\\"Content Type\\\"}\",\n \"placeholder\": \"Select Content Type\",\n \"multiple\": true,\n \"index\": 6\n },\n {\n \"code\": \"audience\",\n \"type\": \"dropdown\",\n \"name\": \"{\\\"en\\\":\\\"Meant for\\\"}\",\n \"placeholder\": \"Select Meant For\",\n \"multiple\": true,\n \"index\": 7\n },\n {\n \"code\": \"additionalCategories\",\n \"type\": \"dropdown\",\n \"name\": \"{\\\"en\\\":\\\"Additional Categories\\\"}\",\n \"placeholder\": \"Select Additional Categories\",\n \"multiple\": true,\n \"index\": 8\n }\n ]\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{host}}/api/data/v1/form/create", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "data", + "v1", + "form", + "create" + ] + }, + "description": "The form configuration includes two codes: \"se_boards\" and \"se_gradeLevels.\" Each code has a corresponding name and translations, which can be used as labels in filters on a page. \nThe \"se_boards\" code corresponds to a label called \"Board/Syllabus,\" which can be used to categorize information based on the specific board or syllabus it pertains to. The translations for this label are available in multiple languages including English, Assamese, Bengali, Gujarati, Hindi, Kannada, Marathi, Odia, Punjabi, Tamil, Telugu, and Urdu. \nThe \"se_gradeLevels\" code corresponds to a label called \"Class,\" which can be used to categorize information based on the specific grade or class level it pertains to. The translations for this label are also available in multiple languages including English, Assamese, Bengali, Gujarati, Hindi, Kannada, Marathi, Odia, Punjabi, Tamil, Telugu, and Urdu.\n\n\"\"\n\nThe \"values\" key is currently empty, indicating that no specific values have been assigned to these labels. However, values can be added to these labels in the future to help further categorize and organize information based on the specific board/syllabus and class levels. \nThe \"index\" key indicates the position of the label in a list or dropdown menu, which can be useful for ordering the labels in a specific way." + }, + "response": [] + }, + { + "name": "Form-14 - filterConfig | default | get | app", + "request": { + "method": "POST", + "header": [ + { + "key": "Authorization", + "value": "Bearer {{apikey}}" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"type\": \"filterConfig\",\n \"subType\": \"default\",\n \"action\": \"get\",\n \"component\": \"app\",\n \"framework\": \"*\",\n \"rootOrgId\": \"*\",\n \"data\": {\n \"templateName\": \"filterConfig\",\n \"action\": \"get\",\n \"fields\": [\n {\n \"code\": \"se_mediums\",\n \"type\": \"dropdown\",\n \"name\": \"{\\\"en\\\":\\\"Medium\\\",\\\"as\\\":\\\"মাধ্যম\\\",\\\"bn\\\":\\\"মাধ্যাম\\\",\\\"gu\\\":\\\"માધ્યમ\\\",\\\"hi\\\":\\\"माध्यम\\\",\\\"kn\\\":\\\"ಮಾಧ್ಯಮ\\\",\\\"mr\\\":\\\"माध्यम\\\",\\\"or\\\":\\\"ମାଧ୍ୟମ\\\",\\\"pa\\\":\\\"ਮਾਧਿਅਮ\\\",\\\"ta\\\":\\\"மீடியம்\\\",\\\"te\\\":\\\"మాధ్యమం\\\",\\\"ur\\\":\\\"میڈیم\\\"}\",\n \"placeholder\": \"Select Medium\",\n \"multiple\": true,\n \"index\": 1\n },\n {\n \"code\": \"se_gradeLevels\",\n \"type\": \"dropdown\",\n \"name\": \"{\\\"en\\\":\\\"Class\\\",\\\"as\\\":\\\"শ্ৰেণী\\\",\\\"bn\\\":\\\"শ্রেনী\\\",\\\"gu\\\":\\\"વર્ગ\\\",\\\"hi\\\":\\\"कक्षा\\\",\\\"kn\\\":\\\"ತರಗತಿ\\\",\\\"mr\\\":\\\"इयत्ता\\\",\\\"or\\\":\\\"ଶ୍ରେଣୀ\\\",\\\"pa\\\":\\\"ਜਮਾਤ\\\",\\\"ta\\\":\\\"வகுப்பு\\\",\\\"te\\\":\\\"క్లాసు\\\",\\\"ur\\\":\\\"کلاس\\\"}\",\n \"placeholder\": \"Select Class\",\n \"multiple\": true,\n \"index\": 2\n },\n {\n \"code\": \"subject\",\n \"type\": \"dropdown\",\n \"name\": \"{\\\"en\\\":\\\"Subject\\\",\\\"as\\\":\\\"বিষয়\\\",\\\"bn\\\":\\\"বিষয়\\\",\\\"gu\\\":\\\"વિષય\\\",\\\"hi\\\":\\\"विषय\\\",\\\"kn\\\":\\\"ವಿಷಯ\\\",\\\"mr\\\":\\\"विषय\\\",\\\"or\\\":\\\"ବିଷୟ\\\",\\\"pa\\\":\\\"ਵਿਸ਼ਾ\\\",\\\"ta\\\":\\\"பாடம்\\\",\\\"te\\\":\\\"పాఠ్యాంశము\\\",\\\"ur\\\":\\\"مضامین\\\"}\",\n \"placeholder\": \"Select Subject\",\n \"multiple\": true,\n \"index\": 3\n },\n {\n \"code\": \"channel\",\n \"type\": \"dropdown\",\n \"name\": \"{\\\"en\\\":\\\"Publisher\\\",\\\"as\\\":\\\"প্ৰকাশক\\\",\\\"bn\\\":\\\"প্রকাশক\\\",\\\"gu\\\":\\\"પ્રકાશક\\\",\\\"hi\\\":\\\"प्रकाशक\\\",\\\"kn\\\":\\\"ಪ್ರಕಾಶಕರು\\\",\\\"mr\\\":\\\"प्रकाशक\\\",\\\"or\\\":\\\"ପ୍ରକାଶକ\\\",\\\"pa\\\":\\\"ਪ੍ਰਕਾਸ਼ਕ\\\",\\\"ta\\\":\\\"வெளியீட்டாளர்\\\",\\\"te\\\":\\\"ప్రచురణకర్త\\\",\\\"ur\\\":\\\"ناشر\\\"}\",\n \"placeholder\": \"Select Publisher\",\n \"multiple\": true,\n \"index\": 4\n },\n {\n \"code\": \"mimeType\",\n \"type\": \"dropdown\",\n \"name\": \"Media Type\",\n \"placeholder\": \"Select Media Type\",\n \"multiple\": true,\n \"index\": 5\n },\n {\n \"code\": \"primaryCategory\",\n \"type\": \"dropdown\",\n \"name\": \"{\\\"en\\\":\\\"Content Type\\\"}\",\n \"placeholder\": \"Select Content Type\",\n \"multiple\": true,\n \"index\": 6\n },\n {\n \"code\": \"audience\",\n \"type\": \"dropdown\",\n \"name\": \"{\\\"en\\\":\\\"Meant for\\\"}\",\n \"placeholder\": \"Select Meant For\",\n \"multiple\": true,\n \"index\": 7\n },\n {\n \"code\": \"additionalCategories\",\n \"type\": \"dropdown\",\n \"name\": \"{\\\"en\\\":\\\"Additional Categories\\\"}\",\n \"placeholder\": \"Select Additional Categories\",\n \"multiple\": true,\n \"index\": 8\n }\n ]\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{host}}/api/data/v1/form/create", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "data", + "v1", + "form", + "create" + ] + }, + "description": "The form configuration includes two codes: \"se_boards\" and \"se_gradeLevels.\" Each code has a corresponding name and translations, which can be used as labels in filters on a page. \nThe \"se_boards\" code corresponds to a label called \"Board/Syllabus,\" which can be used to categorize information based on the specific board or syllabus it pertains to. The translations for this label are available in multiple languages including English, Assamese, Bengali, Gujarati, Hindi, Kannada, Marathi, Odia, Punjabi, Tamil, Telugu, and Urdu. \nThe \"se_gradeLevels\" code corresponds to a label called \"Class,\" which can be used to categorize information based on the specific grade or class level it pertains to. The translations for this label are also available in multiple languages including English, Assamese, Bengali, Gujarati, Hindi, Kannada, Marathi, Odia, Punjabi, Tamil, Telugu, and Urdu.\n\n\"\"\n\nThe \"values\" key is currently empty, indicating that no specific values have been assigned to these labels. However, values can be added to these labels in the future to help further categorize and organize information based on the specific board/syllabus and class levels. \nThe \"index\" key indicates the position of the label in a list or dropdown menu, which can be useful for ordering the labels in a specific way." + }, + "response": [] + }, + { + "name": "Form-15 - config | discover_v2 | get | app ", + "request": { + "method": "POST", + "header": [ + { + "key": "Authorization", + "value": "Bearer {{apikey}}" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"type\": \"config\",\n \"subType\": \"discover_v2\",\n \"action\": \"get\",\n \"component\": \"app\",\n \"framework\": \"*\",\n \"rootOrgId\": \"*\",\n \"data\": {\n \"templateName\": \"discover_v2\",\n \"action\": \"get\",\n \"fields\": [\n {\n \"dataSrc\": {\n \"type\": \"CONTENT_FACETS\",\n \"request\": {\n \"type\": \"POST\",\n \"path\": \"/api/content/v1/search\",\n \"withBearerToken\": true,\n \"body\": {\n \"request\": {\n \"limit\": 0,\n \"offset\": 0,\n \"mode\": \"hard\",\n \"facets\": [],\n \"filters\": {}\n }\n }\n },\n \"params\": {\n \"config\": [\n {\n \"type\": \"filter\",\n \"code\": \"popular_categories\",\n \"values\": [\n {\n \"code\": \"subject\",\n \"translations\": \"{\\\"en\\\":\\\"Subject\\\",\\\"as\\\":\\\"বিষয়\\\",\\\"bn\\\":\\\"বিষয়\\\",\\\"gu\\\":\\\"વિષય\\\",\\\"hi\\\":\\\"विषय\\\",\\\"kn\\\":\\\"ವಿಷಯ\\\",\\\"mr\\\":\\\"विषय\\\",\\\"or\\\":\\\"ବିଷୟ\\\",\\\"pa\\\":\\\"ਵਿਸ਼ਾ\\\",\\\"ta\\\":\\\"பாடம்\\\",\\\"te\\\":\\\"పాఠ్యాంశము\\\",\\\"ur\\\":\\\"مضامین\\\"}\",\n \"values\": [],\n \"name\": \"Subject\",\n \"index\": 2,\n \"sort\": true\n },\n {\n \"code\": \"audience\",\n \"translations\": \"{\\\"en\\\":\\\"Role\\\"}\",\n \"values\": [],\n \"name\": \"Role\",\n \"index\": 4\n }\n ]\n }\n ]\n },\n \"values\": [\n {\n \"facet\": \"Digital Textbook\",\n \"index\": 0,\n \"searchCriteria\": {\n \"facets\": [],\n \"primaryCategories\": [\n \"Digital Textbook\"\n ],\n \"mode\": \"soft\",\n \"searchType\": \"search\"\n },\n \"aggregate\": {\n \"groupBy\": \"subject\",\n \"groupSortBy\": [\n {\n \"name\": {\n \"order\": \"asc\"\n }\n }\n ]\n },\n \"filterPillBy\": \"primaryCategory\"\n },\n {\n \"facet\": \"Courses\",\n \"index\": 1,\n \"searchCriteria\": {\n \"facets\": [],\n \"primaryCategories\": [\n \"Course\"\n ],\n \"mode\": \"soft\",\n \"searchType\": \"search\"\n },\n \"aggregate\": {\n \"groupBy\": \"subject\",\n \"groupSortBy\": [\n {\n \"name\": {\n \"order\": \"asc\"\n }\n }\n ]\n },\n \"filterPillBy\": \"primaryCategory\"\n },\n {\n \"facet\": \"Tv Classes\",\n \"index\": 2,\n \"searchCriteria\": {\n \"facets\": [],\n \"primaryCategories\": [\n \"Explanation Content\"\n ],\n \"mode\": \"soft\",\n \"searchType\": \"search\"\n },\n \"aggregate\": {\n \"groupBy\": \"subject\",\n \"groupSortBy\": [\n {\n \"name\": {\n \"order\": \"asc\"\n }\n }\n ]\n },\n \"filterPillBy\": \"primaryCategory\"\n },\n {\n \"facet\": \"Videos\",\n \"index\": 3,\n \"searchCriteria\": {\n \"facets\": [],\n \"mimeType\": [\n \"video/avi\",\n \"video/mpeg\",\n \"video/quicktime\",\n \"video/3gpp\",\n \"video/mpeg\",\n \"video/mp4\",\n \"video/ogg\",\n \"video/webm\"\n ],\n \"mode\": \"soft\",\n \"searchType\": \"search\"\n },\n \"aggregate\": {\n \"groupBy\": \"subject\",\n \"groupSortBy\": [\n {\n \"name\": {\n \"order\": \"asc\"\n }\n }\n ]\n },\n \"filterPillBy\": \"primaryCategory\"\n },\n {\n \"facet\": \"Interactive Content\",\n \"index\": 5,\n \"searchCriteria\": {\n \"facets\": [],\n \"mimeType\": [\n \"application/vnd.ekstep.ecml-archive\",\n \"application/vnd.ekstep.h5p-archive\",\n \"application/vnd.ekstep.html-archive\"\n ],\n \"mode\": \"soft\",\n \"searchType\": \"search\"\n },\n \"aggregate\": {\n \"groupBy\": \"subject\",\n \"groupSortBy\": [\n {\n \"name\": {\n \"order\": \"asc\"\n }\n }\n ]\n },\n \"filterPillBy\": \"primaryCategory\"\n },\n {\n \"facet\": \"Audio\",\n \"index\": 4,\n \"searchCriteria\": {\n \"facets\": [],\n \"mimeType\": [\n \"audio/mp3\",\n \"audio/mp4\",\n \"audio/mpeg\",\n \"audio/ogg\",\n \"audio/webm\",\n \"audio/x-wav\",\n \"audio/wav\"\n ],\n \"mode\": \"soft\",\n \"searchType\": \"search\"\n },\n \"aggregate\": {\n \"groupBy\": \"subject\",\n \"groupSortBy\": [\n {\n \"name\": {\n \"order\": \"asc\"\n }\n }\n ]\n },\n \"filterPillBy\": \"primaryCategory\"\n }\n ],\n \"mapping\": []\n },\n \"sections\": [\n {\n \"index\": 0,\n \"code\": \"popular_categories\",\n \"description\": \"{\\\"en\\\":\\\"Explore a wide variety of %category on %appName across different boards and subject\\\"}\",\n \"landingDetails\": {\n \"title\": \"{\\\"en\\\":\\\"Explore %category\\\"}\",\n \"description\": \"{\\\"en\\\":\\\"Explore a wide variety of %category on %appName across different boards and subject\\\"}\"\n },\n \"title\": \"{\\\"en\\\":\\\"Popular categories\\\"}\",\n \"theme\": {\n \"component\": \"sb-pills-grid\",\n \"inputs\": {\n \"pillShape\": \"default\",\n \"pillBorder\": \"round\",\n \"pillTextElipsis\": \"one_line\"\n },\n \"children\": {\n \"sb-pill-item\": {\n \"inputs\": {\n \"icon\": \"assets/imgs/all_content.svg\",\n \"theme\": {\n \"iconBgColor\": \"#FFFFFF\",\n \"pillBgColor\": \"#FFFFFF\"\n }\n },\n \"inputsMap\": {\n \"icon\": {\n \"digitaltextbooks\": \"assets/imgs/textbook.svg\",\n \"digitaltextbook\": \"assets/imgs/textbook.svg\",\n \"courses\": \"assets/imgs/course.svg\",\n \"course\": \"assets/imgs/course.svg\",\n \"tvprograms\": \"assets/imgs/tv.svg\",\n \"tvclasses\": \"assets/imgs/tv.svg\",\n \"documents\": \"assets/imgs/documents.svg\",\n \"videos\": \"assets/imgs/videos.svg\",\n \"interactivecontent\": \"assets/imgs/touch.svg\",\n \"audio\": \"assets/imgs/audio.svg\"\n }\n }\n }\n }\n }\n }\n ]\n },\n {\n \"dataSrc\": {\n \"type\": \"CONTENT_FACETS\",\n \"request\": {\n \"type\": \"POST\",\n \"path\": \"/api/content/v1/search\",\n \"withBearerToken\": true,\n \"body\": {\n \"request\": {\n \"limit\": 0,\n \"offset\": 0,\n \"mode\": \"hard\",\n \"facets\": [],\n \"filters\": {}\n }\n }\n },\n \"params\": {\n \"config\": [\n {\n \"type\": \"filter\",\n \"code\": \"other_boards\",\n \"values\": [\n {\n \"code\": \"subject\",\n \"translations\": \"{\\\"en\\\":\\\"Subject\\\",\\\"as\\\":\\\"বিষয়\\\",\\\"bn\\\":\\\"বিষয়\\\",\\\"gu\\\":\\\"વિષય\\\",\\\"hi\\\":\\\"विषय\\\",\\\"kn\\\":\\\"ವಿಷಯ\\\",\\\"mr\\\":\\\"विषय\\\",\\\"or\\\":\\\"ବିଷୟ\\\",\\\"pa\\\":\\\"ਵਿਸ਼ਾ\\\",\\\"ta\\\":\\\"பாடம்\\\",\\\"te\\\":\\\"పాఠ్యాంశము\\\",\\\"ur\\\":\\\"مضامین\\\"}\",\n \"values\": [],\n \"name\": \"Subject\",\n \"sort\": true,\n \"index\": 2\n },\n {\n \"code\": \"audience\",\n \"translations\": \"{\\\"en\\\":\\\"Role\\\"}\",\n \"values\": [],\n \"name\": \"Role\",\n \"index\": 4\n }\n ]\n }\n ]\n },\n \"values\": [\n {\n \"code\": \"ekstep_ncert_k-12\",\n \"index\": 0,\n \"facet\": \"{\\\"en\\\":\\\"CBSE/NCERT\\\"}\",\n \"searchCriteria\": {\n \"facets\": [\n \"board\"\n ],\n \"board\": [\n \"CBSE\"\n ]\n },\n \"aggregate\": {\n \"groupBy\": \"subject\"\n },\n \"filterPillBy\": \"primaryCategory\"\n },\n {\n \"code\": \"igot_health\",\n \"index\": 1,\n \"facet\": \"{\\\"en\\\":\\\"IGOT-Health\\\"}\",\n \"searchCriteria\": {\n \"facets\": [\n \"board\"\n ],\n \"board\": [\n \"IGOT-Health\"\n ]\n },\n \"aggregate\": {\n \"groupBy\": \"subject\"\n },\n \"filterPillBy\": \"primaryCategory\"\n },\n {\n \"code\": \"ar_k-12\",\n \"index\": 2,\n \"facet\": \"{\\\"en\\\":\\\"State (Arunachal Pradesh)\\\"}\",\n \"searchCriteria\": {\n \"facets\": [\n \"board\"\n ],\n \"board\": [\n \"State (Arunachal Pradesh)\"\n ]\n },\n \"aggregate\": {\n \"groupBy\": \"subject\"\n },\n \"filterPillBy\": \"primaryCategory\"\n },\n {\n \"code\": \"ap_k-12\",\n \"index\": 3,\n \"facet\": \"{\\\"en\\\":\\\"State (Andhra Pradesh)\\\"}\",\n \"searchCriteria\": {\n \"facets\": [\n \"board\"\n ],\n \"board\": [\n \"State (Andhra Pradesh)\"\n ]\n },\n \"aggregate\": {\n \"groupBy\": \"subject\"\n },\n \"filterPillBy\": \"primaryCategory\"\n },\n {\n \"code\": \"as_k-12\",\n \"index\": 4,\n \"facet\": \"{\\\"en\\\":\\\"State (Assam)\\\"}\",\n \"searchCriteria\": {\n \"facets\": [\n \"board\"\n ],\n \"board\": [\n \"State (Assam)\"\n ]\n },\n \"aggregate\": {\n \"groupBy\": \"subject\"\n },\n \"filterPillBy\": \"primaryCategory\"\n },\n {\n \"code\": \"br_k-12\",\n \"index\": 5,\n \"facet\": \"{\\\"en\\\":\\\"State (Bihar)\\\"}\",\n \"searchCriteria\": {\n \"facets\": [\n \"board\"\n ],\n \"board\": [\n \"State (Bihar)\"\n ]\n },\n \"aggregate\": {\n \"groupBy\": \"subject\"\n },\n \"filterPillBy\": \"primaryCategory\"\n },\n {\n \"code\": \"ch_k-12\",\n \"index\": 6,\n \"facet\": \"{\\\"en\\\":\\\"State (Chandigarh)\\\"}\",\n \"searchCriteria\": {\n \"facets\": [\n \"board\"\n ],\n \"board\": [\n \"State (Chandigarh)\"\n ]\n },\n \"aggregate\": {\n \"groupBy\": \"subject\"\n },\n \"filterPillBy\": \"primaryCategory\"\n },\n {\n \"code\": \"cg_k-12\",\n \"index\": 7,\n \"facet\": \"{\\\"en\\\":\\\"State (Chhattisgarh)\\\"}\",\n \"searchCriteria\": {\n \"facets\": [\n \"board\"\n ],\n \"board\": [\n \"State (Chhattisgarh)\"\n ]\n },\n \"aggregate\": {\n \"groupBy\": \"subject\"\n },\n \"filterPillBy\": \"primaryCategory\"\n },\n {\n \"code\": \"dl_k-12\",\n \"index\": 8,\n \"facet\": \"{\\\"en\\\":\\\"State (Delhi)\\\"}\",\n \"searchCriteria\": {\n \"facets\": [\n \"board\"\n ],\n \"board\": [\n \"State (Delhi)\"\n ]\n },\n \"aggregate\": {\n \"groupBy\": \"subject\"\n },\n \"filterPillBy\": \"primaryCategory\"\n },\n {\n \"code\": \"ga_k-12\",\n \"index\": 9,\n \"facet\": \"{\\\"en\\\":\\\"State (Goa)\\\"}\",\n \"searchCriteria\": {\n \"facets\": [\n \"board\"\n ],\n \"board\": [\n \"State (Goa)\"\n ]\n },\n \"aggregate\": {\n \"groupBy\": \"subject\"\n },\n \"filterPillBy\": \"primaryCategory\"\n },\n {\n \"code\": \"gj_k-12\",\n \"index\": 10,\n \"facet\": \"{\\\"en\\\":\\\"State (Gujarat)\\\"}\",\n \"searchCriteria\": {\n \"facets\": [\n \"board\"\n ],\n \"board\": [\n \"State (Gujarat)\"\n ]\n },\n \"aggregate\": {\n \"groupBy\": \"subject\"\n },\n \"filterPillBy\": \"primaryCategory\"\n },\n {\n \"code\": \"hr_k-12\",\n \"index\": 11,\n \"facet\": \"{\\\"en\\\":\\\"State (Haryana)\\\"}\",\n \"searchCriteria\": {\n \"facets\": [\n \"board\"\n ],\n \"board\": [\n \"State (Haryana)\"\n ]\n },\n \"aggregate\": {\n \"groupBy\": \"subject\"\n },\n \"filterPillBy\": \"primaryCategory\"\n },\n {\n \"code\": \"hp_k-12\",\n \"index\": 12,\n \"facet\": \"{\\\"en\\\":\\\"State (Himachal Pradesh)\\\"}\",\n \"searchCriteria\": {\n \"facets\": [\n \"board\"\n ],\n \"board\": [\n \"State (Himachal Pradesh)\"\n ]\n },\n \"aggregate\": {\n \"groupBy\": \"subject\"\n },\n \"filterPillBy\": \"primaryCategory\"\n },\n {\n \"code\": \"jk_k-12\",\n \"index\": 13,\n \"facet\": \"{\\\"en\\\":\\\"State (Jammu And Kashmir)\\\"}\",\n \"searchCriteria\": {\n \"facets\": [\n \"board\"\n ],\n \"board\": [\n \"State (Jammu And Kashmir)\"\n ]\n },\n \"aggregate\": {\n \"groupBy\": \"subject\"\n },\n \"filterPillBy\": \"primaryCategory\"\n },\n {\n \"code\": \"jh_k-12\",\n \"index\": 14,\n \"facet\": \"{\\\"en\\\":\\\"State (Jharkhand)\\\"}\",\n \"searchCriteria\": {\n \"facets\": [\n \"board\"\n ],\n \"board\": [\n \"State (Jharkhand)\"\n ]\n },\n \"aggregate\": {\n \"groupBy\": \"subject\"\n },\n \"filterPillBy\": \"primaryCategory\"\n },\n {\n \"code\": \"ka_k-12\",\n \"index\": 15,\n \"facet\": \"{\\\"en\\\":\\\"State (Karnataka)\\\"}\",\n \"searchCriteria\": {\n \"facets\": [\n \"board\"\n ],\n \"board\": [\n \"State (Karnataka)\"\n ]\n },\n \"aggregate\": {\n \"groupBy\": \"subject\"\n },\n \"filterPillBy\": \"primaryCategory\"\n },\n {\n \"code\": \"kl_k-12\",\n \"index\": 16,\n \"facet\": \"{\\\"en\\\":\\\"State (Kerala)\\\"}\",\n \"searchCriteria\": {\n \"facets\": [\n \"board\"\n ],\n \"board\": [\n \"State (Kerala)\"\n ]\n },\n \"aggregate\": {\n \"groupBy\": \"subject\"\n },\n \"filterPillBy\": \"primaryCategory\"\n },\n {\n \"code\": \"mp_k-12\",\n \"index\": 17,\n \"facet\": \"{\\\"en\\\":\\\"State (Madhya Pradesh)\\\"}\",\n \"searchCriteria\": {\n \"facets\": [\n \"board\"\n ],\n \"board\": [\n \"State (Madhya Pradesh)\"\n ]\n },\n \"aggregate\": {\n \"groupBy\": \"subject\"\n },\n \"filterPillBy\": \"primaryCategory\"\n },\n {\n \"code\": \"mh_k-12_1\",\n \"index\": 18,\n \"facet\": \"{\\\"en\\\":\\\"State (Maharashtra)\\\"}\",\n \"searchCriteria\": {\n \"facets\": [\n \"board\"\n ],\n \"board\": [\n \"State (Maharashtra)\"\n ]\n },\n \"aggregate\": {\n \"groupBy\": \"subject\"\n },\n \"filterPillBy\": \"primaryCategory\"\n },\n {\n \"code\": \"mn_k-12\",\n \"index\": 19,\n \"facet\": \"{\\\"en\\\":\\\"State (Manipur)\\\"}\",\n \"searchCriteria\": {\n \"facets\": [\n \"board\"\n ],\n \"board\": [\n \"State (Manipur)\"\n ]\n },\n \"aggregate\": {\n \"groupBy\": \"subject\"\n },\n \"filterPillBy\": \"primaryCategory\"\n },\n {\n \"code\": \"ml_k-12\",\n \"index\": 20,\n \"facet\": \"{\\\"en\\\":\\\"State (Meghalya)\\\"}\",\n \"searchCriteria\": {\n \"facets\": [\n \"board\"\n ],\n \"board\": [\n \"State (Meghalya)\"\n ]\n },\n \"aggregate\": {\n \"groupBy\": \"subject\"\n },\n \"filterPillBy\": \"primaryCategory\"\n },\n {\n \"code\": \"mz_k-12\",\n \"index\": 21,\n \"facet\": \"{\\\"en\\\":\\\"State (Mizoram)\\\"}\",\n \"searchCriteria\": {\n \"facets\": [\n \"board\"\n ],\n \"board\": [\n \"State (Mizoram)\"\n ]\n },\n \"aggregate\": {\n \"groupBy\": \"subject\"\n },\n \"filterPillBy\": \"primaryCategory\"\n },\n {\n \"code\": \"nl_k-12\",\n \"index\": 22,\n \"facet\": \"{\\\"en\\\":\\\"State (Nagaland)\\\"}\",\n \"searchCriteria\": {\n \"facets\": [\n \"board\"\n ],\n \"board\": [\n \"State (Nagaland)\"\n ]\n },\n \"aggregate\": {\n \"groupBy\": \"subject\"\n },\n \"filterPillBy\": \"primaryCategory\"\n },\n {\n \"code\": \"od_k-12\",\n \"index\": 23,\n \"facet\": \"{\\\"en\\\":\\\"State (Odisha)\\\"}\",\n \"searchCriteria\": {\n \"facets\": [\n \"board\"\n ],\n \"board\": [\n \"State (Odisha)\"\n ]\n },\n \"aggregate\": {\n \"groupBy\": \"subject\"\n },\n \"filterPillBy\": \"primaryCategory\"\n },\n {\n \"code\": \"pb_k-12\",\n \"index\": 24,\n \"facet\": \"{\\\"en\\\":\\\"State (Punjab)\\\"}\",\n \"searchCriteria\": {\n \"facets\": [\n \"board\"\n ],\n \"board\": [\n \"State (Punjab)\"\n ]\n },\n \"aggregate\": {\n \"groupBy\": \"subject\"\n },\n \"filterPillBy\": \"primaryCategory\"\n },\n {\n \"code\": \"rj_k-12\",\n \"index\": 25,\n \"facet\": \"{\\\"en\\\":\\\"State (Rajasthan)\\\"}\",\n \"searchCriteria\": {\n \"facets\": [\n \"board\"\n ],\n \"board\": [\n \"State (Rajasthan)\"\n ]\n },\n \"aggregate\": {\n \"groupBy\": \"subject\"\n },\n \"filterPillBy\": \"primaryCategory\"\n },\n {\n \"code\": \"sk_k-12_1\",\n \"index\": 26,\n \"facet\": \"{\\\"en\\\":\\\"State (Sikkim)\\\"}\",\n \"searchCriteria\": {\n \"facets\": [\n \"board\"\n ],\n \"board\": [\n \"State (Sikkim)\"\n ]\n },\n \"aggregate\": {\n \"groupBy\": \"subject\"\n },\n \"filterPillBy\": \"primaryCategory\"\n },\n {\n \"code\": \"tn_k-12_5\",\n \"index\": 27,\n \"facet\": \"{\\\"en\\\":\\\"State (Tamil Nadu)\\\"}\",\n \"searchCriteria\": {\n \"facets\": [\n \"board\"\n ],\n \"board\": [\n \"State (Tamil Nadu)\"\n ]\n },\n \"aggregate\": {\n \"groupBy\": \"subject\"\n },\n \"filterPillBy\": \"primaryCategory\"\n },\n {\n \"code\": \"ts_k-12\",\n \"index\": 28,\n \"facet\": \"{\\\"en\\\":\\\"State (Telangana)\\\"}\",\n \"searchCriteria\": {\n \"facets\": [\n \"board\"\n ],\n \"board\": [\n \"State (Telangana)\"\n ]\n },\n \"aggregate\": {\n \"groupBy\": \"subject\"\n },\n \"filterPillBy\": \"primaryCategory\"\n },\n {\n \"code\": \"tp_k-12\",\n \"index\": 29,\n \"facet\": \"{\\\"en\\\":\\\"State (Tripura)\\\"}\",\n \"searchCriteria\": {\n \"facets\": [\n \"board\"\n ],\n \"board\": [\n \"State (Tripura)\"\n ]\n },\n \"aggregate\": {\n \"groupBy\": \"subject\"\n },\n \"filterPillBy\": \"primaryCategory\"\n },\n {\n \"code\": \"up_k-12\",\n \"index\": 30,\n \"facet\": \"{\\\"en\\\":\\\"State (Uttar Pradesh)\\\"}\",\n \"searchCriteria\": {\n \"facets\": [\n \"board\"\n ],\n \"board\": [\n \"State (Uttar Pradesh)\"\n ]\n },\n \"aggregate\": {\n \"groupBy\": \"subject\"\n },\n \"filterPillBy\": \"primaryCategory\"\n },\n {\n \"code\": \"uk_k-12\",\n \"index\": 31,\n \"facet\": \"{\\\"en\\\":\\\"State (Uttarakhand)\\\"}\",\n \"searchCriteria\": {\n \"facets\": [\n \"board\"\n ],\n \"board\": [\n \"State (Uttarakhand)\"\n ]\n },\n \"aggregate\": {\n \"groupBy\": \"subject\"\n },\n \"filterPillBy\": \"primaryCategory\"\n },\n {\n \"code\": \"an_k-12\",\n \"index\": 32,\n \"facet\": \"{\\\"en\\\":\\\"UT (Andaman and Nicobar Islands)\\\"}\",\n \"searchCriteria\": {\n \"facets\": [\n \"board\"\n ],\n \"board\": [\n \"UT (Andaman and Nicobar Islands)\"\n ]\n },\n \"aggregate\": {\n \"groupBy\": \"subject\"\n },\n \"filterPillBy\": \"primaryCategory\"\n },\n {\n \"code\": \"dd_k-12\",\n \"index\": 33,\n \"facet\": \"{\\\"en\\\":\\\"UT (DNH and DD)\\\"}\",\n \"searchCriteria\": {\n \"facets\": [\n \"board\"\n ],\n \"board\": [\n \"UT (DNH and DD)\"\n ]\n },\n \"aggregate\": {\n \"groupBy\": \"subject\"\n },\n \"filterPillBy\": \"primaryCategory\"\n },\n {\n \"code\": \"ld_k-12\",\n \"index\": 34,\n \"facet\": \"{\\\"en\\\":\\\"UT (Ladakh)\\\"}\",\n \"searchCriteria\": {\n \"facets\": [\n \"board\"\n ],\n \"board\": [\n \"UT (Ladakh)\"\n ]\n },\n \"aggregate\": {\n \"groupBy\": \"subject\"\n },\n \"filterPillBy\": \"primaryCategory\"\n },\n {\n \"code\": \"py_k-12\",\n \"index\": 35,\n \"facet\": \"{\\\"en\\\":\\\"UT (Puducherry)\\\"}\",\n \"searchCriteria\": {\n \"facets\": [\n \"board\"\n ],\n \"board\": [\n \"UT (Puducherry)\"\n ]\n },\n \"aggregate\": {\n \"groupBy\": \"subject\"\n },\n \"filterPillBy\": \"primaryCategory\"\n }\n ],\n \"mapping\": []\n },\n \"sections\": [\n {\n \"index\": 1,\n \"code\": \"other_boards\",\n \"title\": \"{\\\"en\\\":\\\"Explore content from other boards\\\"}\",\n \"description\": \"{\\\"en\\\":\\\"Explore content linked to %category across all subjects\\\"}\",\n \"landingDetails\": {\n \"title\": \"{\\\"en\\\":\\\"Explore %category\\\"}\",\n \"description\": \"{\\\"en\\\":\\\"Explore content linked to %category across all subjects\\\"}\"\n },\n \"isEnabled\": true,\n \"component\": \"tag\",\n \"shape\": \"circle\",\n \"theme\": {\n \"component\": \"sb-pills-grid\",\n \"inputs\": {\n \"pillShape\": \"default\",\n \"pillsViewType\": \"scroll\",\n \"pillBorder\": \"round\",\n \"pillSize\": \"large\",\n \"pillTextElipsis\": \"one_line\"\n },\n \"children\": {\n \"sb-pill-item\": {\n \"inputs\": {\n \"icon\": \"assets/imgs/default_circle.png\",\n \"theme\": {\n \"iconBgColor\": \"#FFFFFF\",\n \"pillBgColor\": \"#FFFFFF\"\n }\n },\n \"inputsMap\": {\n \"icon\": {\n \"ekstep_ncert_k-12\": \"https://diksha.gov.in/cbse/cbse-logo.png\",\n \"igot_health\": \"https://diksha.gov.in/igot/logo.png\",\n \"ar_k-12\": \"https://diksha.gov.in/ar/logo.png\",\n \"ap_k-12\": \"https://diksha.gov.in/ap/logo.png\",\n \"as_k-12\": \"https://diksha.gov.in/as/logo.png\",\n \"br_k-12\": \"https://diksha.gov.in/br/logo.png\",\n \"ch_k-12\": \"https://diksha.gov.in/logo.png\",\n \"cg_k-12\": \"https://diksha.gov.in/cg/logo.png\",\n \"dl_k-12\": \"https://diksha.gov.in/dl/logo.png\",\n \"ga_k-12\": \"https://diksha.gov.in/ga/logo.png\",\n \"gj_k-12\": \"https://diksha.gov.in/gj/logo.png\",\n \"hr_k-12\": \"https://diksha.gov.in/hr/logo.png\",\n \"hp_k-12\": \"https://diksha.gov.in/logo.png\",\n \"jk_k-12\": \"https://diksha.gov.in/jk/logo.png\",\n \"jh_k-12\": \"https://diksha.gov.in/jh/logo.png\",\n \"ka_k-12\": \"https://diksha.gov.in/ka/appLogo.png\",\n \"kl_k-12\": \"https://diksha.gov.in/logo.png\",\n \"mp_k-12\": \"https://diksha.gov.in/mp/logo.png\",\n \"mh_k-12_1\": \"https://diksha.gov.in/mh/logo.png\",\n \"mn_k-12\": \"https://diksha.gov.in/mn/appLogo.png\",\n \"ml_k-12\": \"https://diksha.gov.in/ml/logo.png\",\n \"mz_k-12\": \"https://diksha.gov.in/mz/logo.png\",\n \"nl_k-12\": \"https://diksha.gov.in/nl/logo.png\",\n \"od_k-12\": \"https://diksha.gov.in/od/appLogo.png\",\n \"pb_k-12\": \"https://diksha.gov.in/pb/appLogo.png\",\n \"rj_k-12\": \"https://diksha.gov.in/rj/appLogo.png\",\n \"sk_k-12_1\": \"https://diksha.gov.in/sk/logo.png\",\n \"tn_k-12_5\": \"https://diksha.gov.in/tn/appLogo.png\",\n \"ts_k-12\": \"https://diksha.gov.in/ts/logo.png\",\n \"tp_k-12\": \"https://diksha.gov.in/logo.png\",\n \"up_k-12\": \"https://diksha.gov.in/up/appLogo.png\",\n \"uk_k-12\": \"https://diksha.gov.in/logo.png\",\n \"an_k-12\": \"https://diksha.gov.in/an/logo.png\",\n \"dd_k-12\": \"https://diksha.gov.in/dd/appLogo.png\",\n \"ld_k-12\": \"https://diksha.gov.in/ld/appLogo.png\",\n \"py_k-12\": \"https://diksha.gov.in/py/appLogo.png\"\n }\n }\n }\n }\n }\n }\n ]\n },\n {\n \"dataSrc\": {\n \"type\": \"CONTENT_FACETS\",\n \"request\": {\n \"type\": \"POST\",\n \"path\": \"/api/content/v1/search\",\n \"withBearerToken\": true,\n \"body\": {\n \"request\": {\n \"limit\": 0,\n \"offset\": 0,\n \"mode\": \"hard\",\n \"facets\": [],\n \"filters\": {}\n }\n }\n },\n \"params\": {\n \"config\": [\n {\n \"type\": \"filter\",\n \"code\": \"browse_by_audience\",\n \"values\": [\n {\n \"code\": \"subject\",\n \"translations\": \"{\\\"en\\\":\\\"Subject\\\",\\\"hi\\\":\\\"कक्षा\\\",\\\"te\\\":\\\"క్లాసు\\\",\\\"ta\\\":\\\"வகுப்பு\\\",\\\"mr\\\":\\\"इयत्ता\\\"}\",\n \"values\": [],\n \"name\": \"Subject\",\n \"index\": 2,\n \"sort\": true\n },\n {\n \"code\": \"audience\",\n \"translations\": \"{\\\"en\\\":\\\"Role\\\",\\\"hi\\\":\\\"माध्यम\\\",\\\"te\\\":\\\"మాధ్యమం\\\",\\\"ta\\\":\\\"மொழி\\\",\\\"mr\\\":\\\"माध्यम\\\"}\",\n \"values\": [],\n \"name\": \"Role\",\n \"index\": 4\n }\n ]\n }\n ]\n },\n \"values\": [\n {\n \"code\": \"teacher\",\n \"facet\": \"Teacher\",\n \"index\": 0,\n \"searchCriteria\": {\n \"facets\": [],\n \"audience\": [\n \"Teacher\"\n ],\n \"mode\": \"soft\",\n \"searchType\": \"search\"\n },\n \"aggregate\": {\n \"groupBy\": \"subject\"\n },\n \"filterPillBy\": \"primaryCategory\"\n },\n {\n \"code\": \"student\",\n \"facet\": \"Student\",\n \"index\": 1,\n \"searchCriteria\": {\n \"facets\": [],\n \"audience\": [\n \"Student\"\n ],\n \"mode\": \"soft\",\n \"searchType\": \"search\"\n },\n \"aggregate\": {\n \"groupBy\": \"subject\"\n },\n \"filterPillBy\": \"primaryCategory\"\n },\n {\n \"code\": \"parent\",\n \"facet\": \"Parent/Guardian\",\n \"index\": 2,\n \"searchCriteria\": {\n \"facets\": [],\n \"audience\": [\n \"Parent\"\n ],\n \"mode\": \"soft\",\n \"searchType\": \"search\"\n },\n \"aggregate\": {\n \"groupBy\": \"subject\"\n },\n \"filterPillBy\": \"primaryCategory\"\n },\n {\n \"code\": \"administrator\",\n \"facet\": \"Head Teacher & Officials\",\n \"index\": 3,\n \"searchCriteria\": {\n \"facets\": [],\n \"audience\": [\n \"Administrator\"\n ],\n \"mode\": \"soft\",\n \"searchType\": \"search\"\n },\n \"aggregate\": {\n \"groupBy\": \"subject\"\n },\n \"filterPillBy\": \"primaryCategory\"\n }\n ],\n \"mapping\": []\n },\n \"sections\": [\n {\n \"index\": 2,\n \"code\": \"browse_by_audience\",\n \"title\": \"{\\\"en\\\":\\\"Explore content for a variety of audience\\\"}\",\n \"description\": \"{\\\"en\\\":\\\"Explore a wide variety of content meant for %category on %appName\\\"}\",\n \"landingDetails\": {\n \"title\": \"{\\\"en\\\":\\\"Explore Courses\\\"}\",\n \"description\": \"{\\\"en\\\":\\\"Explore content matching your preferences\\\"}\"\n },\n \"isEnabled\": true,\n \"component\": \"tag\",\n \"shape\": \"circle\",\n \"theme\": {\n \"component\": \"sb-pills-grid\",\n \"inputs\": {\n \"pillShape\": \"default\",\n \"pillsViewType\": \"scroll\",\n \"pillBorder\": \"round\",\n \"pillSize\": \"large\",\n \"pillTextElipsis\": \"one_line\"\n },\n \"children\": {\n \"sb-pill-item\": {\n \"inputs\": {\n \"icon\": \"assets/imgs/default_circle.png\",\n \"theme\": {\n \"iconBgColor\": \"#FFFFFF\",\n \"pillBgColor\": \"#FFFFFF\"\n }\n },\n \"inputsMap\": {\n \"icon\": {\n \"student\": \"assets/imgs/ic_student.svg\",\n \"teacher\": \"assets/imgs/ic_teacher.svg\",\n \"parent\": \"assets/imgs/ic_parent.svg\",\n \"administrator\": \"assets/imgs/ic_admin.svg\"\n }\n }\n }\n }\n }\n }\n ]\n }\n ]\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{host}}/api/data/v1/form/create", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "data", + "v1", + "form", + "create" + ] + } + }, + "response": [] + }, + { + "name": "Form-16 - profileconfig_v2 | default | get | * ", + "request": { + "method": "POST", + "header": [ + { + "key": "Authorization", + "value": "Bearer {{apikey}}" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"type\": \"profileconfig_v2\",\n \"subType\": \"default\",\n \"action\": \"get\",\n \"component\": \"*\",\n \"framework\": \"*\",\n \"rootOrgId\": \"*\",\n \"data\": {\n \"templateName\": \"profileconfig_v2\",\n \"action\": \"get\",\n \"fields\": [\n {\n \"code\": \"name\",\n \"type\": \"input\",\n \"templateOptions\": {\n \"labelHtml\": {\n \"contents\": \"$0 *\",\n \"values\": {\n \"$0\": \"Name\"\n }\n },\n \"hidden\": true,\n \"placeHolder\": \"Enter Name\",\n \"multiple\": false\n },\n \"validations\": [\n {\n \"type\": \"required\"\n }\n ]\n },\n {\n \"code\": \"persona\",\n \"type\": \"nested_select\",\n \"templateOptions\": {\n \"hidden\": true,\n \"labelHtml\": {\n \"contents\": \"$0 *\",\n \"values\": {\n \"$0\": \"Role\"\n }\n },\n \"placeHolder\": \"Select Role\",\n \"multiple\": false,\n \"themeType\": \"material\",\n \"dataSrc\": {\n \"marker\": \"SUPPORTED_PERSONA_LIST\"\n }\n },\n \"validations\": [\n {\n \"type\": \"required\"\n }\n ],\n \"children\": {\n \"administrator\": [\n {\n \"code\": \"state\",\n \"type\": \"select\",\n \"templateOptions\": {\n \"labelHtml\": {\n \"contents\": \"$0 *\",\n \"values\": {\n \"$0\": \"State\"\n }\n },\n \"placeHolder\": \"Select State\",\n \"multiple\": false,\n \"dataSrc\": {\n \"marker\": \"STATE_LOCATION_LIST\",\n \"params\": {\n \"useCase\": \"SIGNEDIN_GUEST\"\n }\n }\n },\n \"validations\": [\n {\n \"type\": \"required\"\n }\n ]\n },\n {\n \"code\": \"district\",\n \"type\": \"select\",\n \"context\": \"state\",\n \"default\": null,\n \"templateOptions\": {\n \"labelHtml\": {\n \"contents\": \"$0 *\",\n \"values\": {\n \"$0\": \"District\"\n }\n },\n \"placeHolder\": \"Select District\",\n \"multiple\": false,\n \"dataSrc\": {\n \"marker\": \"LOCATION_LIST\",\n \"params\": {\n \"id\": \"district\",\n \"useCase\": \"SIGNEDIN_GUEST\"\n }\n }\n },\n \"validations\": [\n {\n \"type\": \"required\"\n }\n ]\n },\n {\n \"code\": \"block\",\n \"type\": \"select\",\n \"context\": \"district\",\n \"default\": null,\n \"templateOptions\": {\n \"label\": \"Block\",\n \"placeHolder\": \"Select Block\",\n \"multiple\": false,\n \"dataSrc\": {\n \"marker\": \"LOCATION_LIST\",\n \"params\": {\n \"id\": \"block\",\n \"useCase\": \"SIGNEDIN\"\n }\n }\n },\n \"validations\": []\n },\n {\n \"code\": \"cluster\",\n \"type\": \"select\",\n \"context\": \"block\",\n \"default\": null,\n \"templateOptions\": {\n \"label\": \"Cluster\",\n \"placeHolder\": \"Select Cluster\",\n \"multiple\": false,\n \"dataSrc\": {\n \"marker\": \"LOCATION_LIST\",\n \"params\": {\n \"id\": \"cluster\",\n \"useCase\": \"SIGNEDIN\"\n }\n }\n }\n },\n {\n \"code\": \"school\",\n \"type\": \"select\",\n \"context\": \"cluster\",\n \"default\": null,\n \"templateOptions\": {\n \"label\": \"School\",\n \"placeHolder\": \"Select School\",\n \"multiple\": false,\n \"dataSrc\": {\n \"marker\": \"LOCATION_LIST\",\n \"params\": {\n \"id\": \"school\",\n \"useCase\": \"SIGNEDIN\"\n }\n }\n }\n }\n ],\n \"teacher\": [\n {\n \"code\": \"state\",\n \"type\": \"select\",\n \"templateOptions\": {\n \"labelHtml\": {\n \"contents\": \"$0 *\",\n \"values\": {\n \"$0\": \"State\"\n }\n },\n \"placeHolder\": \"Select State\",\n \"multiple\": false,\n \"themeType\": \"material\",\n \"dataSrc\": {\n \"marker\": \"STATE_LOCATION_LIST\",\n \"params\": {\n \"useCase\": \"SIGNEDIN_GUEST\"\n }\n }\n },\n \"validations\": [\n {\n \"type\": \"required\"\n }\n ]\n },\n {\n \"code\": \"district\",\n \"type\": \"select\",\n \"context\": \"state\",\n \"default\": null,\n \"templateOptions\": {\n \"labelHtml\": {\n \"contents\": \"$0 *\",\n \"values\": {\n \"$0\": \"District\"\n }\n },\n \"placeHolder\": \"Select District\",\n \"multiple\": false,\n \"themeType\": \"material\",\n \"dataSrc\": {\n \"marker\": \"LOCATION_LIST\",\n \"params\": {\n \"id\": \"district\",\n \"useCase\": \"SIGNEDIN_GUEST\"\n }\n }\n },\n \"validations\": [\n {\n \"type\": \"required\"\n }\n ]\n },\n {\n \"code\": \"block\",\n \"type\": \"select\",\n \"context\": \"district\",\n \"default\": null,\n \"templateOptions\": {\n \"label\": \"Block\",\n \"placeHolder\": \"Select Block\",\n \"multiple\": false,\n \"themeType\": \"material\",\n \"dataSrc\": {\n \"marker\": \"LOCATION_LIST\",\n \"params\": {\n \"id\": \"block\",\n \"useCase\": \"SIGNEDIN\"\n }\n }\n },\n \"validations\": []\n },\n {\n \"code\": \"cluster\",\n \"type\": \"select\",\n \"context\": \"block\",\n \"default\": null,\n \"templateOptions\": {\n \"label\": \"Cluster\",\n \"placeHolder\": \"Select Cluster\",\n \"multiple\": false,\n \"themeType\": \"material\",\n \"dataSrc\": {\n \"marker\": \"LOCATION_LIST\",\n \"params\": {\n \"id\": \"cluster\",\n \"useCase\": \"SIGNEDIN\"\n }\n }\n }\n },\n {\n \"code\": \"school\",\n \"type\": \"select\",\n \"context\": \"cluster\",\n \"default\": null,\n \"templateOptions\": {\n \"label\": \"School\",\n \"placeHolder\": \"Select School\",\n \"multiple\": false,\n \"themeType\": \"material\",\n \"dataSrc\": {\n \"marker\": \"LOCATION_LIST\",\n \"params\": {\n \"id\": \"school\",\n \"useCase\": \"SIGNEDIN\"\n }\n }\n }\n }\n ],\n \"student\": [\n {\n \"code\": \"state\",\n \"type\": \"select\",\n \"templateOptions\": {\n \"labelHtml\": {\n \"contents\": \"$0 *\",\n \"values\": {\n \"$0\": \"State\"\n }\n },\n \"placeHolder\": \"Select State\",\n \"multiple\": false,\n \"themeType\": \"material\",\n \"dataSrc\": {\n \"marker\": \"STATE_LOCATION_LIST\",\n \"params\": {\n \"useCase\": \"SIGNEDIN_GUEST\"\n }\n }\n },\n \"validations\": [\n {\n \"type\": \"required\"\n }\n ]\n },\n {\n \"code\": \"district\",\n \"type\": \"select\",\n \"context\": \"state\",\n \"default\": null,\n \"templateOptions\": {\n \"labelHtml\": {\n \"contents\": \"$0 *\",\n \"values\": {\n \"$0\": \"District\"\n }\n },\n \"placeHolder\": \"Select District\",\n \"multiple\": false,\n \"themeType\": \"material\",\n \"dataSrc\": {\n \"marker\": \"LOCATION_LIST\",\n \"params\": {\n \"id\": \"district\",\n \"useCase\": \"SIGNEDIN_GUEST\"\n }\n }\n },\n \"validations\": [\n {\n \"type\": \"required\"\n }\n ]\n },\n {\n \"code\": \"block\",\n \"type\": \"select\",\n \"context\": \"district\",\n \"default\": null,\n \"templateOptions\": {\n \"label\": \"Block\",\n \"placeHolder\": \"Select Block\",\n \"multiple\": false,\n \"themeType\": \"material\",\n \"dataSrc\": {\n \"marker\": \"LOCATION_LIST\",\n \"params\": {\n \"id\": \"block\",\n \"useCase\": \"SIGNEDIN\"\n }\n }\n },\n \"validations\": []\n },\n {\n \"code\": \"cluster\",\n \"type\": \"select\",\n \"context\": \"block\",\n \"default\": null,\n \"templateOptions\": {\n \"label\": \"Cluster\",\n \"placeHolder\": \"Select Cluster\",\n \"multiple\": false,\n \"themeType\": \"material\",\n \"dataSrc\": {\n \"marker\": \"LOCATION_LIST\",\n \"params\": {\n \"id\": \"cluster\",\n \"useCase\": \"SIGNEDIN\"\n }\n }\n }\n },\n {\n \"code\": \"school\",\n \"type\": \"select\",\n \"context\": \"cluster\",\n \"default\": null,\n \"templateOptions\": {\n \"label\": \"School\",\n \"placeHolder\": \"Select School\",\n \"multiple\": false,\n \"themeType\": \"material\",\n \"dataSrc\": {\n \"marker\": \"LOCATION_LIST\",\n \"params\": {\n \"id\": \"school\",\n \"useCase\": \"SIGNEDIN\"\n }\n }\n }\n }\n ],\n \"other\": [\n {\n \"code\": \"state\",\n \"type\": \"select\",\n \"templateOptions\": {\n \"placeHolder\": \"Select State\",\n \"multiple\": false,\n \"themeType\": \"material\",\n \"dataSrc\": {\n \"marker\": \"STATE_LOCATION_LIST\",\n \"params\": {\n \"useCase\": \"SIGNEDIN_GUEST\"\n }\n }\n },\n \"validations\": [\n {\n \"type\": \"required\"\n }\n ]\n },\n {\n \"code\": \"district\",\n \"type\": \"select\",\n \"context\": \"state\",\n \"default\": null,\n \"templateOptions\": {\n \"labelHtml\": {\n \"contents\": \"$0 *\",\n \"values\": {\n \"$0\": \"District\"\n }\n },\n \"placeHolder\": \"Select District\",\n \"multiple\": false,\n \"themeType\": \"material\",\n \"dataSrc\": {\n \"marker\": \"LOCATION_LIST\",\n \"params\": {\n \"id\": \"district\",\n \"useCase\": \"SIGNEDIN_GUEST\"\n }\n }\n },\n \"validations\": [\n {\n \"type\": \"required\"\n }\n ]\n },\n {\n \"code\": \"block\",\n \"type\": \"select\",\n \"context\": \"district\",\n \"default\": null,\n \"templateOptions\": {\n \"label\": \"Block\",\n \"placeHolder\": \"Select Block\",\n \"multiple\": false,\n \"themeType\": \"material\",\n \"dataSrc\": {\n \"marker\": \"LOCATION_LIST\",\n \"params\": {\n \"id\": \"block\",\n \"useCase\": \"SIGNEDIN\"\n }\n }\n },\n \"validations\": []\n },\n {\n \"code\": \"cluster\",\n \"type\": \"select\",\n \"context\": \"block\",\n \"default\": null,\n \"templateOptions\": {\n \"label\": \"Cluster\",\n \"placeHolder\": \"Select Cluster\",\n \"multiple\": false,\n \"themeType\": \"material\",\n \"dataSrc\": {\n \"marker\": \"LOCATION_LIST\",\n \"params\": {\n \"id\": \"cluster\",\n \"useCase\": \"SIGNEDIN\"\n }\n }\n }\n },\n {\n \"code\": \"school\",\n \"type\": \"select\",\n \"context\": \"cluster\",\n \"default\": null,\n \"templateOptions\": {\n \"label\": \"School\",\n \"placeHolder\": \"Select School\",\n \"multiple\": false,\n \"themeType\": \"material\",\n \"dataSrc\": {\n \"marker\": \"LOCATION_LIST\",\n \"params\": {\n \"id\": \"school\",\n \"useCase\": \"SIGNEDIN\"\n }\n }\n }\n }\n ],\n \"parent\": [\n {\n \"code\": \"state\",\n \"type\": \"select\",\n \"templateOptions\": {\n \"labelHtml\": {\n \"contents\": \"$0 *\",\n \"values\": {\n \"$0\": \"State\"\n }\n },\n \"placeHolder\": \"Select State\",\n \"multiple\": false,\n \"themeType\": \"material\",\n \"dataSrc\": {\n \"marker\": \"STATE_LOCATION_LIST\",\n \"params\": {\n \"useCase\": \"SIGNEDIN_GUEST\"\n }\n }\n },\n \"validations\": [\n {\n \"type\": \"required\"\n }\n ]\n },\n {\n \"code\": \"district\",\n \"type\": \"select\",\n \"context\": \"state\",\n \"default\": null,\n \"templateOptions\": {\n \"labelHtml\": {\n \"contents\": \"$0 *\",\n \"values\": {\n \"$0\": \"District\"\n }\n },\n \"placeHolder\": \"Select District\",\n \"multiple\": false,\n \"themeType\": \"material\",\n \"dataSrc\": {\n \"marker\": \"LOCATION_LIST\",\n \"params\": {\n \"id\": \"district\",\n \"useCase\": \"SIGNEDIN_GUEST\"\n }\n }\n },\n \"validations\": [\n {\n \"type\": \"required\"\n }\n ]\n },\n {\n \"code\": \"block\",\n \"type\": \"select\",\n \"context\": \"district\",\n \"default\": null,\n \"templateOptions\": {\n \"label\": \"Block\",\n \"placeHolder\": \"Select Block\",\n \"multiple\": false,\n \"themeType\": \"material\",\n \"dataSrc\": {\n \"marker\": \"LOCATION_LIST\",\n \"params\": {\n \"id\": \"block\",\n \"useCase\": \"SIGNEDIN\"\n }\n }\n },\n \"validations\": []\n },\n {\n \"code\": \"cluster\",\n \"type\": \"select\",\n \"context\": \"block\",\n \"default\": null,\n \"templateOptions\": {\n \"label\": \"Cluster\",\n \"placeHolder\": \"Select Cluster\",\n \"multiple\": false,\n \"themeType\": \"material\",\n \"dataSrc\": {\n \"marker\": \"LOCATION_LIST\",\n \"params\": {\n \"id\": \"cluster\",\n \"useCase\": \"SIGNEDIN\"\n }\n }\n }\n },\n {\n \"code\": \"school\",\n \"type\": \"select\",\n \"context\": \"cluster\",\n \"default\": null,\n \"templateOptions\": {\n \"label\": \"School\",\n \"placeHolder\": \"Select School\",\n \"multiple\": false,\n \"themeType\": \"material\",\n \"dataSrc\": {\n \"marker\": \"LOCATION_LIST\",\n \"params\": {\n \"id\": \"school\",\n \"useCase\": \"SIGNEDIN\"\n }\n }\n }\n }\n ]\n }\n }\n ]\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{host}}/api/data/v1/form/create", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "data", + "v1", + "form", + "create" + ] + }, + "description": "- \"code\": A code or identifier for the field, set as \"name\".\n- \"type\": Specifies the type of the field, which is \"input\" in this case.\n- \"templateOptions\": An object containing various options related to the template or layout of the field.\n- \"labelHtml\": Specifies the HTML contents for the label of the field. It includes a placeholder \"$0\" that will be replaced with the value \"Name\". Additionally, it adds a span element with a CSS class to display a required asterisk symbol.\n- \"hidden\": A boolean value indicating whether the field should be hidden (set as true).\n- \"placeHolder\": Specifies the placeholder text to be displayed within the input field, set as \"Enter Name\".\n- \"multiple\": A boolean value indicating whether multiple values can be entered in the field (set as false).\n- \"validations\": An array containing validation rules for the field. In this case, there is a single validation rule of type \"required\", indicating that the field must have a value." + }, + "response": [] + }, + { + "name": "Form-17 - user | tenantpersonainfo_v2 | get | app ", + "request": { + "method": "POST", + "header": [ + { + "key": "Authorization", + "value": "Bearer {{apikey}}" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"type\": \"user\",\n \"subType\": \"tenantpersonainfo_v2\",\n \"action\": \"get\",\n \"component\": \"app\",\n \"framework\": \"*\",\n \"rootOrgId\": \"*\",\n \"data\": {\n \"templateName\": \"tenantPersonaInfo_v2\",\n \"action\": \"get\",\n \"fields\": [\n {\n \"code\": \"tenant\",\n \"type\": \"select\",\n \"templateOptions\": {\n \"label\": \"I wish to share my data with:\",\n \"placeHolder\": \"Select State/Institution\",\n \"options\": [\n {\n \"label\": \"State (Punjab)\",\n \"value\": \"012775810960252928563\",\n \"index\": 1\n },\n {\n \"label\": \"Andra Pradesh\",\n \"value\": \"0129109366089728000\",\n \"index\": 2\n },\n {\n \"label\": \"Haryana State\",\n \"value\": \"0127674553846579203\",\n \"index\": 3\n },\n {\n \"label\": \"Karnataka State Org\",\n \"value\": \"0127236218321879040\",\n \"index\": 4\n },\n {\n \"label\": \"Tamil Nadu\",\n \"value\": \"01269878797503692810\",\n \"index\": 5\n },\n {\n \"label\": \"NCERT\",\n \"value\": \"01283607456185548825093\",\n \"index\": 6\n },\n {\n \"label\": \"CBSE\",\n \"value\": \"0128325322816552960\",\n \"index\": 7\n },\n {\n \"label\": \"Jharkhand State Board\",\n \"value\": \"012811889750941696475\",\n \"index\": 8\n },\n {\n \"label\": \"Kerala State\",\n \"value\": \"013051342708842496208\",\n \"index\": 9\n }\n ],\n \"validations\": [\n {\n \"type\": \"required\",\n \"value\": true,\n \"message\": \"Tenant name is required\"\n }\n ]\n }\n }\n ]\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{host}}/api/data/v1/form/create", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "data", + "v1", + "form", + "create" + ] + }, + "description": "- \"code\": \"tenant\": Specifies the code or identifier for the field.\n- \"type\": \"select\": Indicates that this field represents a select field where users can choose from a list of options.\n- \"templateOptions\": Defines the template options for the field, such as label,\n - \"label\": \"I wish to share my data with:\": Specifies the label for the field, indicating the purpose of the selection.\n - \"placeHolder\": \"Select State/Institution\": Specifies the placeholder text that is displayed in the select field when no option is selected.\n - \"options\": Specifies the available options for the select field. Each option is defined as an object with a label, value, and index.\n - \"label\": \"State (Punjab)\": Specifies the display label for the option.\n - \"value\": \"012775810960252928563\": Specifies the value associated with the option. This value can be used to identify the selected option.\n - \"index\": 1: Specifies the index of the option, indicating its position in the list." + }, + "response": [] + }, + { + "name": "Form-18 - user | selfdeclaration_v3 | submit | app ", + "request": { + "method": "POST", + "header": [ + { + "key": "Authorization", + "value": "Bearer {{apikey}}" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"type\": \"user\",\n \"subType\": \"selfdeclaration_v3\",\n \"action\": \"submit\",\n \"component\": \"app\",\n \"framework\": \"*\",\n \"rootOrgId\": \"*\",\n \"data\": {\n \"templateName\": \"selfdeclaration_v3\",\n \"action\": \"submit\",\n \"fields\": [\n {\n \"code\": \"externalIds\",\n \"type\": \"nested_group\",\n \"children\": [\n {\n \"code\": \"declared-ext-id\",\n \"fieldName\": \"Your ID from State/Board/Org\",\n \"type\": \"input\",\n \"templateOptions\": {\n \"labelHtml\": {\n \"contents\": \"$0\",\n \"values\": {\n \"$0\": \"ENTER_ID_AS_REQUESTED_BY_STATE_BOARD_ORG\"\n }\n },\n \"placeHolder\": \"ENTER_ID\"\n },\n \"validations\": [\n {\n \"type\": \"pattern\",\n \"value\": \"^[^\\\"',(\\\\r\\\\n|\\\\r|\\\\n)]*$\",\n \"message\": \"SPECIAL_CHARACTERS_NOT_SUPPORTED\"\n }\n ]\n },\n {\n \"code\": \"declared-phone\",\n \"fieldName\": \"Mobile Number\",\n \"type\": \"input\",\n \"templateOptions\": {\n \"labelHtml\": {\n \"contents\": \"$0\",\n \"values\": {\n \"$0\": \"FRMELEMNTS_LBL_MOBILE_NUMBER_PLACEHOLDER\"\n }\n },\n \"placeHolder\": \"ENTER_PHONE_POPUP_TITLE\",\n \"prefix\": \"+91 -\"\n },\n \"validations\": [\n {\n \"type\": \"pattern\",\n \"value\": \"^[6-9*][0-9*]{9}$\",\n \"message\": \"ERROR_PHONE_INVALID\"\n }\n ],\n \"asyncValidation\": {\n \"marker\": \"MOBILE_OTP_VALIDATION\",\n \"message\": \"PLEASE_VALIDATE_YOUR_MOBILE_NUMBER\",\n \"trigger\": \"validate\"\n }\n },\n {\n \"code\": \"declared-email\",\n \"fieldName\": \"Email Address\",\n \"type\": \"input\",\n \"templateOptions\": {\n \"placeHolder\": \"EMAIL_PLACEHOLDER\",\n \"label\": \"FRMELEMNTS_LBL_EMAIL_ID_PLACEHOLDER\"\n },\n \"validations\": [\n {\n \"type\": \"pattern\",\n \"value\": \"^[A-Za-z0-9._*%+-]+@[A-Za-z0-9.-]+\\\\.[a-z]{2,}$\",\n \"message\": \"ERROR_EMAIL_INVALID\"\n }\n ],\n \"asyncValidation\": {\n \"marker\": \"EMAIL_OTP_VALIDATION\",\n \"message\": \"PLEASE_VALIDATE_YOUR_EMAIL_ADDRESS\",\n \"trigger\": \"validate\"\n }\n }\n ],\n \"templateOptions\": {}\n },\n {\n \"code\": \"tnc\",\n \"type\": \"checkbox\",\n \"templateOptions\": {\n \"labelHtml\": {\n \"contents\": \"$tnc $0\",\n \"values\": {\n \"$tnc\": \"SELF_DECLARE_TEACHER_TNC\",\n \"$url\": \"url\",\n \"$0\": \"PRIVACY_POLICY\"\n }\n }\n },\n \"validations\": [\n {\n \"type\": \"required\",\n \"value\": true,\n \"message\": \"\"\n }\n ]\n },\n {\n \"templateOptions\": {\n \"labelHtml\": {\n \"contents\": \"

$0

\",\n \"values\": {\n \"$0\": \"FRMELEMNTS_MSG_CONSENT_DECLARATION_INFO\"\n }\n }\n },\n \"code\": \"consentInfo\",\n \"type\": \"label\"\n }\n ]\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{host}}/api/data/v1/form/create", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "data", + "v1", + "form", + "create" + ] + }, + "description": "- \"code\": \"declared-ext-id\": Specifies the code or identifier for the child field.\n- \"fieldName\": \"Your ID from State/Board/Org\": Specifies the field name or label for the child field.\n- \"type\": \"input\": Indicates that this child field represents an input field where users can enter text.\n- \"templateOptions\": Defines the template options for the child field, such as label and placeholder.\n - \"labelHtml\": Specifies the HTML content for the label. In this case, it contains a placeholder for a dynamic value.\n - \"contents\": \"$0\": Specifies the HTML content, where $0 will be replaced by the actual label value.\n - \"values\": {\"$0\": \"ID as requested by your State/ Board/ Org\"}: Provides the actual value to be inserted into the HTML content.\n - \"placeHolder\": \"Enter ID\": Specifies the placeholder text that is displayed in the input field.\n- \"validations\": Specifies the validations to be applied to the input field.\n - \"type\": \"pattern\": Indicates that a pattern validation rule should be applied.\n - \"value\": \"^\\[^\\\\\"',\\\\\\\\r\\\\\\\\n|\\\\\\\\r|\\\\\\\\n\\]\\\\\\*$\": Specifies the regular expression pattern that the input should match.\n - \"message\": \"This field does not allow you to enter special characters\": Specifies the error message to be displayed if the pattern validation fails." + }, + "response": [] + }, + { + "name": "Form-19 - user | manageduser | create | app ", + "request": { + "method": "POST", + "header": [ + { + "key": "Authorization", + "value": "Bearer {{apikey}}" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"type\": \"user\",\n \"subType\": \"manageduser\",\n \"action\": \"create\",\n \"component\": \"app\",\n \"framework\": \"*\",\n \"rootOrgId\": \"*\",\n \"data\": {\n \"templateName\": \"manageduser\",\n \"action\": \"create\",\n \"fields\": [\n {\n \"templateOptions\": {\n \"label\": \"FULL_NAME\",\n \"placeholder\": \"ENTER_USER_NAME\"\n },\n \"code\": \"name\",\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"NAME_IS_REQUIRED\",\n \"value\": true\n }\n ],\n \"type\": \"input\"\n },\n {\n \"templateOptions\": {\n \"label\": \"PREFERENCES_CAN_BE_UPDATED\"\n },\n \"code\": \"updatePreference\",\n \"type\": \"label\"\n }\n ]\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{host}}/api/data/v1/form/create", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "data", + "v1", + "form", + "create" + ] + }, + "description": "\"fields\": An object containing field configurations.\n\n\"validations\": This section ensures that the user must enter a value in the field, as indicated by the \"required\" validation type." + }, + "response": [] + }, + { + "name": "Form-20 - config | login_v2 | get | * ", + "request": { + "method": "POST", + "header": [ + { + "key": "Authorization", + "value": "Bearer {{apikey}}" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"type\": \"config\",\n \"subType\": \"login_v2\",\n \"action\": \"get\",\n \"component\": \"*\",\n \"framework\": \"*\",\n \"rootOrgId\": \"*\",\n \"data\": {\n \"templateName\": \"login_v2\",\n \"action\": \"get\",\n \"fields\": [\n {\n \"context\": \"register\",\n \"target\": {\n \"host\": \"https://staging.sunbirded.org\",\n \"path\": \"/signup\",\n \"params\": [\n {\n \"key\": \"redirect_uri\",\n \"value\": \"https://staging.sunbirded.org/oauth2callback\"\n },\n {\n \"key\": \"response_type\",\n \"value\": \"code\"\n },\n {\n \"key\": \"scope\",\n \"value\": \"offline_access\"\n },\n {\n \"key\": \"client_id\",\n \"value\": \"android\"\n },\n {\n \"key\": \"version\",\n \"value\": \"4\"\n },\n {\n \"key\": \"error_callback\",\n \"value\": \"https://staging.sunbirded.org/auth/realms/sunbird/protocol/openid-connect/auth\"\n }\n ]\n },\n \"return\": [\n {\n \"type\": \"state-error\",\n \"when\": {\n \"host\": \"https://staging.sunbirded.org\",\n \"path\": \"/sso/sign-in/error\",\n \"params\": [\n {\n \"key\": \"error_message\",\n \"resolveTo\": \"error_message\"\n }\n ]\n }\n },\n {\n \"type\": \"password-reset-success\",\n \"when\": {\n \"host\": \"https://staging.sunbirded.org\",\n \"path\": \"/auth/realms/sunbird/protocol/openid-connect/auth\",\n \"params\": [\n {\n \"key\": \"client_id\",\n \"resolveTo\": \"client_id\"\n }\n ]\n }\n },\n {\n \"type\": \"reset\",\n \"when\": {\n \"host\": \"https://staging.sunbirded.org\",\n \"path\": \"/auth/realms/sunbird/protocol/openid-connect/auth\",\n \"params\": [\n {\n \"key\": \"client_id\",\n \"resolveTo\": \"client_id\"\n }\n ]\n }\n },\n {\n \"type\": \"password\",\n \"when\": {\n \"host\": \"https://staging.sunbirded.org\",\n \"path\": \"/oauth2callback\",\n \"params\": [\n {\n \"key\": \"code\",\n \"resolveTo\": \"code\"\n }\n ]\n }\n },\n {\n \"type\": \"google\",\n \"when\": {\n \"host\": \"https://staging.sunbirded.org\",\n \"path\": \"/oauth2callback\",\n \"params\": [\n {\n \"key\": \"googleRedirectUrl\",\n \"resolveTo\": \"googleRedirectUrl\"\n }\n ]\n }\n },\n {\n \"type\": \"state\",\n \"when\": {\n \"host\": \"https://staging.sunbirded.org\",\n \"path\": \"/sso/sign-in/success\",\n \"params\": [\n {\n \"key\": \"id\",\n \"resolveTo\": \"id\"\n }\n ]\n }\n }\n ]\n },\n {\n \"context\": \"state\",\n \"target\": {\n \"host\": \"https://staging.sunbirded.org\",\n \"path\": \"/sign-in/sso/select-org\",\n \"params\": [\n {\n \"key\": \"client_id\",\n \"value\": \"android\"\n },\n {\n \"key\": \"version\",\n \"value\": \"4\"\n },\n {\n \"key\": \"response_type\",\n \"value\": \"code\"\n },\n {\n \"key\": \"scope\",\n \"value\": \"offline_access\"\n }\n ]\n },\n \"return\": [\n {\n \"type\": \"state-error\",\n \"when\": {\n \"host\": \"https://staging.sunbirded.org\",\n \"path\": \"/sso/sign-in/error\",\n \"params\": [\n {\n \"key\": \"error_message\",\n \"resolveTo\": \"error_message\"\n }\n ]\n }\n },\n {\n \"type\": \"state\",\n \"when\": {\n \"host\": \"https://staging.sunbirded.org\",\n \"path\": \"/sso/sign-in/success\",\n \"params\": [\n {\n \"key\": \"id\",\n \"resolveTo\": \"id\"\n }\n ]\n }\n },\n {\n \"type\": \"migrate\",\n \"when\": {\n \"host\": \"https://staging.sunbirded.org\",\n \"path\": \"/auth/realms/sunbird/protocol/openid-connect/auth\",\n \"params\": [\n {\n \"key\": \"automerge\",\n \"resolveTo\": \"automerge\"\n },\n {\n \"key\": \"payload\",\n \"resolveTo\": \"payload\"\n },\n {\n \"key\": \"state\",\n \"resolveTo\": \"state\"\n },\n {\n \"key\": \"userId\",\n \"resolveTo\": \"userId\"\n },\n {\n \"key\": \"identifierType\",\n \"resolveTo\": \"identifierType\"\n },\n {\n \"key\": \"identifierValue\",\n \"resolveTo\": \"identifierValue\"\n },\n {\n \"key\": \"goBackUrl\",\n \"resolveTo\": \"goBackUrl\"\n }\n ]\n }\n }\n ]\n },\n {\n \"context\": \"login\",\n \"target\": {\n \"host\": \"https://staging.sunbirded.org\",\n \"path\": \"/auth/realms/sunbird/protocol/openid-connect/auth\",\n \"params\": [\n {\n \"key\": \"redirect_uri\",\n \"value\": \"https://staging.sunbirded.org/oauth2callback\"\n },\n {\n \"key\": \"response_type\",\n \"value\": \"code\"\n },\n {\n \"key\": \"scope\",\n \"value\": \"offline_access\"\n },\n {\n \"key\": \"client_id\",\n \"value\": \"android\"\n },\n {\n \"key\": \"version\",\n \"value\": \"4\"\n }\n ]\n },\n \"return\": [\n {\n \"type\": \"state-error\",\n \"when\": {\n \"host\": \"https://staging.sunbirded.org\",\n \"path\": \"/sso/sign-in/error\",\n \"params\": [\n {\n \"key\": \"error_message\",\n \"resolveTo\": \"error_message\"\n }\n ]\n }\n },\n {\n \"type\": \"password-reset-success\",\n \"when\": {\n \"host\": \"https://staging.sunbirded.org\",\n \"path\": \"/auth/realms/sunbird/protocol/openid-connect/auth\",\n \"params\": [\n {\n \"key\": \"client_id\",\n \"resolveTo\": \"client_id\"\n }\n ]\n }\n },\n {\n \"type\": \"reset\",\n \"when\": {\n \"host\": \"https://staging.sunbirded.org\",\n \"path\": \"/auth/realms/sunbird/protocol/openid-connect/auth\",\n \"params\": [\n {\n \"key\": \"client_id\",\n \"resolveTo\": \"client_id\"\n }\n ]\n }\n },\n {\n \"type\": \"password\",\n \"when\": {\n \"host\": \"https://staging.sunbirded.org\",\n \"path\": \"/oauth2callback\",\n \"params\": [\n {\n \"key\": \"code\",\n \"resolveTo\": \"code\"\n }\n ]\n }\n },\n {\n \"type\": \"google\",\n \"when\": {\n \"host\": \"https://staging.sunbirded.org\",\n \"path\": \"/oauth2callback\",\n \"params\": [\n {\n \"key\": \"googleRedirectUrl\",\n \"resolveTo\": \"googleRedirectUrl\"\n }\n ]\n }\n },\n {\n \"type\": \"state\",\n \"when\": {\n \"host\": \"https://staging.sunbirded.org\",\n \"path\": \"/sso/sign-in/success\",\n \"params\": [\n {\n \"key\": \"id\",\n \"resolveTo\": \"id\"\n }\n ]\n }\n },\n {\n \"type\": \"migrate\",\n \"when\": {\n \"host\": \"https://staging.sunbirded.org\",\n \"path\": \"/auth/realms/sunbird/protocol/openid-connect/auth\",\n \"params\": [\n {\n \"key\": \"automerge\",\n \"resolveTo\": \"automerge\"\n },\n {\n \"key\": \"payload\",\n \"resolveTo\": \"payload\"\n },\n {\n \"key\": \"state\",\n \"resolveTo\": \"state\"\n },\n {\n \"key\": \"userId\",\n \"resolveTo\": \"userId\"\n },\n {\n \"key\": \"identifierType\",\n \"resolveTo\": \"identifierType\"\n },\n {\n \"key\": \"identifierValue\",\n \"resolveTo\": \"identifierValue\"\n },\n {\n \"key\": \"goBackUrl\",\n \"resolveTo\": \"goBackUrl\"\n }\n ]\n }\n }\n ]\n },\n {\n \"context\": \"merge\",\n \"target\": {\n \"host\": \" https://merge.staging.sunbirded.org\",\n \"path\": \"/auth/realms/sunbird/protocol/openid-connect/auth\",\n \"params\": [\n {\n \"key\": \"redirect_uri\",\n \"value\": \"https://staging.sunbirded.org/oauth2callback\"\n },\n {\n \"key\": \"response_type\",\n \"value\": \"code\"\n },\n {\n \"key\": \"scope\",\n \"value\": \"offline_access\"\n },\n {\n \"key\": \"client_id\",\n \"value\": \"android\"\n },\n {\n \"key\": \"version\",\n \"value\": \"4\"\n },\n {\n \"key\": \"merge_account_process\",\n \"value\": \"1\"\n },\n {\n \"key\": \"mergeaccountprocess\",\n \"value\": \"1\"\n },\n {\n \"key\": \"goBackUrl\",\n \"value\": \"https://merge.staging.sunbirded.org/?exit=1\"\n }\n ]\n },\n \"return\": [\n {\n \"type\": \"password\",\n \"when\": {\n \"host\": \"https://staging.sunbirded.org\",\n \"path\": \"/oauth2callback\",\n \"params\": [\n {\n \"key\": \"code\",\n \"resolveTo\": \"code\"\n }\n ]\n }\n },\n {\n \"type\": \"google\",\n \"when\": {\n \"host\": \"https://staging.sunbirded.org\",\n \"path\": \"/oauth2callback\",\n \"params\": [\n {\n \"key\": \"googleRedirectUrl\",\n \"resolveTo\": \"googleRedirectUrl\"\n }\n ]\n }\n },\n {\n \"type\": \"exit\",\n \"when\": {\n \"host\": \"https://merge.staging.sunbirded.org\",\n \"path\": \"/\",\n \"params\": [\n {\n \"key\": \"exit\",\n \"resolveTo\": \"exit\"\n }\n ]\n }\n }\n ]\n },\n {\n \"context\": \"migrate\",\n \"target\": {\n \"host\": \"https://staging.sunbirded.org\",\n \"path\": \"/auth/realms/sunbird/protocol/openid-connect/auth\",\n \"params\": [\n {\n \"key\": \"redirect_uri\",\n \"value\": \"https://staging.sunbirded.org/oauth2callback\"\n },\n {\n \"key\": \"response_type\",\n \"value\": \"code\"\n },\n {\n \"key\": \"scope\",\n \"value\": \"offline_access\"\n },\n {\n \"key\": \"client_id\",\n \"value\": \"android\"\n },\n {\n \"key\": \"version\",\n \"value\": \"4\"\n },\n {\n \"key\": \"automerge\",\n \"value\": \"1\"\n }\n ]\n },\n \"return\": [\n {\n \"type\": \"password\",\n \"when\": {\n \"host\": \"https://staging.sunbirded.org\",\n \"path\": \"/oauth2callback\",\n \"params\": [\n {\n \"key\": \"code\",\n \"resolveTo\": \"code\"\n }\n ]\n }\n },\n {\n \"type\": \"google\",\n \"when\": {\n \"host\": \"https://staging.sunbirded.org\",\n \"path\": \"/oauth2callback\",\n \"params\": [\n {\n \"key\": \"googleRedirectUrl\",\n \"resolveTo\": \"googleRedirectUrl\"\n }\n ]\n }\n },\n {\n \"type\": \"state\",\n \"when\": {\n \"host\": \"https://staging.sunbirded.org\",\n \"path\": \"/sso/sign-in/success\",\n \"params\": [\n {\n \"key\": \"id\",\n \"resolveTo\": \"id\"\n }\n ]\n }\n }\n ]\n }\n ]\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{host}}/api/data/v1/form/create", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "data", + "v1", + "form", + "create" + ] + }, + "description": "\"fields\": An object containing field configurations.\n\n\"context\" : This field specifies that this form is for logging in.\n\n\"target\" : This field provides the login page's URL, including the necessary parameters for the authentication process. \n\"host\": This specifies the domain name of the login page, while the \"path\" field provides the URL path for the authentication endpoint.\n\n\"params\": This section provides additional parameters needed for authentication, including the redirect URL, response type, scope, client ID, and version." + }, + "response": [] + }, + { + "name": "Form-21 - config | utility | get | app ", + "request": { + "method": "POST", + "header": [ + { + "key": "Authorization", + "value": "Bearer {{apikey}}" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"type\": \"config\",\n \"subType\": \"utility\",\n \"action\": \"get\",\n \"component\": \"app\",\n \"framework\": \"*\",\n \"rootOrgId\": \"*\",\n \"data\": {\n \"templateName\": \"utility\",\n \"action\": \"get\",\n \"fields\": [\n {\n \"name\": \"Course BatchEnd Config\",\n \"code\": \"batchEndTimerConfig\",\n \"config\": {\n \"batchEndDateTimer\": \"2\"\n }\n },\n {\n \"name\": \"Experience Switch Popup Config\",\n \"code\": \"experienceSwitchPopupConfig\",\n \"config\": {\n \"isEnabled\": true\n }\n },\n {\n \"name\": \"Player\",\n \"code\": \"config\",\n \"config\": {\n \"v1\": {\n \"whitelistUrl\": [\n \"https://obj.stage.sunbirded.org/**\"\n ]\n }\n }\n }\n ]\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{host}}/api/data/v1/form/create", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "data", + "v1", + "form", + "create" + ] + }, + "description": "\n\nThe above form configuration code provides information about two fields, namely \"Course BatchEnd Config\" and \"Experience Switch Popup Config\". The \"code\" field is used to identify each field uniquely. \nThe \"config\" field contains information about the configuration settings for each field. In the case of the \"Course BatchEnd Config\" field, the \"batchEndDateTimer\" parameter is set to \"2\". This parameter determines the time interval after which the batch should end. \nSimilarly, in the case of the \"Experience Switch Popup Config\" field, the \"isEnabled\" parameter is set to \"true\". This parameter enables the experience switch popup, which allows users to switch between different versions of the application. \nUsers can modify the values of these fields to suit their needs. For example, they can change the \"batchEndDateTimer\" parameter to a different value to set a different time interval for the batch end, or they can disable the \"Experience Switch Popup\" by setting the \"isEnabled\" parameter to \"false\". \nOverall, this form configuration provides users with the flexibility to customize the configuration settings for various use cases thereby providing a more personalized experience." + }, + "response": [] + }, + { + "name": "Form-22 - app | install | upgrade | * ", + "request": { + "method": "POST", + "header": [ + { + "key": "Authorization", + "value": "Bearer {{apikey}}" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"type\": \"app\",\n \"subType\": \"install\",\n \"action\": \"upgrade\",\n \"component\": \"*\",\n \"framework\": \"*\",\n \"rootOrgId\": \"*\",\n \"data\": {\n \"templateName\": \"defaultAppUpgradeTemplate\",\n \"action\": \"upgrade\",\n \"fields\": [\n {\n \"code\": \"upgrade\",\n \"name\": \"Upgrade of app\",\n \"language\": \"en\",\n \"range\": [\n {\n \"minVersionCode\": 60,\n \"maxVersionCode\": 80,\n \"versionName\": \"2.1To2.3\",\n \"type\": \"force\"\n }\n ],\n \"upgradeTypes\": [\n {\n \"type\": \"force\",\n \"title\": \"For faster loading of textbooks, more content, and a chance to participate in national level quizzes, update your DIKSHA app to the latest version. To get the latest version from Google Playstore, tap 'Update Now'.\",\n \"desc\": \"\",\n \"actionButtons\": [\n {\n \"action\": \"yes\",\n \"label\": \"Update Now\",\n \"link\": \"https://play.google.com/store/apps/details?id=in.gov.diksha.app&hl=en\"\n }\n ]\n }\n ]\n },\n {\n \"code\": \"upgrade\",\n \"name\": \"Upgrade of app\",\n \"language\": \"as\",\n \"range\": [\n {\n \"minVersionCode\": 60,\n \"maxVersionCode\": 80,\n \"versionName\": \"2.1To2.3\",\n \"type\": \"force\"\n }\n ],\n \"upgradeTypes\": [\n {\n \"type\": \"force\",\n \"title\": \"আমি এই কনটেন্টৰ অন্তৰ্গত হেৰোৱা ইমেজ আৰু অ’ডিঅ’ৰ ক্ষেত্ৰত হোৱা সমস্যা সংশোধন কৰিলোঁ। উৎকৃষ্ট অভিজ্ঞতাৰ বাবে, আমি আপোনাক DIKSHA ৰ শেহতীয়া সংস্কৰণটো উন্নীত কৰাৰ পৰামৰ্শ দিওঁ।\",\n \"desc\": \"\",\n \"actionButtons\": [\n {\n \"action\": \"yes\",\n \"label\": \"এতিয়া আপডেট কৰক\",\n \"link\": \"https://play.google.com/store/apps/details?id=in.gov.diksha.app&hl=en\"\n }\n ]\n }\n ]\n },\n {\n \"code\": \"upgrade\",\n \"name\": \"Upgrade of app\",\n \"language\": \"bn\",\n \"range\": [\n {\n \"minVersionCode\": 60,\n \"maxVersionCode\": 80,\n \"versionName\": \"2.1To2.3\",\n \"type\": \"force\"\n }\n ],\n \"upgradeTypes\": [\n {\n \"type\": \"force\",\n \"title\": \"আমরা তথ্যসূচীর মধ্যে না পাওয়া অডিও ও ভিডিওগুলির সমস্যা সমাধান করেছি। আরও ভাল অভিজ্ঞতার জন্য, আমরা আপনাকে সুপারিশ করছি দীক্ষা-র সর্বশেষ সংস্করণে আপগ্রেড করতে।\",\n \"desc\": \"\",\n \"actionButtons\": [\n {\n \"action\": \"yes\",\n \"label\": \"এখন আপডেট করুন\",\n \"link\": \"https://play.google.com/store/apps/details?id=in.gov.diksha.app&hl=en\"\n }\n ]\n }\n ]\n },\n {\n \"code\": \"upgrade\",\n \"name\": \"Upgrade of app\",\n \"language\": \"hi\",\n \"range\": [\n {\n \"minVersionCode\": 60,\n \"maxVersionCode\": 80,\n \"versionName\": \"2.1To2.3\",\n \"type\": \"force\"\n }\n ],\n \"upgradeTypes\": [\n {\n \"type\": \"force\",\n \"title\": \"आप के पास DIKSHA एप का पुराना वर्ज़न हैं| नवीनतम वर्ज़न पाने के लिए गूगल प्लेसटोर पर जाए और 'अपडेट करें' दबायें ।\",\n \"desc\": \"\",\n \"actionButtons\": [\n {\n \"action\": \"yes\",\n \"label\": \"अभी अपडेट करें\",\n \"link\": \"https://play.google.com/store/apps/details?id=in.gov.diksha.app&hl=en\"\n }\n ]\n }\n ]\n },\n {\n \"code\": \"upgrade\",\n \"name\": \"Upgrade of app\",\n \"language\": \"kn\",\n \"range\": [\n {\n \"minVersionCode\": 60,\n \"maxVersionCode\": 80,\n \"versionName\": \"2.1To2.3\",\n \"type\": \"force\"\n }\n ],\n \"upgradeTypes\": [\n {\n \"type\": \"force\",\n \"title\": \"ನೀವು DIKSHA ಆಪ್ ನ ಹಳೆಯ ಆವೃತ್ತಿಯನ್ನು ಬಳಸುತ್ತಿದ್ದೀರಿ. ಗೂಗಲ್ ಪ್ಲೇ ಸ್ಟೋರ್ ನಿಂದ ಇತ್ತೀಚಿನ ಆವೃತ್ತಿಯನ್ನು ಪಡೆಯಲು, 'ಈಗ ಅಪ್ ಡೇಟ್ ಮಾಡಿ' ಒತ್ತಿ. \",\n \"desc\": \"\",\n \"actionButtons\": [\n {\n \"action\": \"yes\",\n \"label\": \"ಈಗ ಅಪ್ ಡೇಟ್ ಮಾಡಿ\",\n \"link\": \"https://play.google.com/store/apps/details?id=in.gov.diksha.app&hl=en\"\n }\n ]\n }\n ]\n },\n {\n \"code\": \"upgrade\",\n \"name\": \"Upgrade of app\",\n \"language\": \"ml\",\n \"range\": [\n {\n \"minVersionCode\": 60,\n \"maxVersionCode\": 80,\n \"versionName\": \"2.1To2.3\",\n \"type\": \"force\"\n }\n ],\n \"upgradeTypes\": [\n {\n \"type\": \"force\",\n \"title\": \"ഉള്ളടക്കത്തിനുള്ളിലെ ചിത്രങ്ങളും ഓഡിയോയും നഷ്‌ടമായതിനാൽ നേരിട്ട പ്രശ്‌നങ്ങൾ പരിഹരിച്ചു.ഒരു മികച്ച അനുഭവത്തിനായി,DIKSHA യുടെ ഏറ്റവും പുതിയ പതിപ്പിലേക്ക് അപ്ഗ്രേഡ് ചെയ്യുക.\",\n \"desc\": \"\",\n \"actionButtons\": [\n {\n \"action\": \"yes\",\n \"label\": \"ഇപ്പോൾ അപ്‌ഡേറ്റുചെയ്യുക\",\n \"link\": \"https://play.google.com/store/apps/details?id=in.gov.diksha.app&hl=en\"\n }\n ]\n }\n ]\n },\n {\n \"code\": \"upgrade\",\n \"name\": \"Upgrade of app\",\n \"language\": \"mr\",\n \"range\": [\n {\n \"minVersionCode\": 60,\n \"maxVersionCode\": 80,\n \"versionName\": \"2.1To2.3\",\n \"type\": \"force\"\n }\n ],\n \"upgradeTypes\": [\n {\n \"type\": \"force\",\n \"title\": \"तुम्ही DIKSHA अॅपची जुनी आवृत्ती वापरत आहात. Google Playstore मधून नवीन आवृत्ती मिळविण्यासाठी, 'आता अपडेट करा' हे बटण टॅप करा.\",\n \"desc\": \"\",\n \"actionButtons\": [\n {\n \"action\": \"yes\",\n \"label\": \"आता अपडेट करा\",\n \"link\": \"https://play.google.com/store/apps/details?id=in.gov.diksha.app&hl=en\"\n }\n ]\n }\n ]\n },\n {\n \"code\": \"upgrade\",\n \"name\": \"Upgrade of app\",\n \"language\": \"pa\",\n \"range\": [\n {\n \"minVersionCode\": 60,\n \"maxVersionCode\": 80,\n \"versionName\": \"2.1To2.3\",\n \"type\": \"force\"\n }\n ],\n \"upgradeTypes\": [\n {\n \"type\": \"force\",\n \"title\": \"ਤੁਸੀਂ DIKSHA ਐਪ ਦਾ ਪੁਰਾਣਾ ਸੰਸਕਰਣ ਵਰਤ ਰਹੇ ਹੋ। ਗੂਗਲ ਪਲੇਸਟੋਰ ਤੋਂ ਨਵੀਨਤਮ ਸੰਸਕਰਣ ਪ੍ਰਾਪਤ ਕਰਨ ਲਈ, 'ਹੁਣੇ ਅਪਡੇਟ ਕਰੋ' ਨੂੰ ਟੈਪ ਕਰੋ।\",\n \"desc\": \"\",\n \"actionButtons\": [\n {\n \"action\": \"yes\",\n \"label\": \"ਹੁਣੇ ਅਪਡੇਟ ਕਰੋ\",\n \"link\": \"https://play.google.com/store/apps/details?id=in.gov.diksha.app&hl=en\"\n }\n ]\n }\n ]\n },\n {\n \"code\": \"upgrade\",\n \"name\": \"Upgrade of app\",\n \"language\": \"ta\",\n \"range\": [\n {\n \"minVersionCode\": 60,\n \"maxVersionCode\": 80,\n \"versionName\": \"2.1To2.3\",\n \"type\": \"force\"\n }\n ],\n \"upgradeTypes\": [\n {\n \"type\": \"force\",\n \"title\": \"நீங்கள் DIKSHA பயன்பாட்டின் பழைய செயலியைப் பயன்படுத்துகிறீர்கள். கூகுள் ப்ளேஸ்‌டோரிலிருந்து சமீபத்திய செயலியைப் பெற, புதுப்பிக்கவும் என்பதைத் தட்டவும். \",\n \"desc\": \"\",\n \"actionButtons\": [\n {\n \"action\": \"yes\",\n \"label\": \"இப்பொழுது மேம்படுத்து\",\n \"link\": \"https://play.google.com/store/apps/details?id=in.gov.diksha.app&hl=en\"\n }\n ]\n }\n ]\n },\n {\n \"code\": \"upgrade\",\n \"name\": \"Upgrade of app\",\n \"language\": \"te\",\n \"range\": [\n {\n \"minVersionCode\": 60,\n \"maxVersionCode\": 80,\n \"versionName\": \"2.1To2.3\",\n \"type\": \"force\"\n }\n ],\n \"upgradeTypes\": [\n {\n \"type\": \"force\",\n \"title\": \"మీరు DIKSHA ఆప్ యొక్క పాత వర్షన్ వాడుతున్నారు. దయచేసి గూగ్ల్ ప్లే స్టోర్ కి వెళ్ళి ఆప్ ని అప్‌డేట్ చెయ్యండి.\",\n \"desc\": \"\",\n \"actionButtons\": [\n {\n \"action\": \"yes\",\n \"label\": \"ఇప్పుడే అప్‌డేట్ చెయ్యి\",\n \"link\": \"https://play.google.com/store/apps/details?id=in.gov.diksha.app&hl=en\"\n }\n ]\n }\n ]\n },\n {\n \"code\": \"upgrade\",\n \"name\": \"Upgrade of app\",\n \"language\": \"ur\",\n \"range\": [\n {\n \"minVersionCode\": 60,\n \"maxVersionCode\": 80,\n \"versionName\": \"2.1To2.3\",\n \"type\": \"force\"\n }\n ],\n \"upgradeTypes\": [\n {\n \"type\": \"force\",\n \"title\": \"آپ DIKSHA ایپ کا پرانا ورژن استعمال کر رہے ہیں۔گوگل پلے اسٹور سے تازہ ترین ورژن حاصل کرنے کے لئے ، ابھی اپ ڈیٹ پر ٹیپ کریں\",\n \"desc\": \"\",\n \"actionButtons\": [\n {\n \"action\": \"yes\",\n \"label\": \"ابھی اپ ڈیٹ کریں\",\n \"link\": \"https://play.google.com/store/apps/details?id=in.gov.diksha.app&hl=en\"\n }\n ]\n }\n ]\n }\n ]\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{host}}/api/data/v1/form/create", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "data", + "v1", + "form", + "create" + ] + }, + "description": "When application needs updation, this form provides the link to update to its latest version.\n\n\"\"\n\nThis link can be replaced as per user’s convenience." + }, + "response": [] + }, + { + "name": "Form-23 - config | vendorapps | get | app ", + "request": { + "method": "POST", + "header": [ + { + "key": "Authorization", + "value": "Bearer {{apikey}}" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"type\": \"config\",\n \"subType\": \"vendorapps\",\n \"action\": \"get\",\n \"component\": \"app\",\n \"framework\": \"*\",\n \"rootOrgId\": \"*\",\n \"data\": {\n \"templateName\": \"vendorapps\",\n \"action\": \"get\",\n \"fields\": [\n {\n \"name\": \"Google Bolo\",\n \"logo\": \"https://img.icons8.com/doodle/48/000000/league-of-legends.png\",\n \"provider\": {\n \"name\": \"Google\",\n \"copyright\": \"\",\n \"license\": \"\"\n },\n \"android\": {\n \"packageId\": \"io.ionic.sender\",\n \"appVersion\": \"54\",\n \"compatibilityVer\": \"\"\n },\n \"ios\": {\n \"packageId\": \"\",\n \"appVersion\": \"\",\n \"urlScheme\": \"\",\n \"compatibilityVer\": \"\"\n },\n \"target\": {\n \"mimeType\": [\n \"application/pdf\"\n ],\n \"primaryCategory\": [\n \"LearningResource\"\n ]\n }\n }\n ]\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{host}}/api/data/v1/form/create", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "data", + "v1", + "form", + "create" + ] + }, + "description": "\"\"\n\nThis form configuration is used to display a list of vendor apps and their associated details. In this specific case, the form displays information about the Google Bolo app, such as its logo, provider, and app version for both Android and iOS. It also specifies the file type and primary category that this app is able to handle. Users can use this information to open specific content using the Google Bolo app and can customize the configuration to suit their needs by updating the packageId, appVersion, and other details as necessary." + }, + "response": [] + }, + { + "name": "Form-24 - config | content_v2 | filter | * ", + "request": { + "method": "POST", + "header": [ + { + "key": "Authorization", + "value": "Bearer {{apikey}}" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"type\": \"config\",\n \"subType\": \"content_v2\",\n \"action\": \"filter\",\n \"component\": \"*\",\n \"framework\": \"*\",\n \"rootOrgId\": \"*\",\n \"data\": {\n \"templateName\": \"content_v2\",\n \"action\": \"filter\",\n \"fields\": [\n {\n \"code\": \"primaryCategory\",\n \"values\": [\n \"Course\",\n \"Learning Resource\",\n \"Explanation Content\",\n \"Teacher Resource\",\n \"Content Playlist\",\n \"Digital Textbook\",\n \"Practice Question Set\",\n \"eTextBook\",\n \"Course Assessment\"\n ],\n \"name\": \"library\"\n },\n {\n \"code\": \"primaryCategory\",\n \"values\": [\n \"Course\",\n \"Learning Resource\",\n \"Explanation Content\",\n \"Teacher Resource\",\n \"Content Playlist\",\n \"Digital Textbook\",\n \"Practice Question Set\",\n \"eTextBook\",\n \"Course Assessment\"\n ],\n \"name\": \"course\"\n },\n {\n \"code\": \"primaryCategory\",\n \"values\": [\n \"Course\",\n \"Learning Resource\",\n \"Explanation Content\",\n \"Teacher Resource\",\n \"Content Playlist\",\n \"Digital Textbook\",\n \"Practice Question Set\",\n \"eTextBook\",\n \"Course Assessment\"\n ],\n \"name\": \"downloads\"\n },\n {\n \"code\": \"contentType\",\n \"values\": [\n \"Digital Textbook\",\n \"Textbook Unit\",\n \"Course\"\n ],\n \"name\": \"dialcode\"\n }\n ]\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{host}}/api/data/v1/form/create", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "data", + "v1", + "form", + "create" + ] + }, + "description": "\"\"\n\nThe 'values' in the response represent the different types of content that can be filtered in the library section. Users can select the filters they need from the available options and use them to refine their search. The 'name' field specifies the category of the filter, in this case, it is the library." + }, + "response": [] + }, + { + "name": "Form-25 - contentfeedback | en | get | * ", + "request": { + "method": "POST", + "header": [ + { + "key": "Authorization", + "value": "Bearer {{apikey}}" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"type\": \"contentfeedback\",\n \"subType\": \"en\",\n \"action\": \"get\",\n \"component\": \"*\",\n \"framework\": \"*\",\n \"rootOrgId\": \"*\",\n \"data\": {\n \"templateName\": \"contentfeedback\",\n \"action\": \"get\",\n \"fields\": [\n {\n \"1\": {\n \"question\": \"Would you like to tell us more?\",\n \"options\": [\n {\n \"idx\": 1,\n \"value\": \"Content is inaccurate\",\n \"key\": \"CONTENT_INACCURATE\"\n },\n {\n \"idx\": 2,\n \"value\": \"Content is not displayed properly\",\n \"key\": \"CONTENT_NOT_DISPLAYED\"\n },\n {\n \"idx\": 3,\n \"value\": \"Content is not relevant\",\n \"key\": \"CONTENT_NOT_RELEVANT\"\n },\n {\n \"idx\": 4,\n \"value\": \"Did not help me understand the concept\",\n \"key\": \"DIDNT_UNDERSTAND_CONCEPT\"\n },\n {\n \"idx\": 6,\n \"value\": \"There is a technical problem\",\n \"key\": \"TECHNICAL_PROBLEM\"\n },\n {\n \"idx\": 6,\n \"value\": \"Content is insufficient or not there\",\n \"key\": \"INSUFFICIENT_CONTENT\"\n },\n {\n \"idx\": 8,\n \"value\": \"Other\",\n \"key\": \"OTHER\"\n }\n ],\n \"ratingText\": \"Very Bad\"\n },\n \"2\": {\n \"question\": \"Would you like to tell us more?\",\n \"options\": [\n {\n \"idx\": 1,\n \"value\": \"Content is inaccurate\",\n \"key\": \"CONTENT_INACCURATE\"\n },\n {\n \"idx\": 2,\n \"value\": \"Content is not displayed properly\",\n \"key\": \"CONTENT_NOT_DISPLAYED\"\n },\n {\n \"idx\": 3,\n \"value\": \"Content is not relevant\",\n \"key\": \"CONTENT_NOT_RELEVANT\"\n },\n {\n \"idx\": 4,\n \"value\": \"Did not help me understand the concept\",\n \"key\": \"DIDNT_UNDERSTAND_CONCEPT\"\n },\n {\n \"idx\": 6,\n \"value\": \"There is a technical problem\",\n \"key\": \"TECHNICAL_PROBLEM\"\n },\n {\n \"idx\": 6,\n \"value\": \"Content is insufficient or not there\",\n \"key\": \"INSUFFICIENT_CONTENT\"\n },\n {\n \"idx\": 8,\n \"value\": \"Other\",\n \"key\": \"OTHER\"\n }\n ],\n \"ratingText\": \"Bad\"\n },\n \"3\": {\n \"question\": \"Would you like to tell us more?\",\n \"options\": [\n {\n \"idx\": 1,\n \"value\": \"Content is inaccurate\",\n \"key\": \"CONTENT_INACCURATE\"\n },\n {\n \"idx\": 2,\n \"value\": \"Content is not displayed properly\",\n \"key\": \"CONTENT_NOT_DISPLAYED\"\n },\n {\n \"idx\": 3,\n \"value\": \"Content is not relevant\",\n \"key\": \"CONTENT_NOT_RELEVANT\"\n },\n {\n \"idx\": 4,\n \"value\": \"Did not help me understand the concept\",\n \"key\": \"DIDNT_UNDERSTAND_CONCEPT\"\n },\n {\n \"idx\": 6,\n \"value\": \"There is a technical problem\",\n \"key\": \"TECHNICAL_PROBLEM\"\n },\n {\n \"idx\": 6,\n \"value\": \"Content is insufficient or not there\",\n \"key\": \"INSUFFICIENT_CONTENT\"\n },\n {\n \"idx\": 8,\n \"value\": \"Other\",\n \"key\": \"OTHER\"\n }\n ],\n \"ratingText\": \"Average\"\n },\n \"4\": {\n \"question\": \"Would you like to tell us more?\",\n \"options\": [\n {\n \"idx\": 1,\n \"value\": \"Content is inaccurate\",\n \"key\": \"CONTENT_INACCURATE\"\n },\n {\n \"idx\": 2,\n \"value\": \"Content is not displayed properly\",\n \"key\": \"CONTENT_NOT_DISPLAYED\"\n },\n {\n \"idx\": 3,\n \"value\": \"Content is not relevant\",\n \"key\": \"CONTENT_NOT_RELEVANT\"\n },\n {\n \"idx\": 4,\n \"value\": \"Did not help me understand the concept\",\n \"key\": \"DIDNT_UNDERSTAND_CONCEPT\"\n },\n {\n \"idx\": 6,\n \"value\": \"There is a technical problem\",\n \"key\": \"TECHNICAL_PROBLEM\"\n },\n {\n \"idx\": 6,\n \"value\": \"Content is insufficient or not there\",\n \"key\": \"INSUFFICIENT_CONTENT\"\n },\n {\n \"idx\": 8,\n \"value\": \"Other\",\n \"key\": \"OTHER\"\n }\n ],\n \"ratingText\": \"Good\"\n },\n \"5\": {\n \"question\": \"Would you like to tell us more?\",\n \"options\": [\n {\n \"idx\": 1,\n \"value\": \"Understood the concept well\",\n \"key\": \"UNDERSTOOD_CONCEPT\"\n },\n {\n \"idx\": 2,\n \"value\": \"Helped me prepare for my exam\",\n \"key\": \"HELPED_IN_EXAM\"\n },\n {\n \"idx\": 3,\n \"value\": \"Learnt something new\",\n \"key\": \"LEARNT_SOMETHING\"\n },\n {\n \"idx\": 4,\n \"value\": \"Helped me teach my class\",\n \"key\": \"HELPED_IN_CLASS\"\n },\n {\n \"idx\": 6,\n \"value\": \"Content is interesting and fun\",\n \"key\": \"CONTENT_INTERESTING\"\n },\n {\n \"idx\": 7,\n \"value\": \"Other\",\n \"key\": \"OTHER\"\n }\n ],\n \"ratingText\": \"Excellent\"\n }\n }\n ]\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{host}}/api/data/v1/form/create", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "data", + "v1", + "form", + "create" + ] + }, + "description": "\n\nThis form configuration consists of two options that users can select to provide feedback on the content of a page or application. The \"key\" field corresponds to the feedback option, the \"idx\" field represents the order of the option in the list, and the \"value\" field contains the text that will be displayed to the user. \nHere are some ways in which a user can improvise this form configuration and use it according to their convenience:\n\n1. Add or remove feedback options: The user can add or remove feedback options by modifying the \"key\" and \"value\" fields. In this example, there are two options - \"CONTENT_INACCURATE\" and \"CONTENT_NOT_DISPLAYED\". The user can add new options such as \"LOADING_ISSUES\" or \"POOR_NAVIGATION\" or remove the existing options.\n2. Rearrange the order of options: The user can rearrange the order of feedback options by modifying the \"idx\" field. In this example, \"CONTENT_INACCURATE\" is assigned an index of 1, and \"CONTENT_NOT_DISPLAYED\" is assigned an index of 2. The user can change the index values to change the order of options.\n3. Modify the display text: The user can modify the \"value\" field to change the text that will be displayed to the user. In this example, the display text for \"CONTENT_INACCURATE\" is \"Content is inaccurate\", and the display text for \"CONTENT_NOT_DISPLAYED\" is \"Content is not displayed properly\". The user can customize these values to use different display text for each feedback option. \n Overall, this form configuration allows for easy customization of feedback options for users. The \"key\" field corresponds to the feedback option and can be modified to add new options or remove existing ones. The \"value\" field contains the text that will be displayed to the user and can be customized. The \"idx\" field represents the order of the feedback option and can be used to rearrange the order of options." + }, + "response": [] + }, + { + "name": "Form-26 - dynamicform | contentrequest | submit | app ", + "request": { + "method": "POST", + "header": [ + { + "key": "Authorization", + "value": "Bearer {{apikey}}" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"type\": \"dynamicform\",\n \"subType\": \"contentrequest\",\n \"action\": \"submit\",\n \"component\": \"app\",\n \"framework\": \"*\",\n \"rootOrgId\": \"*\",\n \"data\": {\n \"templateName\": \"contentrequest\",\n \"action\": \"get\",\n \"fields\": [\n {\n \"code\": \"board\",\n \"type\": \"select\",\n \"templateOptions\": {\n \"placeHolder\": \"Select Board\",\n \"multiple\": false,\n \"dataSrc\": {\n \"marker\": \"ACTIVE_CHANNEL.SUGGESTED_FRAMEWORK_LIST.MAPPED_TO_FRAMEWORKCATEGORIES\",\n \"params\": {\n \"relevantTerms\": [\n \"CBSE\"\n ]\n }\n }\n },\n \"validations\": [\n {\n \"type\": \"required\"\n }\n ]\n },\n {\n \"code\": \"medium\",\n \"type\": \"nested_select\",\n \"context\": \"board\",\n \"default\": null,\n \"templateOptions\": {\n \"placeHolder\": \"Select Medium\",\n \"multiple\": false,\n \"dataSrc\": {\n \"marker\": \"FRAMEWORK_CATEGORY_TERMS\",\n \"params\": {\n \"categoryCode\": \"medium\"\n }\n }\n },\n \"validations\": [\n {\n \"type\": \"required\"\n }\n ]\n },\n {\n \"code\": \"grade\",\n \"type\": \"nested_select\",\n \"context\": \"medium\",\n \"templateOptions\": {\n \"placeHolder\": \"Select Grade\",\n \"multiple\": false,\n \"dataSrc\": {\n \"marker\": \"FRAMEWORK_CATEGORY_TERMS\",\n \"params\": {\n \"categoryCode\": \"gradeLevel\"\n }\n }\n },\n \"validations\": [\n {\n \"type\": \"required\"\n }\n ]\n },\n {\n \"code\": \"subject\",\n \"type\": \"nested_select\",\n \"context\": \"grade\",\n \"templateOptions\": {\n \"placeHolder\": \"Select Subject\",\n \"multiple\": false,\n \"dataSrc\": {\n \"marker\": \"FRAMEWORK_CATEGORY_TERMS\",\n \"params\": {\n \"categoryCode\": \"subject\"\n }\n }\n },\n \"children\": {\n \"other\": [\n {\n \"code\": \"other\",\n \"type\": \"input\",\n \"templateOptions\": {\n \"placeHolder\": \"Specify Subject\"\n },\n \"validations\": [\n {\n \"type\": \"required\"\n }\n ]\n }\n ]\n },\n \"validations\": [\n {\n \"type\": \"required\"\n }\n ]\n },\n {\n \"code\": \"primaryCategory\",\n \"type\": \"select\",\n \"templateOptions\": {\n \"placeHolder\": \"Select Content Type\",\n \"multiple\": false,\n \"options\": [\n {\n \"value\": \"Digital Textbook\",\n \"label\": \"Digital Textbook\"\n },\n {\n \"value\": \"Course\",\n \"label\": \"Course\"\n },\n {\n \"value\": \"TV Lesson\",\n \"label\": \"TV Lesson\"\n },\n {\n \"value\": \"Explanation Content\",\n \"label\": \"Explanation content\"\n },\n {\n \"value\": \"Practice Question Set\",\n \"label\": \"Practice Questions\"\n }\n ]\n },\n \"validations\": [\n {\n \"type\": \"required\"\n }\n ]\n }\n ]\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{host}}/api/data/v1/form/create", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "data", + "v1", + "form", + "create" + ] + }, + "description": "The form allows the user to select the educational board for which they want to request content. The options for the board field are dynamically populated using the data source specified in the form configuration. In this case, the options are fetched from a system that maps the suggested frameworks to framework categories and filters for the relevant term \"CBSE\". The user can only select one option as the field does not allow multiple selections. The form also includes a required validation to ensure the user selects an option before submitting the form. The form is a part of the \"contentrequest\" subtype and can be used to request specific educational content based on the selected board." + }, + "response": [] + }, + { + "name": "Form-27 - form | boardcontactinfo | get | app ", + "request": { + "method": "POST", + "header": [ + { + "key": "Authorization", + "value": "Bearer {{apikey}}" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"type\": \"form\",\n \"subType\": \"boardcontactinfo\",\n \"action\": \"get\",\n \"component\": \"app\",\n \"framework\": \"*\",\n \"rootOrgId\": \"*\",\n \"data\": {\n \"templateName\": \"boardContactInfo\",\n \"action\": \"get\",\n \"fields\": [\n {\n \"code\": \"board\",\n \"contactinfo\": {\n \"number\": \"18001800666\",\n \"email\": null\n },\n \"name\": \"Uttar Pradesh\",\n \"id\": \"up_k-12\",\n \"message\": \"(between 9 AM to 6 PM from Monday to Friday)\"\n },\n {\n \"code\": \"board\",\n \"contactinfo\": {\n \"number\": \"18005728585\",\n \"email\": null\n },\n \"name\": \"Madhya Pradesh\",\n \"id\": \"mp_k-12\",\n \"message\": \"(between 11 AM to 5 PM from Monday to Friday)\"\n },\n {\n \"code\": \"board\",\n \"contactinfo\": {\n \"email\": \"support@i-got.freshdesk.com\"\n },\n \"name\": \"IGOT-Health\",\n \"id\": \"igot_health\"\n }\n ]\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{host}}/api/data/v1/form/create", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "data", + "v1", + "form", + "create" + ] + }, + "description": "\"\"\n\nThe \"name\" field specifies the name of the board, and the \"message\" field indicates the hours during which the board can be contacted. The \"contactinfo\" object includes a phone number and email address for users to reach out for any queries." + }, + "response": [] + }, + { + "name": "Form-28 - dynamicform | support_v2 | get | app ", + "request": { + "method": "POST", + "header": [ + { + "key": "Authorization", + "value": "Bearer {{apikey}}" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"type\": \"dynamicform\",\n \"subType\": \"support_v2\",\n \"action\": \"get\",\n \"component\": \"app\",\n \"framework\": \"*\",\n \"rootOrgId\": \"*\",\n \"data\": {\n \"templateName\": \"support_v2\",\n \"action\": \"get\",\n \"fields\": [\n {\n \"code\": \"category\",\n \"type\": \"nested_select\",\n \"templateOptions\": {\n \"placeHolder\": \"Select Category\",\n \"multiple\": false,\n \"hidden\": false,\n \"options\": [\n {\n \"value\": \"content\",\n \"label\": \"Content\"\n },\n {\n \"value\": \"loginRegistration\",\n \"label\": \"Login/Registration\"\n },\n {\n \"value\": \"teacherTraining\",\n \"label\": \"Teacher Training\"\n },\n {\n \"value\": \"otherissues\",\n \"label\": \"Other Issues\",\n \"dataSrc\": {\n \"action\": \"telemetry\"\n }\n }\n ]\n },\n \"validations\": [\n {\n \"type\": \"required\"\n }\n ],\n \"children\": {\n \"otherissues\": [\n {\n \"code\": \"details\",\n \"type\": \"textarea\",\n \"context\": null,\n \"templateOptions\": {\n \"label\": \"Tell us more\",\n \"placeHolder\": \"Enter Details\"\n },\n \"validations\": [\n {\n \"type\": \"maxLength\",\n \"value\": 1000\n }\n ]\n }\n ]\n }\n },\n {\n \"code\": \"subcategory\",\n \"context\": \"category\",\n \"type\": \"nested_select\",\n \"children\": {\n \"contentquality\": [\n {\n \"code\": \"board\",\n \"type\": \"select\",\n \"templateOptions\": {\n \"placeHolder\": \"Select Board\",\n \"multiple\": false,\n \"dataSrc\": {\n \"marker\": \"ACTIVE_CHANNEL.SUGGESTED_FRAMEWORK_LIST.MAPPED_TO_FRAMEWORKCATEGORIES\"\n }\n },\n \"validations\": [\n {\n \"type\": \"required\"\n }\n ]\n },\n {\n \"code\": \"medium\",\n \"type\": \"nested_select\",\n \"context\": \"board\",\n \"default\": null,\n \"templateOptions\": {\n \"placeHolder\": \"Select Medium\",\n \"multiple\": false,\n \"dataSrc\": {\n \"marker\": \"FRAMEWORK_CATEGORY_TERMS\",\n \"params\": {\n \"categoryCode\": \"medium\"\n }\n }\n },\n \"validations\": [\n {\n \"type\": \"required\"\n }\n ]\n },\n {\n \"code\": \"grade\",\n \"type\": \"nested_select\",\n \"context\": \"medium\",\n \"templateOptions\": {\n \"placeHolder\": \"Select Grade\",\n \"multiple\": false,\n \"dataSrc\": {\n \"marker\": \"FRAMEWORK_CATEGORY_TERMS\",\n \"params\": {\n \"categoryCode\": \"grade\"\n }\n }\n },\n \"validations\": [\n {\n \"type\": \"required\"\n }\n ]\n },\n {\n \"code\": \"subject\",\n \"type\": \"nested_select\",\n \"context\": \"grade\",\n \"templateOptions\": {\n \"placeHolder\": \"Select Subject\",\n \"multiple\": false,\n \"dataSrc\": {\n \"marker\": \"FRAMEWORK_CATEGORY_TERMS\",\n \"params\": {\n \"categoryCode\": \"subject\"\n }\n }\n },\n \"validations\": [\n {\n \"type\": \"required\"\n }\n ]\n },\n {\n \"code\": \"contentname\",\n \"type\": \"input\",\n \"context\": null,\n \"templateOptions\": {\n \"placeHolder\": \"Enter Content Name\"\n },\n \"validations\": [\n {\n \"type\": \"required\"\n }\n ]\n },\n {\n \"code\": \"details\",\n \"type\": \"textarea\",\n \"context\": null,\n \"templateOptions\": {\n \"label\": \"Tell us more\",\n \"placeHolder\": \"Enter Details\"\n },\n \"validations\": [\n {\n \"type\": \"maxLength\",\n \"value\": 1000\n }\n ]\n }\n ],\n \"contentnotplaying\": [\n {\n \"code\": \"board\",\n \"type\": \"select\",\n \"templateOptions\": {\n \"placeHolder\": \"Select Board\",\n \"multiple\": false,\n \"dataSrc\": {\n \"marker\": \"ACTIVE_CHANNEL.SUGGESTED_FRAMEWORK_LIST.MAPPED_TO_FRAMEWORKCATEGORIES\"\n }\n },\n \"validations\": [\n {\n \"type\": \"required\"\n }\n ]\n },\n {\n \"code\": \"medium\",\n \"type\": \"nested_select\",\n \"context\": \"board\",\n \"default\": null,\n \"templateOptions\": {\n \"placeHolder\": \"Select Medium\",\n \"multiple\": false,\n \"dataSrc\": {\n \"marker\": \"FRAMEWORK_CATEGORY_TERMS\",\n \"params\": {\n \"categoryCode\": \"medium\"\n }\n }\n },\n \"validations\": [\n {\n \"type\": \"required\"\n }\n ]\n },\n {\n \"code\": \"grade\",\n \"type\": \"nested_select\",\n \"context\": \"medium\",\n \"templateOptions\": {\n \"placeHolder\": \"Select Grade\",\n \"multiple\": false,\n \"dataSrc\": {\n \"marker\": \"FRAMEWORK_CATEGORY_TERMS\",\n \"params\": {\n \"categoryCode\": \"grade\"\n }\n }\n },\n \"validations\": [\n {\n \"type\": \"required\"\n }\n ]\n },\n {\n \"code\": \"subject\",\n \"type\": \"nested_select\",\n \"context\": \"grade\",\n \"templateOptions\": {\n \"placeHolder\": \"Select Subject\",\n \"multiple\": false,\n \"dataSrc\": {\n \"marker\": \"FRAMEWORK_CATEGORY_TERMS\",\n \"params\": {\n \"categoryCode\": \"subject\"\n }\n }\n },\n \"validations\": [\n {\n \"type\": \"required\"\n }\n ]\n },\n {\n \"code\": \"contentname\",\n \"type\": \"input\",\n \"context\": null,\n \"templateOptions\": {\n \"placeHolder\": \"Enter Content Name\"\n },\n \"validations\": [\n {\n \"type\": \"required\"\n }\n ]\n },\n {\n \"code\": \"details\",\n \"type\": \"textarea\",\n \"context\": null,\n \"templateOptions\": {\n \"label\": \"Tell us more\",\n \"placeHolder\": \"Enter Details\"\n },\n \"validations\": [\n {\n \"type\": \"maxLength\",\n \"value\": 1000\n }\n ]\n }\n ],\n \"contentavailability\": [\n {\n \"code\": \"board\",\n \"type\": \"select\",\n \"templateOptions\": {\n \"placeHolder\": \"Select Board\",\n \"multiple\": false,\n \"dataSrc\": {\n \"marker\": \"ACTIVE_CHANNEL.SUGGESTED_FRAMEWORK_LIST.MAPPED_TO_FRAMEWORKCATEGORIES\",\n \"params\": {\n \"relevantTerms\": [\n \"CBSE\"\n ]\n }\n }\n },\n \"validations\": [\n {\n \"type\": \"required\"\n }\n ]\n },\n {\n \"code\": \"medium\",\n \"type\": \"nested_select\",\n \"context\": \"board\",\n \"default\": null,\n \"templateOptions\": {\n \"placeHolder\": \"Select Medium\",\n \"multiple\": false,\n \"dataSrc\": {\n \"marker\": \"FRAMEWORK_CATEGORY_TERMS\",\n \"params\": {\n \"categoryCode\": \"medium\"\n }\n }\n },\n \"validations\": [\n {\n \"type\": \"required\"\n }\n ]\n },\n {\n \"code\": \"grade\",\n \"type\": \"nested_select\",\n \"context\": \"medium\",\n \"templateOptions\": {\n \"placeHolder\": \"Select Grade\",\n \"multiple\": false,\n \"dataSrc\": {\n \"marker\": \"FRAMEWORK_CATEGORY_TERMS\",\n \"params\": {\n \"categoryCode\": \"grade\"\n }\n }\n },\n \"validations\": [\n {\n \"type\": \"required\"\n }\n ]\n },\n {\n \"code\": \"subject\",\n \"type\": \"nested_select\",\n \"context\": \"grade\",\n \"templateOptions\": {\n \"placeHolder\": \"Select Subject\",\n \"multiple\": true,\n \"dataSrc\": {\n \"marker\": \"FRAMEWORK_CATEGORY_TERMS\",\n \"params\": {\n \"categoryCode\": \"subject\"\n }\n }\n },\n \"validations\": [\n {\n \"type\": \"required\"\n }\n ]\n },\n {\n \"code\": \"contenttype\",\n \"type\": \"select\",\n \"templateOptions\": {\n \"placeHolder\": \"Select Content Type\",\n \"multiple\": false,\n \"options\": [\n {\n \"value\": \"digitextbbok\",\n \"label\": \"Digital Textbook\"\n },\n {\n \"value\": \"course\",\n \"label\": \"Course\"\n },\n {\n \"value\": \"tvlesson\",\n \"label\": \"TV Lesson\"\n },\n {\n \"value\": \"explaincontent\",\n \"label\": \"Explanation content\"\n },\n {\n \"value\": \"practiceques\",\n \"label\": \"Practice Questions\"\n },\n {\n \"value\": \"quiz\",\n \"label\": \"Quiz\"\n }\n ]\n },\n \"validations\": [\n {\n \"type\": \"required\"\n }\n ]\n },\n {\n \"code\": \"details\",\n \"type\": \"textarea\",\n \"context\": null,\n \"templateOptions\": {\n \"label\": \"Tell us more\",\n \"placeHolder\": \"Enter Details\"\n },\n \"validations\": [\n {\n \"type\": \"maxLength\",\n \"value\": 1000\n }\n ]\n },\n {\n \"code\": \"notify\",\n \"type\": \"checkbox\",\n \"templateOptions\": {\n \"label\": \"Notify me on availability\"\n }\n }\n ],\n \"contentotherissues\": [\n {\n \"code\": \"board\",\n \"type\": \"select\",\n \"templateOptions\": {\n \"placeHolder\": \"Select Board\",\n \"multiple\": false,\n \"dataSrc\": {\n \"marker\": \"ACTIVE_CHANNEL.SUGGESTED_FRAMEWORK_LIST.MAPPED_TO_FRAMEWORKCATEGORIES\"\n }\n },\n \"validations\": [\n {\n \"type\": \"required\"\n }\n ]\n },\n {\n \"code\": \"medium\",\n \"type\": \"nested_select\",\n \"context\": \"board\",\n \"default\": null,\n \"templateOptions\": {\n \"placeHolder\": \"Select Medium\",\n \"multiple\": false,\n \"dataSrc\": {\n \"marker\": \"FRAMEWORK_CATEGORY_TERMS\",\n \"params\": {\n \"categoryCode\": \"medium\"\n }\n }\n },\n \"validations\": [\n {\n \"type\": \"required\"\n }\n ]\n },\n {\n \"code\": \"grade\",\n \"type\": \"nested_select\",\n \"context\": \"medium\",\n \"templateOptions\": {\n \"placeHolder\": \"Select Grade\",\n \"multiple\": false,\n \"dataSrc\": {\n \"marker\": \"FRAMEWORK_CATEGORY_TERMS\",\n \"params\": {\n \"categoryCode\": \"grade\"\n }\n }\n },\n \"validations\": [\n {\n \"type\": \"required\"\n }\n ]\n },\n {\n \"code\": \"subject\",\n \"type\": \"nested_select\",\n \"context\": \"grade\",\n \"templateOptions\": {\n \"placeHolder\": \"Select Subject\",\n \"multiple\": true,\n \"dataSrc\": {\n \"marker\": \"FRAMEWORK_CATEGORY_TERMS\",\n \"params\": {\n \"categoryCode\": \"subject\"\n }\n }\n },\n \"validations\": [\n {\n \"type\": \"required\"\n }\n ]\n },\n {\n \"code\": \"contentname\",\n \"type\": \"input\",\n \"context\": null,\n \"templateOptions\": {\n \"placeHolder\": \"Enter Content Name\"\n },\n \"validations\": [\n {\n \"type\": \"required\"\n }\n ]\n },\n {\n \"code\": \"details\",\n \"type\": \"textarea\",\n \"context\": null,\n \"templateOptions\": {\n \"label\": \"Tell us more\",\n \"placeHolder\": \"Enter Details\"\n },\n \"validations\": [\n {\n \"type\": \"maxLength\",\n \"value\": 1000\n }\n ]\n }\n ],\n \"otpissue\": [\n {\n \"code\": \"details\",\n \"type\": \"textarea\",\n \"context\": null,\n \"templateOptions\": {\n \"label\": \"Tell us more\",\n \"placeHolder\": \"Enter Details\"\n },\n \"validations\": [\n {\n \"type\": \"maxLength\",\n \"value\": 1000\n }\n ]\n }\n ],\n \"profilevalidation\": [\n {\n \"code\": \"details\",\n \"type\": \"textarea\",\n \"context\": null,\n \"templateOptions\": {\n \"label\": \"Tell us more\",\n \"placeHolder\": \"Enter Details\"\n },\n \"validations\": [\n {\n \"type\": \"maxLength\",\n \"value\": 1000\n }\n ]\n }\n ],\n \"profiledetails\": [\n {\n \"code\": \"details\",\n \"type\": \"textarea\",\n \"context\": null,\n \"templateOptions\": {\n \"label\": \"Tell us more\",\n \"placeHolder\": \"Enter Details\"\n },\n \"validations\": [\n {\n \"type\": \"maxLength\",\n \"value\": 1000\n }\n ]\n }\n ],\n \"certificate\": [\n {\n \"code\": \"details\",\n \"type\": \"textarea\",\n \"context\": null,\n \"templateOptions\": {\n \"label\": \"Tell us more\",\n \"placeHolder\": \"Enter Details\"\n },\n \"validations\": [\n {\n \"type\": \"maxLength\",\n \"value\": 1000\n }\n ]\n }\n ],\n \"teacherid\": [\n {\n \"code\": \"details\",\n \"type\": \"textarea\",\n \"context\": null,\n \"templateOptions\": {\n \"label\": \"Tell us more\",\n \"placeHolder\": \"Enter Details\"\n },\n \"validations\": [\n {\n \"type\": \"maxLength\",\n \"value\": 1000\n }\n ]\n }\n ],\n \"profileotherissues\": [\n {\n \"code\": \"details\",\n \"type\": \"textarea\",\n \"context\": null,\n \"templateOptions\": {\n \"label\": \"Tell us more\",\n \"placeHolder\": \"Enter Details\"\n },\n \"validations\": [\n {\n \"type\": \"maxLength\",\n \"value\": 1000\n }\n ]\n }\n ],\n \"teacherotherissues\": [\n {\n \"code\": \"details\",\n \"type\": \"textarea\",\n \"context\": null,\n \"templateOptions\": {\n \"label\": \"Tell us more\",\n \"placeHolder\": \"Enter Details\"\n },\n \"validations\": [\n {\n \"type\": \"maxLength\",\n \"value\": 1000\n }\n ]\n }\n ]\n },\n \"templateOptions\": {\n \"placeHolder\": \"Select Subcategory\",\n \"multiple\": false,\n \"hidden\": false,\n \"options\": {\n \"loginRegistration\": [\n {\n \"value\": \"otpissue\",\n \"label\": \"OTP Issue\",\n \"dataSrc\": {\n \"action\": \"telemetry\"\n }\n },\n {\n \"value\": \"profilevalidation\",\n \"label\": \"Profile validation/No green tick on my profile\",\n \"dataSrc\": {\n \"action\": \"contactBoard\"\n }\n },\n {\n \"value\": \"profiledetails\",\n \"label\": \"Profile details incorrect\",\n \"dataSrc\": {\n \"action\": \"contactBoard\"\n }\n },\n {\n \"value\": \"certificate\",\n \"label\": \"Certificate related\",\n \"dataSrc\": {\n \"action\": \"contactBoard\"\n }\n },\n {\n \"value\": \"teacherid\",\n \"label\": \"Teacher id\",\n \"dataSrc\": {\n \"action\": \"contactBoard\"\n }\n },\n {\n \"value\": \"profileotherissues\",\n \"label\": \"Other issues\",\n \"dataSrc\": {\n \"action\": \"contactBoard\"\n }\n }\n ],\n \"content\": [\n {\n \"value\": \"contentquality\",\n \"label\": \"Content Quality\",\n \"dataSrc\": {\n \"action\": \"telemetry\"\n }\n },\n {\n \"value\": \"contentnotplaying\",\n \"label\": \"Content not playing/downloading\",\n \"dataSrc\": {\n \"action\": \"telemetry\"\n }\n },\n {\n \"value\": \"contentavailability\",\n \"label\": \"Content availability\",\n \"dataSrc\": {\n \"action\": \"telemetry\"\n }\n },\n {\n \"value\": \"contentotherissues\",\n \"label\": \"Other Issues\",\n \"dataSrc\": {\n \"action\": \"telemetry\"\n }\n }\n ],\n \"teacherTraining\": [\n {\n \"value\": \"profilevalidation\",\n \"label\": \"Profile validation/No green tick on my profile\",\n \"dataSrc\": {\n \"action\": \"contactBoard\"\n }\n },\n {\n \"value\": \"profiledetails\",\n \"label\": \"Profile details incorrect\",\n \"dataSrc\": {\n \"action\": \"contactBoard\"\n }\n },\n {\n \"value\": \"certificate\",\n \"label\": \"Certificate related\",\n \"dataSrc\": {\n \"action\": \"contactBoard\"\n }\n },\n {\n \"value\": \"teacherotherissues\",\n \"label\": \"Other issues\",\n \"dataSrc\": {\n \"action\": \"contactBoard\"\n }\n }\n ]\n }\n }\n }\n ]\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{host}}/api/data/v1/form/create", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "data", + "v1", + "form", + "create" + ] + }, + "description": "\"\"\n\nThis form configuration provides a text area field with a maximum length of 1000 characters for users to provide additional details related to their support request. The label \"Tell us more\" and placeholder \"Enter Details\" help users understand what information is required in the text area field. The validation ensures that the input does not exceed the maximum allowed length. This form can be customized as per the user's requirements to suit their needs for submitting any type of request, complaint, or feedback." + }, + "response": [] + }, + { + "name": "Form-29 - config | notification | get | app ", + "request": { + "method": "POST", + "header": [ + { + "key": "Authorization", + "value": "Bearer {{apikey}}" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"type\": \"config\",\n \"subType\": \"notification\",\n \"action\": \"get\",\n \"component\": \"app\",\n \"framework\": \"*\",\n \"rootOrgId\": \"*\",\n \"data\": {\n \"templateName\": \"notification\",\n \"action\": \"get\",\n \"fields\": [\n {\n \"code\": \"localNotification\",\n \"name\": \"LocalNotification\",\n \"type\": 1,\n \"config\": [\n {\n \"msg\": \"{\\\"en\\\":\\\"Learn something new on Diksha today!\\\",\\\"hi\\\":\\\"आज Diksha से कुछ नया सीखे!\\\",\\\"kn\\\":\\\"Diksha ದಲ್ಲಿ ಇಂದು ಹೊಸತೇನಾದರೂ ಕಲಿಯಿರಿ!\\\", \\\"ta\\\": \\\"இன்று Diksha இல் புதியவற்றைக் கற்றுக்கொள்ளுங்கள்!\\\", \\\"te\\\": \\\"నేడు Diksha లో కొత్త విషయాలు నేర్చుకోండి!\\\", \\\"ur\\\": \\\"{{%s}} پر آج کچھ نیا سیکھیں!\\\" }\",\n \"isEnabled\": true,\n \"start\": \"4 19:00\",\n \"interval\": \"weekday\",\n \"id\": 1004,\n \"title\": \"{\\\"en\\\":\\\"Diksha\\\",\\\"hi\\\":\\\"Diksha\\\",\\\"kn\\\":\\\"Diksha\\\", \\\"ta\\\": \\\"Diksha\\\", \\\"te\\\": \\\"Diksha\\\", \\\"ur\\\": \\\"Diksha\\\" }\"\n }\n ]\n }\n ]\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{host}}/api/data/v1/form/create", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "data", + "v1", + "form", + "create" + ] + }, + "description": "\"\"\n\nNotifications will list down and shows title from the response. This makes users’ life easier by allowing them to show their notifications similar to this." + }, + "response": [] + }, + { + "name": "Form-30 - config | deeplink | get | *", + "request": { + "method": "POST", + "header": [ + { + "key": "Authorization", + "value": "Bearer {{apikey}}" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"type\": \"config\",\n \"subType\": \"deeplink\",\n \"action\": \"get\",\n \"component\": \"*\",\n \"framework\": \"*\",\n \"rootOrgId\": \"*\",\n \"data\": {\n \"templateName\": \"deeplink\",\n \"action\": \"get\",\n \"fields\": [\n {\n \"name\": \"Dialcode parser\",\n \"code\": \"dialcode\",\n \"pattern\": \"(/dial/(?[a-zA-Z0-9]+)|(/QR/\\\\?id=(?[a-zA-Z0-9]+)))\",\n \"route\": \"search\"\n },\n {\n \"name\": \"content deatil\",\n \"code\": \"contentDetail\",\n \"pattern\": \"(?:/(?:resources/play/content|play/content|play/quiz)/(?\\\\w+))\",\n \"route\": \"content-details\"\n },\n {\n \"name\": \"Textbook detail\",\n \"code\": \"textbookDetail\",\n \"pattern\": \"(?:/play/(?:collection)/(?\\\\w+))\",\n \"route\": \"collection-detail-etb\",\n \"priority\": 2\n },\n {\n \"name\": \"Textbook content detail\",\n \"code\": \"textbookContentDetail\",\n \"pattern\": \"(?:/play/(?:collection)/(?\\\\w+)\\\\?(?=.*\\\\bcontentId\\\\b=(?([^&]*)).*))\",\n \"route\": \"collection-detail-etb\",\n \"priority\": 1\n },\n {\n \"name\": \"Course Detail\",\n \"code\": \"courseDetail\",\n \"pattern\": \"(?:/(?:explore-course|learn)/course/(?\\\\w+))\",\n \"route\": \"enrolled-course-details\",\n \"priority\": 3\n },\n {\n \"name\": \"Module Detail\",\n \"code\": \"moduleDetail\",\n \"pattern\": \"(?:/(?:explore-course|learn)/course/(?\\\\w+)\\\\?(?=.*\\\\bmoduleId\\\\b=(?([^&]*)).*))\",\n \"route\": \"module-details\",\n \"priority\": 1\n },\n {\n \"name\": \"Course Content Detail\",\n \"code\": \"courseContentDetail\",\n \"pattern\": \"(?:/(?:explore-course|learn)/course/(?\\\\w+)\\\\?(?=.*\\\\bcontentId\\\\b=(?([^&]*)).*))\",\n \"route\": \"course-content-details\",\n \"priority\": 2\n },\n {\n \"name\": \"Library\",\n \"code\": \"library\",\n \"pattern\": \"/(resources|explore)$\",\n \"route\": \"tabs/resources\"\n },\n {\n \"name\": \"TakeSurvey\",\n \"code\": \"takeSurvey\",\n \"pattern\": \"/manage-learn/take-survey/(?\\\\w+)\",\n \"route\": \"survey\"\n },\n {\n \"name\": \"Create Observation\",\n \"code\": \"createObservation\",\n \"pattern\": \"/manage-learn/create-observation/(?\\\\w+)\",\n \"route\": \"deeplink-redirect/observationLink\"\n },\n {\n \"name\": \"Create Project\",\n \"code\": \"createProject\",\n \"pattern\": \"/manage-learn/create-project/(?\\\\w+)\",\n \"route\": \"deeplink-redirect/projectLink\"\n },\n {\n \"name\": \"Observation\",\n \"code\": \"observation\",\n \"pattern\": \"/manage-learn/observation/(?\\\\w+)\",\n \"route\": \"content-details\",\n \"priority\": 6\n },\n {\n \"name\": \"Reports\",\n \"code\": \"report\",\n \"pattern\": \"/manage-learn/observation/reports/(?\\\\w+)\",\n \"route\": \"content-details\",\n \"priority\": 5\n },\n {\n \"name\": \"Profile\",\n \"code\": \"profile\",\n \"pattern\": \"/(profile)$\",\n \"route\": \"tabs/profile\"\n },\n {\n \"name\": \"Guest Profile\",\n \"code\": \"guest-profile\",\n \"pattern\": \"/(guest-profile)$\",\n \"route\": \"tabs/guest-profile\"\n },\n {\n \"name\": \"FAQ\",\n \"code\": \"faq\",\n \"pattern\": \"/(faq)$\",\n \"route\": \"faq-help\"\n },\n {\n \"name\": \"Content attributes\",\n \"code\": \"attributes\",\n \"pattern\": \"\",\n \"route\": \"\",\n \"params\": {\n \"attributes\": [\n {\n \"code\": \"attributions\",\n \"type\": \"Array\"\n },\n {\n \"code\": \"author\",\n \"type\": \"String\"\n },\n {\n \"code\": \"compatibilityLevel\",\n \"type\": \"String\"\n },\n {\n \"code\": \"contentDisposition\",\n \"type\": \"String\"\n },\n {\n \"code\": \"contentEncoding\",\n \"type\": \"String\"\n },\n {\n \"code\": \"createdBy\",\n \"type\": \"String\"\n },\n {\n \"code\": \"createdFor\",\n \"type\": \"Array\"\n },\n {\n \"code\": \"dialcodes\",\n \"type\": \"String\"\n },\n {\n \"code\": \"language\",\n \"type\": \"Array\"\n },\n {\n \"code\": \"organisation\",\n \"type\": \"Array\"\n },\n {\n \"code\": \"organization\",\n \"type\": \"Array\"\n },\n {\n \"code\": \"rating\",\n \"type\": \"String\"\n },\n {\n \"code\": \"resourceType\",\n \"type\": \"Array\"\n },\n {\n \"code\": \"targetFWIds\",\n \"type\": \"Array\"\n },\n {\n \"code\": \"targetBoardIds\",\n \"type\": \"Array\"\n },\n {\n \"code\": \"targetGradeLevelIds\",\n \"type\": \"Array\"\n },\n {\n \"code\": \"targetMediumIds\",\n \"type\": \"Array\"\n },\n {\n \"code\": \"targetSubjectIds\",\n \"type\": \"Array\"\n },\n {\n \"code\": \"targetTopicIds\",\n \"type\": \"Array\"\n },\n {\n \"code\": \"userConsent\",\n \"type\": \"String\"\n },\n {\n \"code\": \"visibility\",\n \"type\": \"Array\"\n },\n {\n \"code\": \"medium\",\n \"type\": \"Array\"\n },\n {\n \"code\": \"gradeLevel\",\n \"type\": \"Array\"\n },\n {\n \"code\": \"board\",\n \"type\": \"Array\"\n },\n {\n \"code\": \"subject\",\n \"type\": \"Array\"\n },\n {\n \"code\": \"primaryCategory\",\n \"type\": \"Array\"\n },\n {\n \"code\": \"audience\",\n \"type\": \"Array\"\n },\n {\n \"code\": \"channel\",\n \"type\": \"Array\"\n },\n {\n \"code\": \"mimeType\",\n \"type\": \"Array\",\n \"proxyCode\": \"mediaType\",\n \"filter\": \"custom\"\n }\n ]\n }\n },\n {\n \"name\": \"Search Course\",\n \"code\": \"searchCourse\",\n \"pattern\": \"/(explore-course|learn)(\\\\?.*|$)\",\n \"route\": \"tabs/search\",\n \"priority\": 4,\n \"params\": {\n \"key\": \"key\",\n \"data\": [\n {\n \"code\": \"primaryCategory\",\n \"values\": [\n \"Course\",\n \"Course Assessment\"\n ],\n \"type\": \"default\"\n }\n ]\n }\n },\n {\n \"name\": \"Search Textbook\",\n \"code\": \"searchTextbook\",\n \"pattern\": \"/(resources|explore)(\\\\?.*selectedTab=textbook|$)\",\n \"route\": \"search\",\n \"priority\": 2,\n \"params\": {\n \"key\": \"key\",\n \"data\": [\n {\n \"code\": \"primaryCategory\",\n \"values\": [\n \"Digital Textbook\",\n \"eTextbook\"\n ],\n \"type\": \"default\"\n }\n ]\n }\n },\n {\n \"name\": \"Search TV Program\",\n \"code\": \"searchTvProgram\",\n \"pattern\": \"/(resources|explore)\\\\?.*selectedTab=tvProgram\",\n \"route\": \"search\",\n \"priority\": 2,\n \"params\": {\n \"key\": \"key\",\n \"data\": [\n {\n \"code\": \"primaryCategory\",\n \"values\": [\n \"TVLesson\"\n ],\n \"type\": \"default\"\n }\n ]\n }\n },\n {\n \"name\": \"Search\",\n \"code\": \"searchAll\",\n \"pattern\": \"/(search/Library|explore)/1(\\\\?.*|$)\",\n \"route\": \"search\",\n \"priority\": 1,\n \"params\": {\n \"key\": \"key\",\n \"data\": [\n {\n \"code\": \"primaryCategory\",\n \"values\": [\n \"Collection\",\n \"Resource\",\n \"Content Playlist\",\n \"Course\",\n \"Course Assessment\",\n \"Digital Textbook\",\n \"eTextbook\",\n \"Explanation Content\",\n \"Learning Resource\",\n \"Practice Question Set\",\n \"Teacher Resource\",\n \"LessonPlan\",\n \"FocusSpot\",\n \"Learning Outcome Definition\",\n \"Curiosity Questions\",\n \"MarkingSchemeRubric\",\n \"ExplanationResource\",\n \"ExperientialResource\",\n \"Practice Resource\",\n \"TVLesson\"\n ],\n \"type\": \"default\"\n },\n {\n \"code\": \"mimeType\",\n \"values\": [\n {\n \"name\": \"all\",\n \"options\": [\n \"application/vnd.ekstep.ecml-archive\",\n \"application/vnd.ekstep.html-archive\",\n \"application/vnd.android.package-archive\",\n \"application/vnd.ekstep.content-archive\",\n \"application/vnd.ekstep.content-collection\",\n \"application/vnd.ekstep.plugin-archive\",\n \"application/vnd.ekstep.h5p-archive\",\n \"application/epub\",\n \"text/x-url\",\n \"video/x-youtube\",\n \"application/octet-stream\",\n \"application/msword\",\n \"application/pdf\",\n \"image/jpeg\",\n \"image/jpg\",\n \"image/png\",\n \"image/tiff\",\n \"image/bmp\",\n \"image/gif\",\n \"image/svg+xml\",\n \"video/avi\",\n \"video/mpeg\",\n \"video/quicktime\",\n \"video/3gpp\",\n \"video/mpeg\",\n \"video/mp4\",\n \"video/ogg\",\n \"video/webm\",\n \"audio/mp3\",\n \"audio/mp4\",\n \"audio/mpeg\",\n \"audio/ogg\",\n \"audio/webm\",\n \"audio/x-wav\",\n \"audio/wav\"\n ]\n },\n {\n \"name\": \"video\",\n \"options\": [\n \"video/avi\",\n \"video/mpeg\",\n \"video/quicktime\",\n \"video/3gpp\",\n \"video/mpeg\",\n \"video/mp4\",\n \"video/ogg\",\n \"video/webm\"\n ]\n },\n {\n \"name\": \"documents\",\n \"options\": [\n \"application/pdf\",\n \"application/epub\",\n \"application/msword\"\n ]\n },\n {\n \"name\": \"interactive\",\n \"options\": [\n \"application/vnd.ekstep.ecml-archive\",\n \"application/vnd.ekstep.h5p-archive\",\n \"application/vnd.ekstep.html-archive\"\n ]\n },\n {\n \"name\": \"audio\",\n \"options\": [\n \"audio/mp3\",\n \"audio/mp4\",\n \"audio/mpeg\",\n \"audio/ogg\",\n \"audio/webm\",\n \"audio/x-wav\",\n \"audio/wav\"\n ]\n }\n ],\n \"type\": \"custom\"\n }\n ]\n }\n }\n ]\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{host}}/api/data/v1/form/create", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "data", + "v1", + "form", + "create" + ] + }, + "description": "This form configuration defines the possible values for the \"primaryCategory\" field in a form. It provides a list of options that the user can choose from, and the options are pre-defined in the \"values\" field of the configuration. The user can only select one option from the list as the configuration specifies the type as \"default\", which allows only one selection at a time. \nThe \"primaryCategory\" field is a categorical variable, and this configuration makes it easier for the user to select a suitable value from the list. The user can add new values or remove existing ones from the list according to their needs." + }, + "response": [] + }, + { + "name": "Form-31 - config | pdfplayer_v2 | get | * ", + "request": { + "method": "POST", + "header": [ + { + "key": "Authorization", + "value": "Bearer {{apikey}}" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"type\": \"config\",\n \"subType\": \"pdfplayer_v2\",\n \"action\": \"get\",\n \"component\": \"*\",\n \"framework\": \"*\",\n \"rootOrgId\": \"*\",\n \"data\": {\n \"templateName\": \"pdfPlayer_v2\",\n \"action\": \"get\",\n \"fields\": [\n {\n \"name\": \"pdfPlayer\",\n \"code\": \"pdf\",\n \"values\": [\n {\n \"isEnabled\": true\n }\n ]\n },\n {\n \"name\": \"epubPlayer\",\n \"code\": \"epub\",\n \"values\": [\n {\n \"isEnabled\": true\n }\n ]\n },\n {\n \"name\": \"videoPlayer\",\n \"code\": \"video\",\n \"values\": [\n {\n \"isEnabled\": true\n }\n ]\n },\n {\n \"name\": \"qumlPlayer\",\n \"code\": \"quml\",\n \"values\": [\n {\n \"isEnabled\": true\n }\n ]\n }\n ]\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{host}}/api/data/v1/form/create", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "data", + "v1", + "form", + "create" + ] + }, + "description": "The above form configuration code provides information about a PDF player form. The \"type\" field specifies that this is a configuration form, while the \"subtype\" field indicates that this is a PDF player form of version 2.The \"action\" field indicates that this form is used for getting information about the PDF player. The \"component\" and \"framework\" fields are set to \"\\*\" to indicate that they are not specified.The \"data\" field contains information about the PDF player form's fields, including the PDF player, EPUB player, video player, and Quml player. The \"isEnabled\" parameter is set to \"true\" for each field, indicating that they are all enabled.Based on the type of content, the appropriate player will be selected and opened. Users can customize the PDF player form by modifying the values of the fields or by adding new fields to meet their specific requirements.Overall, this form configuration provides a straightforward and efficient method for users to access and display PDF content using a player.POST" + }, + "response": [] + }, + { + "name": "Form-32 - config | segmentation_v2 | get | * ", + "request": { + "method": "POST", + "header": [ + { + "key": "Authorization", + "value": "Bearer {{apikey}}" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"type\": \"config\",\n \"subType\": \"segmentation_v2\",\n \"action\": \"get\",\n \"component\": \"*\",\n \"framework\": \"*\",\n \"rootOrgId\": \"*\",\n \"data\": {\n \"templateName\": \"segmentation_v2\",\n \"action\": \"get\",\n \"fields\": [\n {\n \"commandId\": 1619548200000,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"LOCAL_NOTIF\",\n \"expiresAfter\": 1841807258000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERLANG_en\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"controlFunctionPayload\": [\n {\n \"code\": \"localNotification\",\n \"name\": \"LocalNotification\",\n \"type\": 1,\n \"config\": [\n {\n \"msg\": \"Welcome! You've choosen English\",\n \"isEnabled\": true,\n \"id\": 1005,\n \"title\": \"Welcome! You've choosen English\"\n }\n ]\n }\n ]\n },\n {\n \"commandId\": 1619548200290,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"LOCAL_NOTIF\",\n \"expiresAfter\": 1841807258000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERLANG_kn\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"controlFunctionPayload\": [\n {\n \"code\": \"localNotification\",\n \"name\": \"LocalNotification\",\n \"type\": 1,\n \"config\": [\n {\n \"msg\": \"ಕನ್ನಡ ಆಯ್ಕೆ ಮಾಡಿದ್ದಕ್ಕೆ ಧನ್ಯವಾದಗಳು\",\n \"isEnabled\": true,\n \"id\": 1006,\n \"title\": \"ಕನ್ನಡ ಆಯ್ಕೆ ಮಾಡಿದ್ದಕ್ಕೆ ಧನ್ಯವಾದಗಳು\"\n }\n ]\n }\n ]\n },\n {\n \"commandId\": 1619548200020,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"LOCAL_NOTIF\",\n \"expiresAfter\": 1841807258000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_stateandhrapradesh\",\n \"USERFRAMEWORK_class10\",\n \"USERFRAMEWORK_english\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"controlFunctionPayload\": [\n {\n \"code\": \"localNotification\",\n \"name\": \"LocalNotification\",\n \"type\": 1,\n \"config\": [\n {\n \"msg\": \"Board AP Class 10 English\",\n \"isEnabled\": true,\n \"id\": 1004,\n \"title\": \"Board AP Class 10 English\",\n \"action\": \"ACTION_PLAY\",\n \"data\": {\n \"request\": {\n \"objectId\": \"do_31269113788995174417318\",\n \"collection\": \"do_31269113788995174417318\"\n }\n }\n }\n ]\n }\n ]\n },\n {\n \"commandId\": 1619548204000,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"LOCAL_NOTIF\",\n \"expiresAfter\": 1841807258000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"CONTENT_do_2130251541941534721178\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"controlFunctionPayload\": [\n {\n \"code\": \"localNotification\",\n \"name\": \"LocalNotification\",\n \"type\": 1,\n \"config\": [\n {\n \"msg\": \"Content: State Course\",\n \"isEnabled\": true,\n \"id\": 1003,\n \"title\": \"Content: State Course\",\n \"action\": \"ACTION_PLAY\",\n \"data\": {\n \"request\": {\n \"objectId\": \"do_2130251541941534721178\",\n \"collection\": \"do_2130251541941534721178\"\n }\n }\n }\n ]\n }\n ]\n },\n {\n \"commandId\": 1619548200600,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"LOCAL_NOTIF\",\n \"expiresAfter\": 1841807258000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_stateandhrapradesh\",\n \"USERFRAMEWORK_class8\",\n \"USERFRAMEWORK_english\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"controlFunctionPayload\": [\n {\n \"code\": \"localNotification\",\n \"name\": \"LocalNotification\",\n \"type\": 1,\n \"config\": [\n {\n \"msg\": \"Board AP class 8 english\",\n \"isEnabled\": true,\n \"id\": 1002,\n \"title\": \"Board AP class 8 english\"\n }\n ]\n }\n ]\n },\n {\n \"commandId\": 1619548200050,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"LOCAL_NOTIF\",\n \"expiresAfter\": 1841807258000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERLOCATION_Tamil Nadu\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"controlFunctionPayload\": [\n {\n \"code\": \"localNotification\",\n \"name\": \"LocalNotification\",\n \"type\": 1,\n \"config\": [\n {\n \"msg\": \"Location Tamil Nadu\",\n \"isEnabled\": true,\n \"id\": 1001,\n \"title\": \"Location Tamil Nadu\"\n }\n ]\n }\n ]\n },\n {\n \"commandId\": 1619548201250,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1841807258000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_statetamilnadu\",\n \"USERFRAMEWORK_english\",\n \"USERFRAMEWORK_class1\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_external_url\",\n \"ui\": {\n \"background\": \"https://cdn.pixabay.com/photo/2015/10/29/14/38/web-1012467_960_720.jpg\",\n \"text\": \"Sample External Url\"\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"externalUrl\",\n \"params\": {\n \"route\": \"https://diksha.gov.in/\"\n }\n },\n \"expiry\": \"1841807258\"\n },\n {\n \"code\": \"banner_internal_url\",\n \"ui\": {\n \"background\": \"https://cdn.pixabay.com/photo/2015/10/29/14/38/web-1012467_960_720.jpg\",\n \"text\": \"Sample Internal Url\"\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"internalUrl\",\n \"params\": {\n \"route\": \"profile\"\n }\n },\n \"expiry\": \"1841807258\"\n },\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://cdn.pixabay.com/photo/2015/10/29/14/38/web-1012467_960_720.jpg\",\n \"text\": \"Sample Search\"\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"query\": \"limited attempt course\",\n \"filter\": {\n \"offset\": 0,\n \"filters\": {\n \"audience\": [],\n \"objectType\": [\n \"Content\"\n ]\n }\n }\n }\n },\n \"expiry\": \"1841807258\"\n },\n {\n \"code\": \"banner_content\",\n \"ui\": {\n \"background\": \"https://ae01.alicdn.com/kf/H9e3986d0c2434909a0cc26654e766dad7/Custom-fullcolor-Vinyl-Flex-Banner-3-X-4-FT-Outdoor-Advertise-Signs-2-X6-FT-Can.jpg_Q90.jpg_.webp\",\n \"text\": \"Sample content\"\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"content\",\n \"params\": {\n \"identifier\": \"do_21302358976737280014\"\n }\n },\n \"expiry\": \"1841807258\"\n },\n {\n \"code\": \"\",\n \"type\": \"secondary\",\n \"ui\": {\n \"text\": \"NISHTHA FLN COurses\",\n \"icon\": \"assets/imgs/ic_nishtha_courses.svg\",\n \"theme\": {\n \"iconBgColor\": \"#FFFFFF\",\n \"pillBgColor\": \"#FFFFFF\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"\",\n \"params\": {\n \"route\": \"\"\n }\n },\n \"expiry\": \"1841807258\"\n },\n {\n \"code\": \"\",\n \"type\": \"secondary\",\n \"ui\": {\n \"text\": \"NISHTHA FLN COurses\",\n \"icon\": \"assets/imgs/ic_nishtha_courses.svg\",\n \"theme\": {\n \"iconBgColor\": \"#FFFFFF\",\n \"pillBgColor\": \"#FFFFFF\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"\",\n \"params\": {\n \"route\": \"\"\n }\n },\n \"expiry\": \"1841807258\"\n },\n {\n \"code\": \"\",\n \"type\": \"secondary\",\n \"ui\": {\n \"text\": \"NISHTA Secondary Courses\",\n \"icon\": \"assets/imgs/ic_secondary_course.svg\",\n \"theme\": {\n \"iconBgColor\": \"#FFFFFF\",\n \"pillBgColor\": \"#FFFFFF\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"\",\n \"params\": {\n \"route\": \"\"\n }\n },\n \"expiry\": \"1841807258\"\n },\n {\n \"code\": \"\",\n \"type\": \"secondary\",\n \"ui\": {\n \"text\": \"Revision Preperation\",\n \"icon\": \"assets/imgs/ic_revision_preperation.svg\",\n \"theme\": {\n \"iconBgColor\": \"#FFFFFF\",\n \"pillBgColor\": \"#FFFFFF\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"\",\n \"params\": {\n \"route\": \"\"\n }\n },\n \"expiry\": \"1841807258\"\n },\n {\n \"code\": \"\",\n \"type\": \"secondary\",\n \"ui\": {\n \"text\": \"FLN Programme\",\n \"icon\": \"assets/imgs/ic_fln_programme.svg\",\n \"theme\": {\n \"iconBgColor\": \"#FFFFFF\",\n \"pillBgColor\": \"#FFFFFF\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"\",\n \"params\": {\n \"route\": \"\"\n }\n },\n \"expiry\": \"1841807258\"\n },\n {\n \"code\": \"\",\n \"type\": \"secondary\",\n \"ui\": {\n \"text\": \"Administration Programme\",\n \"icon\": \"assets/imgs/ic_administration_programme.svg\",\n \"theme\": {\n \"iconBgColor\": \"#FFFFFF\",\n \"pillBgColor\": \"#FFFFFF\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"\",\n \"params\": {\n \"route\": \"\"\n }\n },\n \"expiry\": \"1841807258\"\n },\n {\n \"code\": \"\",\n \"type\": \"secondary\",\n \"ui\": {\n \"text\": \"Quiz\",\n \"icon\": \"assets/imgs/ic_quiz.svg\",\n \"theme\": {\n \"iconBgColor\": \"#FFFFFF\",\n \"pillBgColor\": \"#FFFFFF\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"\",\n \"params\": {\n \"route\": \"\"\n }\n },\n \"expiry\": \"1841807258\"\n }\n ]\n }\n },\n {\n \"commandId\": 1619548208500,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1841807258000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_cbse\",\n \"USERFRAMEWORK_english\",\n \"USERFRAMEWORK_class6\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_external_url\",\n \"ui\": {\n \"background\": \"https://cdn.pixabay.com/photo/2015/10/29/14/38/web-1012467_960_720.jpg\",\n \"text\": \"Sample External Url\"\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"externalUrl\",\n \"params\": {\n \"route\": \"https://diksha.gov.in/\"\n }\n },\n \"expiry\": \"1841807258\"\n },\n {\n \"code\": \"banner_internal_url\",\n \"ui\": {\n \"background\": \"https://cdn.pixabay.com/photo/2015/10/29/14/38/web-1012467_960_720.jpg\",\n \"text\": \"Sample Internal Url\"\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"internalUrl\",\n \"params\": {\n \"route\": \"profile\"\n }\n },\n \"expiry\": \"1841807258\"\n },\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://cdn.pixabay.com/photo/2015/10/29/14/38/web-1012467_960_720.jpg\",\n \"text\": \"Sample Search\"\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"query\": \"limited attempt course\",\n \"filter\": {\n \"offset\": 0,\n \"filters\": {\n \"audience\": [],\n \"objectType\": [\n \"Content\"\n ]\n }\n }\n }\n },\n \"expiry\": \"1841807258\"\n },\n {\n \"code\": \"banner_content\",\n \"ui\": {\n \"background\": \"https://cdn.pixabay.com/photo/2015/10/29/14/38/web-1012467_960_720.jpg\",\n \"text\": \"Sample content\"\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"content\",\n \"params\": {\n \"identifier\": \"do_21302358976737280014\"\n }\n },\n \"expiry\": \"1841807258\"\n },\n {\n \"code\": \"banner_search\",\n \"type\": \"secondary\",\n \"ui\": {\n \"text\": \"NISHTHA FLN COurses\",\n \"icon\": \"assets/imgs/ic_nishtha_courses.svg\",\n \"theme\": {\n \"iconBgColor\": \"#FFFFFF\",\n \"pillBgColor\": \"#FFFFFF\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"query\": \"limited attempt course\",\n \"filter\": {\n \"offset\": 0,\n \"filters\": {\n \"audience\": [],\n \"objectType\": [\n \"Content\"\n ]\n }\n }\n }\n },\n \"expiry\": \"1841807258\"\n },\n {\n \"code\": \"banner_search\",\n \"type\": \"secondary\",\n \"ui\": {\n \"text\": \"NISHTA Secondary Courses\",\n \"icon\": \"assets/imgs/ic_secondary_course.svg\",\n \"theme\": {\n \"iconBgColor\": \"#FFFFFF\",\n \"pillBgColor\": \"#FFFFFF\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"query\": \"limited attempt course\",\n \"filter\": {\n \"offset\": 0,\n \"filters\": {\n \"audience\": [],\n \"objectType\": [\n \"Content\"\n ]\n }\n }\n }\n },\n \"expiry\": \"1841807258\"\n },\n {\n \"code\": \"banner_search\",\n \"type\": \"secondary\",\n \"ui\": {\n \"text\": \"Revision Preperation\",\n \"icon\": \"assets/imgs/ic_revision_preperation.svg\",\n \"theme\": {\n \"iconBgColor\": \"#FFFFFF\",\n \"pillBgColor\": \"#FFFFFF\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"query\": \"limited attempt course\",\n \"filter\": {\n \"offset\": 0,\n \"filters\": {\n \"audience\": [],\n \"objectType\": [\n \"Content\"\n ]\n }\n }\n }\n },\n \"expiry\": \"1841807258\"\n },\n {\n \"code\": \"banner_search\",\n \"type\": \"secondary\",\n \"ui\": {\n \"text\": \"FLN Programme\",\n \"icon\": \"assets/imgs/ic_fln_programme.svg\",\n \"theme\": {\n \"iconBgColor\": \"#FFFFFF\",\n \"pillBgColor\": \"#FFFFFF\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"query\": \"limited attempt course\",\n \"filter\": {\n \"offset\": 0,\n \"filters\": {\n \"audience\": [],\n \"objectType\": [\n \"Content\"\n ]\n }\n }\n }\n },\n \"expiry\": \"1841807258\"\n },\n {\n \"code\": \"banner_search\",\n \"type\": \"secondary\",\n \"ui\": {\n \"text\": \"Administration Programme\",\n \"icon\": \"assets/imgs/ic_administration_programme.svg\",\n \"theme\": {\n \"iconBgColor\": \"#FFFFFF\",\n \"pillBgColor\": \"#FFFFFF\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"query\": \"limited attempt course\",\n \"filter\": {\n \"offset\": 0,\n \"filters\": {\n \"audience\": [],\n \"objectType\": [\n \"Content\"\n ]\n }\n }\n }\n },\n \"expiry\": \"1841807258\"\n },\n {\n \"code\": \"banner_search\",\n \"type\": \"secondary\",\n \"ui\": {\n \"text\": \"Quiz\",\n \"icon\": \"assets/imgs/ic_quiz.svg\",\n \"theme\": {\n \"iconBgColor\": \"#FFFFFF\",\n \"pillBgColor\": \"#FFFFFF\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"query\": \"limited attempt course\",\n \"filter\": {\n \"offset\": 0,\n \"filters\": {\n \"audience\": [],\n \"objectType\": [\n \"Content\"\n ]\n }\n }\n }\n },\n \"filterIdentifier\": \"nlp\",\n \"expiry\": \"1841807258\"\n }\n ]\n }\n },\n {\n \"commandId\": 1619548201298,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"DEBUGGING_MODE\",\n \"expiresAfter\": 1841807258000,\n \"tagCriteria\": \"OR\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"ALL_android\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"controlFunctionPayload\": {\n \"traceId\": \"TID_123445\"\n }\n },\n {\n \"commandId\": 1619548200012,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1841807258000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"APPVERSION_DIKSHA v4.4.104staging.97\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_external_url\",\n \"ui\": {\n \"background\": \"https://image.freepik.com/free-vector/minimalist-watercolor_91008-209.jpg\",\n \"text\": \"Sample External Url\"\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"externalUrl\",\n \"params\": {\n \"route\": \"https://diksha.gov.in/\"\n }\n },\n \"expiry\": \"1653031067\"\n }\n ]\n }\n },\n {\n \"commandId\": 1619548200013,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1841807258000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"DEVCONFIG_7fb8fbb3a2bb521689ff04d7f31097676adf101d\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_external_url\",\n \"ui\": {\n \"background\": \"https://image.freepik.com/free-vector/minimalist-watercolor_91008-209.jpg\",\n \"text\": \"Device Based Banner\"\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"externalUrl\",\n \"params\": {\n \"route\": \"https://diksha.gov.in/\"\n }\n },\n \"expiry\": \"1653031067\"\n }\n ]\n }\n },\n {\n \"commandId\": 1619548200014,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"LOCAL_NOTIF\",\n \"expiresAfter\": 1841807258000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERROLE_teacher\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"controlFunctionPayload\": [\n {\n \"code\": \"localNotification\",\n \"name\": \"LocalNotification\",\n \"type\": 1,\n \"config\": [\n {\n \"msg\": \"Registred as Teacher\",\n \"isEnabled\": true,\n \"id\": 1006,\n \"title\": \"Registred as Teacher\"\n }\n ]\n }\n ]\n },\n {\n \"commandId\": 1619548200015,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"LOCAL_NOTIF\",\n \"expiresAfter\": 1841807258000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERROLE_teacher\",\n \"USERLOCATION_Bengaluru U North\",\n \"USERLOCATION_Karnataka\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"controlFunctionPayload\": [\n {\n \"code\": \"localNotification\",\n \"name\": \"LocalNotification\",\n \"type\": 1,\n \"config\": [\n {\n \"msg\": \"Welcome to Karnataka\",\n \"isEnabled\": true,\n \"id\": 1006,\n \"title\": \"Welcome to Karnataka\"\n }\n ]\n }\n ]\n },\n {\n \"commandId\": 1619548201250,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1841807258000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"targetedClient\": \"portal\",\n \"tagFilters\": [\n \"USERFRAMEWORK_State (Tamil Nadu)\",\n \"USERFRAMEWORK_English\",\n \"USERFRAMEWORK_Class 1\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_external_url\",\n \"ui\": {\n \"background\": \"https://cdn.pixabay.com/photo/2015/10/29/14/38/web-1012467_960_720.jpg\",\n \"text\": \"Sample External Url\"\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"externalUrl\",\n \"params\": {\n \"route\": \"https://diksha.gov.in/\"\n }\n },\n \"expiry\": \"1841807258\"\n },\n {\n \"code\": \"banner_internal_url\",\n \"ui\": {\n \"background\": \"https://cdn.pixabay.com/photo/2015/10/29/14/38/web-1012467_960_720.jpg\",\n \"text\": \"Sample Internal Url\"\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"internalUrl\",\n \"params\": {\n \"route\": \"profile\"\n }\n },\n \"expiry\": \"1841807258\"\n },\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://cdn.pixabay.com/photo/2015/10/29/14/38/web-1012467_960_720.jpg\",\n \"text\": \"Sample Search\"\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"query\": \"limited attempt course\",\n \"filter\": {\n \"offset\": 0,\n \"filters\": {\n \"audience\": [],\n \"objectType\": [\n \"Content\"\n ]\n }\n }\n }\n },\n \"expiry\": \"1841807258\"\n },\n {\n \"code\": \"banner_content\",\n \"ui\": {\n \"background\": \"https://5.imimg.com/data5/RN/UY/AT/SELLER-90246361/printed-rectangle-flex-banner-500x500.jpg\"\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"content\",\n \"params\": {\n \"identifier\": \"do_21302358976737280014\"\n }\n },\n \"expiry\": \"1841807258\"\n },\n {\n \"code\": \"banner_search\",\n \"type\": \"secondary\",\n \"ui\": {\n \"text\": \"NISHTHA FLN COurses\",\n \"icon\": \"assets/images/ic_nishtha_courses.svg\",\n \"theme\": {\n \"iconBgColor\": \"#FFFFFF\",\n \"pillBgColor\": \"#FFFFFF\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"query\": \"limited attempt course\",\n \"filter\": {\n \"offset\": 0,\n \"filters\": {\n \"audience\": [],\n \"objectType\": [\n \"Content\"\n ]\n }\n }\n }\n },\n \"expiry\": \"1841807258\"\n },\n {\n \"code\": \"banner_search\",\n \"type\": \"secondary\",\n \"ui\": {\n \"text\": \"NISHTHA FLN COurses\",\n \"icon\": \"assets/images/ic_nishtha_courses.svg\",\n \"theme\": {\n \"iconBgColor\": \"#FFFFFF\",\n \"pillBgColor\": \"#FFFFFF\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"query\": \"limited attempt course\",\n \"filter\": {\n \"offset\": 0,\n \"filters\": {\n \"audience\": [],\n \"objectType\": [\n \"Content\"\n ]\n }\n }\n }\n },\n \"expiry\": \"1841807258\"\n },\n {\n \"code\": \"banner_search\",\n \"type\": \"secondary\",\n \"ui\": {\n \"text\": \"NISHTA Secondary Courses\",\n \"icon\": \"assets/images/ic_secondary_course.svg\",\n \"theme\": {\n \"iconBgColor\": \"#FFFFFF\",\n \"pillBgColor\": \"#FFFFFF\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"query\": \"limited attempt course\",\n \"filter\": {\n \"offset\": 0,\n \"filters\": {\n \"audience\": [],\n \"objectType\": [\n \"Content\"\n ]\n }\n }\n }\n },\n \"expiry\": \"1841807258\"\n },\n {\n \"code\": \"banner_search\",\n \"type\": \"secondary\",\n \"ui\": {\n \"text\": \"Revision Preperation\",\n \"icon\": \"assets/images/ic_revision_preperation.svg\",\n \"theme\": {\n \"iconBgColor\": \"#FFFFFF\",\n \"pillBgColor\": \"#FFFFFF\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"query\": \"limited attempt course\",\n \"filter\": {\n \"offset\": 0,\n \"filters\": {\n \"audience\": [],\n \"objectType\": [\n \"Content\"\n ]\n }\n }\n }\n },\n \"expiry\": \"1841807258\"\n },\n {\n \"code\": \"banner_search\",\n \"type\": \"secondary\",\n \"ui\": {\n \"text\": \"FLN Programme\",\n \"icon\": \"assets/images/ic_fln_programme.svg\",\n \"theme\": {\n \"iconBgColor\": \"#FFFFFF\",\n \"pillBgColor\": \"#FFFFFF\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"query\": \"limited attempt course\",\n \"filter\": {\n \"offset\": 0,\n \"filters\": {\n \"audience\": [],\n \"objectType\": [\n \"Content\"\n ]\n }\n }\n }\n },\n \"expiry\": \"1841807258\"\n },\n {\n \"code\": \"banner_search\",\n \"type\": \"secondary\",\n \"ui\": {\n \"text\": \"Administration Programme\",\n \"icon\": \"assets/images/ic_administration_programme.svg\",\n \"theme\": {\n \"iconBgColor\": \"#FFFFFF\",\n \"pillBgColor\": \"#FFFFFF\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"query\": \"limited attempt course\",\n \"filter\": {\n \"offset\": 0,\n \"filters\": {\n \"audience\": [],\n \"objectType\": [\n \"Content\"\n ]\n }\n }\n }\n },\n \"expiry\": \"1841807258\"\n },\n {\n \"code\": \"banner_search\",\n \"type\": \"secondary\",\n \"ui\": {\n \"text\": \"Quiz\",\n \"icon\": \"assets/images/ic_quiz.svg\",\n \"theme\": {\n \"iconBgColor\": \"#FFFFFF\",\n \"pillBgColor\": \"#FFFFFF\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"query\": \"limited attempt course\",\n \"filter\": {\n \"offset\": 0,\n \"filters\": {\n \"audience\": [],\n \"objectType\": [\n \"Content\"\n ]\n }\n }\n }\n },\n \"expiry\": \"1841807258\"\n }\n ]\n }\n }\n ]\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{host}}/api/data/v1/form/create", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "data", + "v1", + "form", + "create" + ] + }, + "description": "\"\"\n\nSuppose user selects State(Tamilnadu), Board as English and Grade as Class 1, then for this segment, the banners are shown. Similarly for particular set of values, particular notifications are shown. So using this form we can target specific users and show the banners and notifications." + }, + "response": [] + }, + { + "name": "Form-33 - config | supportedurlregex | get | * ", + "request": { + "method": "POST", + "header": [ + { + "key": "Authorization", + "value": "Bearer {{apikey}}" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"type\": \"config\",\n \"subType\": \"supportedurlregex\",\n \"action\": \"get\",\n \"component\": \"*\",\n \"framework\": \"*\",\n \"rootOrgId\": \"*\",\n \"data\": {\n \"templateName\": \"supportedUrlRegex\",\n \"action\": \"get\",\n \"fields\": [\n {\n \"code\": \"dialcode\",\n \"values\": \"(\\/dial\\/(?[a-zA-Z0-9]+)|(\\/QR\\/\\\\?id=(?[a-zA-Z0-9]+)))\",\n \"name\": \"Dialcode parser\"\n },\n {\n \"code\": \"identifier\",\n \"values\": \"(?:\\/(?:resources\\/play\\/content|play\\/quiz)\\/(?\\\\w+))|(?:\\/play\\/(?:content|collection)\\/(?\\\\w+))|(?:\\/(?:explore-course|learn)\\/course\\/(?\\\\w+))\",\n \"name\": \"Identifier parser\"\n }\n ]\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{host}}/api/data/v1/form/create", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "data", + "v1", + "form", + "create" + ] + }, + "description": "The \"Dialcode parser\" is particularly useful for applications that deal with alphanumeric codes, such as voucher codes or product codes. By customizing the regular expression in the \"values\" field, developers can easily extract the codes from URLs and use them to perform specific actions within their application. \nSimilarly, the \"Identifier parser\" is a versatile tool that can be used to extract information about courses, quizzes, or other types of content from URLs. By customizing the regular expression in the \"values\" field, developers can easily extract the relevant information from URLs and use it to provide a better user experience within their application. \nOverall, the form config provided in the code block gives developers the flexibility to create custom URL parsers that suit their specific needs. By leveraging the power of regular expressions, developers can make their web applications more efficient, user-friendly, and easy to use." + }, + "response": [] + }, + { + "name": "Form-34 - config | boardalias | get | app ", + "request": { + "method": "POST", + "header": [ + { + "key": "Authorization", + "value": "Bearer {{apikey}}" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"type\": \"config\",\n \"subType\": \"boardalias\",\n \"action\": \"get\",\n \"component\": \"app\",\n \"framework\": \"*\",\n \"rootOrgId\": \"*\",\n \"data\": {\n \"templateName\": \"boardAlias\",\n \"action\": \"get\",\n \"fields\": [\n {\n \"code\": \"ekstep_ncert_k-12\",\n \"name\": \"CBSE\",\n \"alias\": \"CBSE/NCERT\"\n }\n ]\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{host}}/api/data/v1/form/create", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "data", + "v1", + "form", + "create" + ] + }, + "description": "The form configuration is used to fetch data related to a board using a specified template name and action. The \"templateName\" property specifies the name of the template used to fetch data, and \"action\" property specifies the type of action performed on the data. \nUsing this form configuration, the UI can be updated to display the aliased name \"CBSE/NCERT\" instead of the original name \"CBSE\". The form configuration may be used to fetch other data related to the board as well, but the description only specifies one field." + }, + "response": [] + }, + { + "name": "Form-35 - user | externalidverification | onboarding | * ", + "request": { + "method": "POST", + "header": [ + { + "key": "Authorization", + "value": "Bearer {{apikey}}" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"type\": \"user\",\n \"subType\": \"externalidverification\",\n \"action\": \"onboarding\",\n \"component\": \"*\",\n \"framework\": \"*\",\n \"rootOrgId\": \"*\",\n \"data\": {\n \"templateName\": \"defaultTemplate\",\n \"action\": \"onboarding\",\n \"fields\": [\n {\n \"code\": \"externalIdVerificationLabels\",\n \"name\": \"externalIdVerification\",\n \"range\": [\n {\n \"headerLabel\": \"Are you a government school teacher ?\",\n \"fieldLabel\": \"Enter your teacher ID for verification\",\n \"popupHeaderLabel\": \"User Verification\",\n \"verificationSuccessfulLabel\": \"Teacher profile verified successfully\",\n \"incorrectIDLabel\": \"The ID entered is incorrect. Enter the ID again\",\n \"verficationFailureLabel\": \"Could not verify teacher profile as the ID entered is incorrect\"\n }\n ]\n }\n ]\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{host}}/api/data/v1/form/create", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "data", + "v1", + "form", + "create" + ] + }, + "description": "The form configuration provides a set of labels for the external ID verification process, specifically for verifying teacher profiles. The range field includes header, field, and popup labels for the verification process, including successful and unsuccessful verification labels. This simplifies the process for users and ensures that all the necessary information is available for verifying teacher profiles." + }, + "response": [] + }, + { + "name": "Form-36 - dynamicform | consentdeclaration_v3 | submit | app ", + "request": { + "method": "POST", + "header": [ + { + "key": "Authorization", + "value": "Bearer {{apikey}}" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"type\": \"dynamicform\",\n \"subType\": \"consentdeclaration_v3\",\n \"action\": \"submit\",\n \"component\": \"app\",\n \"framework\": \"*\",\n \"rootOrgId\": \"*\",\n \"data\": {\n \"templateName\": \"consentdeclaration_v3\",\n \"action\": \"submit\",\n \"fields\": [\n {\n \"code\": \"name\",\n \"type\": \"text\",\n \"templateOptions\": {\n \"placeHolder\": \"{\\\"en\\\":\\\"User name :\\\"}\",\n \"dataSrc\": {\n \"marker\": \"SERVER_PROFILE\",\n \"params\": {\n \"categoryCode\": \"firstName\"\n }\n }\n }\n },\n {\n \"code\": \"state\",\n \"type\": \"text\",\n \"templateOptions\": {\n \"placeHolder\": \"{\\\"en\\\":\\\"State:\\\"}\",\n \"dataSrc\": {\n \"marker\": \"SERVER_PROFILE_LOCATIONS\",\n \"params\": {\n \"categoryCode\": \"name\"\n }\n }\n }\n },\n {\n \"code\": \"userId\",\n \"type\": \"text\",\n \"templateOptions\": {\n \"placeHolder\": \"{\\\"en\\\":\\\"UserId:\\\"}\",\n \"dataSrc\": {\n \"marker\": \"SERVER_PROFILE\",\n \"params\": {\n \"categoryCode\": \"id\"\n }\n }\n }\n },\n {\n \"code\": \"district\",\n \"type\": \"text\",\n \"templateOptions\": {\n \"placeHolder\": \"{\\\"en\\\":\\\"District:\\\"}\",\n \"dataSrc\": {\n \"marker\": \"SERVER_PROFILE_LOCATIONS\",\n \"params\": {\n \"categoryCode\": \"name\"\n }\n }\n }\n },\n {\n \"code\": \"block\",\n \"type\": \"text\",\n \"templateOptions\": {\n \"placeHolder\": \"{\\\"en\\\":\\\"Block:\\\"}\",\n \"dataSrc\": {\n \"marker\": \"SERVER_PROFILE_LOCATIONS\",\n \"params\": {\n \"categoryCode\": \"name\"\n }\n }\n }\n },\n {\n \"code\": \"schoolId\",\n \"type\": \"text\",\n \"templateOptions\": {\n \"placeHolder\": \"{\\\"en\\\":\\\"School ID:\\\"}\",\n \"dataSrc\": {\n \"marker\": \"SERVER_PROFILE_LOCATIONS\",\n \"params\": {\n \"categoryCode\": \"code\"\n }\n }\n }\n },\n {\n \"code\": \"school\",\n \"type\": \"text\",\n \"templateOptions\": {\n \"placeHolder\": \"{\\\"en\\\":\\\"School name:\\\"}\",\n \"dataSrc\": {\n \"marker\": \"SERVER_PROFILE_LOCATIONS\",\n \"params\": {\n \"categoryCode\": \"name\"\n }\n }\n }\n },\n {\n \"code\": \"phoneNumber\",\n \"type\": \"text\",\n \"templateOptions\": {\n \"placeHolder\": \"{\\\"en\\\":\\\"Mobile No:\\\"}\",\n \"dataSrc\": {\n \"marker\": \"SERVER_PROFILE\",\n \"params\": {\n \"categoryCode\": \"phone\"\n }\n }\n }\n },\n {\n \"code\": \"emailId\",\n \"type\": \"text\",\n \"templateOptions\": {\n \"placeHolder\": \"{\\\"en\\\":\\\"Email ID:\\\"}\",\n \"dataSrc\": {\n \"marker\": \"SERVER_PROFILE\",\n \"params\": {\n \"categoryCode\": \"email\"\n }\n }\n }\n },\n {\n \"code\": \"externalIds\",\n \"type\": \"text\",\n \"templateOptions\": {\n \"placeHolder\": \"{\\\"en\\\":\\\"External ID:\\\"}\",\n \"dataSrc\": {\n \"marker\": \"SERVER_PROFILE\",\n \"params\": {\n \"categoryCode\": \"externalIds\"\n }\n }\n }\n }\n ]\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{host}}/api/data/v1/form/create", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "data", + "v1", + "form", + "create" + ] + }, + "description": "\"\"\n\nThe form configuration provided describes a field for capturing the user's name. The field is of type \"text\" and has a placeholder that displays \"User name :\" in English. The placeholder is defined using a JSON object with the \"en\" key, which specifies the language code. \nThe \"dataSrc\" property of the field refers to a data source that provides the value for the field. In this case, the data source is a marker called \"SERVER_PROFILE\", which may be used to fetch data related to the user's profile from the server. The \"params\" property specifies additional parameters to be passed to the server, such as the category code for the user's first name. \nThis form configuration can be used to generate a form with a single field for capturing the user's name, and the data for this field can be fetched from the server using the specified data source. However, the description does not mention any other fields such as state or userId, so it is unclear whether these fields are part of the same form or not." + }, + "response": [] + }, + { + "name": "Form-37 - group | supported_activities | list | * ", + "request": { + "method": "POST", + "header": [ + { + "key": "Authorization", + "value": "Bearer {{apikey}}" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"type\": \"group\",\n \"subType\": \"supported_activities\",\n \"action\": \"list\",\n \"component\": \"*\",\n \"framework\": \"*\",\n \"rootOrgId\": \"*\",\n \"data\": {\n \"templateName\": \"supported_activities\",\n \"action\": \"list\",\n \"fields\": [\n {\n \"index\": 0,\n \"activityType\": \"Explanation Content\",\n \"objectType\": \"Content\",\n \"isEnabled\": true,\n \"sortBy\": [\n {\n \"name\": \"asc\"\n }\n ],\n \"searchQuery\": \"{\\\"request\\\":{\\\"filters\\\":{\\\"primaryCategory\\\":[\\\"Explanation Content\\\"],\\\"status\\\":[\\\"Live\\\"],\\\"objectType\\\":[\\\"Content\\\"]},\\\"fields\\\":[\\\"name\\\",\\\"appIcon\\\",\\\"contentType\\\",\\\"identifier\\\",\\\"objectType\\\",\\\"createdBy\\\"]}}\",\n \"title\": \"Explanation Content\",\n \"translations\": \"{\\\"en\\\": \\\"Explanation Content\\\", \\\"as\\\": \\\"ব্যাখ্যা কৰা বিষয়বস্তু\\\", \\\"bn\\\": \\\"বিষয়বস্তুর ব্যাখ্যা\\\", \\\"gu\\\":\\\"એક્સપ્લેનેશન કન્ટેન્ટ\\\", \\\"hi\\\":\\\"स्पष्टीकरण सामग्री\\\", \\\"kn\\\":\\\"ವಿವರಣಾತ್ಮಕ ಪಠ್ಯಾಂಶ\\\", \\\"mr\\\":\\\"स्पष्टीकरण सामग्री\\\", \\\"or\\\":\\\"ବିସ୍ତାରିତ କଣ୍ଟେଣ୍ଟ୍\\\", \\\"pa\\\":\\\"ਵਿਆਖਿਆ ਕੰਟੇਂਟ\\\", \\\"ta\\\":\\\"விளக்க உள்ளடக்கம்\\\", \\\"te\\\":\\\"అర్థము కంటెంట్\\\", \\\"ur\\\":\\\"وضاحت کا مواد\\\"}\"\n },\n {\n \"index\": 1,\n \"activityType\": \"Learning Resource\",\n \"objectType\": \"Content\",\n \"isEnabled\": true,\n \"sortBy\": [\n {\n \"name\": \"asc\"\n }\n ],\n \"searchQuery\": \"{\\\"request\\\":{\\\"filters\\\":{\\\"primaryCategory\\\":[\\\"Learning Resource\\\"],\\\"status\\\":[\\\"Live\\\"],\\\"objectType\\\":[\\\"Content\\\"]},\\\"fields\\\":[\\\"name\\\",\\\"appIcon\\\",\\\"contentType\\\",\\\"identifier\\\",\\\"objectType\\\",\\\"createdBy\\\"]}}\",\n \"title\": \"Learning Resource\",\n \"translations\": \"{\\\"en\\\": \\\"Learning module\\\", \\\"as\\\": \\\"শিক্ষণৰ ম'ডিউল\\\", \\\"bn\\\": \\\"প্রশিক্ষণ মডিউল\\\", \\\"gu\\\":\\\"શીખવાનું મોડ્યુલ\\\", \\\"hi\\\":\\\"अध्ययन मॉड्यूल\\\", \\\"kn\\\":\\\"ಕಲಿಕಾ ಮಾಡ್ಯೂಲ್\\\", \\\"mr\\\":\\\"अभ्यास विभाग\\\", \\\"or\\\":\\\"ଶିକ୍ଷଣ ମଡ୍ୟୁଲ\\\", \\\"pa\\\":\\\"ਸਿਖਲਾਈ ਮੋਡੀਊਲ\\\", \\\"ta\\\":\\\"கற்றல் மாடுயூல்\\\", \\\"te\\\":\\\"మాడ్యూల్ నేర్చుకోవడం\\\", \\\"ur\\\":\\\"سیکھنے کا ماڈیول\\\"}\"\n },\n {\n \"index\": 2,\n \"activityType\": \"Course\",\n \"objectType\": \"Content\",\n \"isEnabled\": true,\n \"sortBy\": [\n {\n \"name\": \"asc\"\n }\n ],\n \"searchQuery\": \"{\\\"request\\\":{\\\"filters\\\":{\\\"primaryCategory\\\":[\\\"Course\\\"],\\\"batches.status\\\":1,\\\"batches.enrollmentType\\\":\\\"open\\\",\\\"objectType\\\":[\\\"Content\\\"],\\\"status\\\":[\\\"Live\\\"]},\\\"fields\\\":[\\\"name\\\",\\\"appIcon\\\",\\\"contentType\\\",\\\"identifier\\\",\\\"objectType\\\",\\\"createdBy\\\"]}}\",\n \"title\": \"Course\",\n \"translations\": \"{\\\"en\\\": \\\"Course\\\", \\\"as\\\": \\\"পাঠ্যক্ৰমসমুহ\\\", \\\"bn\\\": \\\"পাঠ্যধারাগুলি\\\", \\\"gu\\\":\\\"કોર્સ\\\", \\\"hi\\\":\\\"कोर्स\\\", \\\"kn\\\":\\\"ಕೋರ್ಸ್ ಗಳು\\\", \\\"mr\\\":\\\"कोर्सेस\\\", \\\"or\\\":\\\"ପାଠ୍ୟକ୍ରମଗୁଡ଼ିକ\\\", \\\"pa\\\":\\\"ਕੋਰਸਿਸ\\\", \\\"ta\\\":\\\"பாடநெறிகள்\\\", \\\"te\\\":\\\"కోర్సులు\\\", \\\"ur\\\":\\\"کورسز\\\"}\"\n },\n {\n \"index\": 3,\n \"activityType\": \"Practice Question Set\",\n \"objectType\": \"Content\",\n \"isEnabled\": true,\n \"sortBy\": [\n {\n \"name\": \"asc\"\n }\n ],\n \"searchQuery\": \"{\\\"request\\\":{\\\"filters\\\":{\\\"primaryCategory\\\":[\\\"Practice Question Set\\\"],\\\"status\\\":[\\\"Live\\\"],\\\"objectType\\\":[\\\"Content\\\"]},\\\"fields\\\":[\\\"name\\\",\\\"appIcon\\\",\\\"contentType\\\",\\\"identifier\\\",\\\"objectType\\\",\\\"createdBy\\\"]}}\",\n \"title\": \"Practice Question Set\",\n \"translations\": \"{\\\"en\\\": \\\"Practice question set\\\", \\\"as\\\": \\\"অনুশীলনৰ প্ৰশ্নৰ সমষ্টি\\\", \\\"bn\\\": \\\"অনুশীলনের প্রশ্ন সেট\\\", \\\"gu\\\":\\\"પ્રેક્ટિસ પ્રશ્ન સેટ\\\", \\\"hi\\\":\\\"अभ्यास प्रश्न संग्रह\\\", \\\"kn\\\":\\\"ಅಭ್ಯಾಸ ಪ್ರಶ್ನಾವಳಿ\\\", \\\"mr\\\":\\\"सराव प्रश्नसंच\\\", \\\"or\\\":\\\"ଅଭ୍ୟାସ ପ୍ରଶ୍ନପତ୍ର ସେଟ୍\\\", \\\"pa\\\":\\\"ਅਭਿਆਸ ਪ੍ਰਸ਼ਨ ਸੈੱਟ\\\", \\\"ta\\\":\\\"பயிற்சி கேள்வி தொகுப்பு\\\", \\\"te\\\":\\\"ప్రాక్టీస్ ప్రశ్న సెట్\\\", \\\"ur\\\":\\\"مشق سوال سیٹ\\\"}\"\n },\n {\n \"index\": 4,\n \"activityType\": \"eTextBook\",\n \"objectType\": \"Content\",\n \"isEnabled\": true,\n \"sortBy\": [\n {\n \"name\": \"asc\"\n }\n ],\n \"searchQuery\": \"{\\\"request\\\":{\\\"filters\\\":{\\\"primaryCategory\\\":[\\\"eTextBook\\\"],\\\"status\\\":[\\\"Live\\\"],\\\"objectType\\\":[\\\"Content\\\"]},\\\"fields\\\":[\\\"name\\\",\\\"appIcon\\\",\\\"contentType\\\",\\\"identifier\\\",\\\"objectType\\\",\\\"createdBy\\\"]}}\",\n \"title\": \"eTextBook\",\n \"translations\": \"{\\\"en\\\": \\\"PDF TextBook\\\", \\\"as\\\": \\\"PDF পাঠ্যপুথি\\\", \\\"bn\\\": \\\"পাঠ্যপুস্তকের পিডিএফ\\\", \\\"gu\\\":\\\"PDF ટેક્સ્ટબુક\\\", \\\"hi\\\":\\\"PDF पाठ्यपुस्तकें\\\", \\\"kn\\\":\\\"ಪಿಡಿಎಫ್ ಪಠ್ಯಪುಸ್ತಕ\\\", \\\"mr\\\":\\\"PDF पाठ्यपुस्तक\\\", \\\"or\\\":\\\"PDF ପାଠ୍ୟପୁସ୍ତକ\\\", \\\"pa\\\":\\\"PDF ਪਾਠ ਪੁਸਤਕ\\\", \\\"ta\\\":\\\"பி.டீ.எப் பாடபுத்தங்கள்\\\", \\\"te\\\":\\\"PDF పాఠ్య పుస్తకం\\\", \\\"ur\\\":\\\"پی ڈی ایف درسی کتاب\\\"}\"\n },\n {\n \"index\": 5,\n \"activityType\": \"Teacher Resource\",\n \"objectType\": \"Content\",\n \"isEnabled\": true,\n \"sortBy\": [\n {\n \"name\": \"asc\"\n }\n ],\n \"searchQuery\": \"{\\\"request\\\":{\\\"filters\\\":{\\\"primaryCategory\\\":[\\\"Teacher Resource\\\"],\\\"status\\\":[\\\"Live\\\"],\\\"objectType\\\":[\\\"Content\\\"]},\\\"fields\\\":[\\\"name\\\",\\\"appIcon\\\",\\\"contentType\\\",\\\"identifier\\\",\\\"objectType\\\",\\\"createdBy\\\"]}}\",\n \"title\": \"Teacher Resource\",\n \"translations\": \"{\\\"en\\\": \\\"Teaching Resource\\\", \\\"as\\\": \\\"শিক্ষাদানৰ সমলসমূহ\\\", \\\"bn\\\": \\\"শিক্ষার সংস্থান\\\", \\\"gu\\\":\\\"શિક્ષણ સંસાધનો\\\", \\\"hi\\\":\\\"शिक्षण संसाधन\\\", \\\"kn\\\":\\\"ಬೋಧನಾ ಸಂಪನ್ಮೂಲಗಳು\\\", \\\"mr\\\":\\\"शिक्षण संसाधने\\\", \\\"or\\\":\\\"ଶିକ୍ଷଣ ସଂସାଧନ\\\", \\\"pa\\\":\\\"ਅਧਿਆਪਨ ਦੇ ਸਰੋਤ\\\", \\\"ta\\\":\\\"கற்பித்தல் பொருள்\\\", \\\"te\\\":\\\"బోధనా వనరులు\\\", \\\"ur\\\":\\\" تدریسی وسائل \\\"}\"\n },\n {\n \"index\": 6,\n \"activityType\": \"Digital Textbook\",\n \"objectType\": \"Content\",\n \"isEnabled\": true,\n \"sortBy\": [\n {\n \"name\": \"asc\"\n }\n ],\n \"searchQuery\": \"{\\\"request\\\":{\\\"filters\\\":{\\\"primaryCategory\\\":[\\\"Digital Textbook\\\"],\\\"status\\\":[\\\"Live\\\"],\\\"objectType\\\":[\\\"Content\\\"]},\\\"fields\\\":[\\\"name\\\",\\\"appIcon\\\",\\\"contentType\\\",\\\"identifier\\\",\\\"objectType\\\",\\\"createdBy\\\"]}}\",\n \"title\": \"Digital Textbook\",\n \"translations\": \"{\\\"en\\\": \\\"Digital textbooks\\\", \\\"as\\\": \\\"ডিজিটেল পাঠ্যপুথিসমূহ\\\", \\\"bn\\\": \\\"ডিজিটাল পাঠ্যবই\\\", \\\"gu\\\":\\\"ડિજિટલ પાઠયપુસ્તકો\\\", \\\"hi\\\":\\\"डिजिटल पाठ्यपुस्तकें\\\", \\\"kn\\\":\\\"ಡಿಜಿಟಲ್ ಪಠ್ಯಪುಸ್ತಕಗಳು\\\", \\\"mr\\\":\\\"डिजिटल पाठ्यपुस्तके\\\", \\\"or\\\":\\\"ଡିଜିଟାଲ୍ ପାଠ୍ୟପୁସ୍ତକ\\\", \\\"pa\\\":\\\"ਡਿਜੀਟਲ ਪਾਠ ਪੁਸਤਕਾਂ\\\", \\\"ta\\\":\\\"டிஜிட்டல் பாடப்புத்தகங்கள்\\\", \\\"te\\\":\\\"పాఠ్యపుస్తకాలు\\\", \\\"ur\\\":\\\" ڈیجیٹل درسی کتابیں \\\"}\"\n },\n {\n \"index\": 7,\n \"activityType\": \"Content Playlist\",\n \"objectType\": \"Content\",\n \"isEnabled\": true,\n \"sortBy\": [\n {\n \"name\": \"asc\"\n }\n ],\n \"searchQuery\": \"{\\\"request\\\":{\\\"filters\\\":{\\\"primaryCategory\\\":[\\\"Content Playlist\\\"],\\\"status\\\":[\\\"Live\\\"],\\\"objectType\\\":[\\\"Content\\\"]},\\\"fields\\\":[\\\"name\\\",\\\"appIcon\\\",\\\"contentType\\\",\\\"identifier\\\",\\\"objectType\\\",\\\"createdBy\\\"]}}\",\n \"title\": \"Content Playlist\",\n \"translations\": \"{\\\"en\\\": \\\"Content Playlist\\\", \\\"as\\\": \\\"বিষয়বস্তুৰ প্লে'লিষ্ট\\\", \\\"bn\\\": \\\"কন্টেন্ট প্লেলিস্ট\\\", \\\"gu\\\":\\\"કન્ટેન્ટ જોવાનું લિસ્ટ\\\", \\\"hi\\\":\\\"कंटेन्ट प्लेलिस्ट\\\", \\\"kn\\\":\\\" ಪಠ್ಯಾಂಶ ಪ್ಲೇಲಿಸ್ಟ್\\\", \\\"mr\\\":\\\"सामग्री प्लेलिस्ट \\\", \\\"or\\\":\\\" କଣ୍ଟେଣ୍ଟ ପ୍ଲେଲିଷ୍ଟ\\\", \\\"pa\\\":\\\"ਕੰਟੇੇਂਟ ਪਲੇਲਿਸਟ\\\", \\\"ta\\\":\\\"உள்ளடக்க பிளேலிஸ்ட்\\\", \\\"te\\\":\\\"కంటెంట్ ప్లేజాబితా\\\", \\\"ur\\\":\\\" مواد پلے لسٹ \\\"}\"\n },\n {\n \"index\": 8,\n \"activityType\": \"TV Lesson\",\n \"objectType\": \"Content\",\n \"isEnabled\": true,\n \"sortBy\": [\n {\n \"name\": \"asc\"\n }\n ],\n \"searchQuery\": \"{\\\"request\\\":{\\\"filters\\\":{\\\"primaryCategory\\\":[\\\"Explanation Content\\\"],\\\"additionalCategories\\\":[\\\"TV Lesson\\\"],\\\"status\\\":[\\\"Live\\\"],\\\"objectType\\\":[\\\"Content\\\"]},\\\"fields\\\":[\\\"name\\\",\\\"appIcon\\\",\\\"contentType\\\",\\\"identifier\\\",\\\"objectType\\\",\\\"createdBy\\\"]}}\",\n \"title\": \"TV Lesson\",\n \"translations\": \"{\\\"en\\\": \\\"TV Class\\\", \\\"as\\\": \\\"টিভি শ্ৰেণীসমূহ\\\", \\\"bn\\\": \\\"টিভিতে সম্প্রচারিত শিক্ষাদানের অনুষ্ঠানগুলি\\\", \\\"gu\\\":\\\"TV વર્ગો\\\", \\\"hi\\\":\\\"टीवी कक्षाएँ\\\", \\\"kn\\\":\\\"ಟಿವಿ ತರಗತಿಗಳು\\\", \\\"mr\\\":\\\"टीव्ही वर्ग \\\", \\\"or\\\":\\\"TV କ୍ଲାସଗୁଡ଼ିକ\\\", \\\"pa\\\":\\\"ਟੀਵੀ ਕਲਾਸਾਂ\\\", \\\"ta\\\":\\\"தொலைக்காட்சி வகுப்புகள்\\\", \\\"te\\\":\\\"టీవీ క్లాసులు\\\", \\\"ur\\\":\\\" ٹی وی کلاسز\\\"}\"\n },\n {\n \"index\": 9,\n \"activityType\": \"Previous Board Exam Papers\",\n \"objectType\": \"Content\",\n \"isEnabled\": true,\n \"sortBy\": [\n {\n \"name\": \"asc\"\n }\n ],\n \"searchQuery\": \"{\\\"request\\\":{\\\"filters\\\":{\\\"primaryCategory\\\":[\\\"Learning Resource\\\"],\\\"additionalCategories\\\":[\\\"Previous Board Exam Papers\\\"],\\\"status\\\":[\\\"Live\\\"],\\\"objectType\\\":[\\\"Content\\\"]},\\\"fields\\\":[\\\"name\\\",\\\"appIcon\\\",\\\"contentType\\\",\\\"identifier\\\",\\\"objectType\\\",\\\"createdBy\\\"]}}\",\n \"title\": \"Previous Board Exam Papers\",\n \"translations\": \"{\\\"en\\\": \\\"Earlier Year's Board Exam Papers\\\", \\\"as\\\": \\\"আগৰ বছৰৰ ব'ৰ্ডৰ পৰীক্ষাৰ প্ৰশ্নসমূহ\\\", \\\"bn\\\": \\\"আগের বছরের বোর্ড পরীক্ষার প্রশ্নপত্র\\\", \\\"gu\\\":\\\"ગત બોર્ડ પરીક્ષાના પેપર્સ\\\", \\\"hi\\\":\\\"पिछले वर्षों की बोर्ड परीक्षा पेपर\\\", \\\"kn\\\":\\\"ಹಿಂದಿನ ವರ್ಷಗಳ ಮಂಡಳಿ ಪರೀಕ್ಷೆ ಪ್ರಶ್ನೆಪತ್ರಿಕೆಗಳು\\\", \\\"mr\\\":\\\"मागील वर्षाचे बोर्ड परीक्षेचे पेपर \\\", \\\"or\\\":\\\"ପୂର୍ବ ବର୍ଷର ବୋର୍ଡ ପରୀକ୍ଷା ପ୍ରଶ୍ନପତ୍ର\\\", \\\"pa\\\":\\\"ਸ਼ੁਰੂਆਤੀ ਸਾਲ ਬੋਰਡ ਪ੍ਰੀਖਿਆ ਪੇਪਰ\\\", \\\"ta\\\":\\\"முந்தைய ஆண்டுகளில் போர்டு தேர்வுத் தாள்கள்\\\", \\\"te\\\":\\\"అంతకుముందు సంవత్సరం బోర్డు పరీక్షా పత్రాలు\\\", \\\"ur\\\":\\\"ابتدائی سالوں کے بورڈ کے امتحانی پرچے\\\"}\"\n }\n ]\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{host}}/api/data/v1/form/create", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "data", + "v1", + "form", + "create" + ] + }, + "description": "The form configuration provided is used to enable users to browse content by specific categories such as courses, digital textbooks, and explanation content. The form contains several properties to define the behavior and display of the content. \nThe \"index\" property specifies the position of the form in a list of forms, and the \"activityType\" and \"objectType\" properties specify the types of activities and objects that can be displayed in the form. \nThe \"isEnabled\" property indicates whether the form is currently enabled or disabled, and the \"sortBy\" property specifies the sorting order for the content. In this case, there is only one sorting option defined with the name \"asc\", which likely stands for ascending. \nThe \"searchQuery\" property specifies a JSON object that contains the search criteria used to filter the content. The search criteria include primary category, batch status, enrollment type, object type, and status. The \"fields\" property specifies the specific fields to be included in the search results, such as name, app icon, content type, identifier, object type, and createdBy. \nThe \"title\" property specifies the title of the form, which in this case is \"Course\". The \"translations\" property contains a JSON object that specifies translations of the form title in multiple languages, such as English, Assamese, Bengali, Gujarati, Hindi, Kannada, Marathi, Oriya, Punjabi, Tamil, Telugu, and Urdu.\n\n\"\"\n\nUsing this form configuration, users can browse content by the specified categories and search criteria, with the form displaying the relevant content in the desired sorting order." + }, + "response": [] + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/postman-collection/ED-release700/Easy-Installer-7.0-portal.postman_collection.json b/postman-collection/ED-release700/Easy-Installer-7.0-portal.postman_collection.json new file mode 100644 index 0000000..5aa4e88 --- /dev/null +++ b/postman-collection/ED-release700/Easy-Installer-7.0-portal.postman_collection.json @@ -0,0 +1,1306 @@ +{ + "info": { + "_postman_id": "6bcfc6f6-cc1c-4ea2-b072-13da772e0d97", + "name": "Easy-Installer-7.0-portal", + "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", + "_exporter_id": "4214340", + "_collection_link": "https://knowlg-sunbird.postman.co/workspace/Sunbrid-ED~33366c22-8008-4247-9728-2b2df868bfef/collection/4214340-6bcfc6f6-cc1c-4ea2-b072-13da772e0d97?action=share&source=collection_link&creator=4214340" + }, + "item": [ + { + "name": "Consumption", + "item": [ + { + "name": "Portal", + "item": [ + { + "name": "Form-1 - program-dashboard | csv-dataset | reportdata | *", + "request": { + "method": "POST", + "url": "{{host}}/api/data/v1/form/create", + "header": [ + { + "key": "Authorization", + "value": "Bearer {{apikey}}", + "description": "" + }, + { + "key": "Content-Type", + "value": "application/json", + "description": "" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"type\": \"program-dashboard\",\n \"subType\": \"csv-dataset\",\n \"action\": \"reportdata\",\n \"component\": \"*\",\n \"framework\": \"*\",\n \"data\": {\n \"templateName\": \"program-dataset\",\n \"action\": \"create\",\n \"fields\": {\n \"improvementProject\": [\n {\n \"name\": \"Task Report\",\n \"encrypt\": true,\n \"dataset\": \"druid-dataset\",\n \"datasetId\": \"ml-task-detail-exhaust\",\n \"roles\": [\n \"PROGRAM_MANAGER\"\n ],\n \"filters\": [\n {\n \"type\": \"equals\",\n \"dimension\": \"private_program\",\n \"value\": \"false\"\n },\n {\n \"type\": \"equals\",\n \"dimension\": \"status_of_project\",\n \"value\": \"submitted\"\n },\n {\n \"type\": \"equals\",\n \"dimension\": \"sub_task_deleted_flag\",\n \"value\": \"false\"\n },\n {\n \"type\": \"equals\",\n \"dimension\": \"task_deleted_flag\",\n \"value\": \"false\"\n },\n {\n \"type\": \"equals\",\n \"dimension\": \"project_deleted_flag\",\n \"value\": \"false\"\n },\n {\n \"type\": \"equals\",\n \"dimension\": \"program_id\",\n \"value\": \"$programId\"\n },\n {\n \"type\": \"equals\",\n \"dimension\": \"solution_id\",\n \"value\": \"$solutionId\"\n },\n {\n \"type\": \"equals\",\n \"dimension\": \"district_externalId\",\n \"value\": \"$district_externalId\"\n },\n {\n \"type\": \"equals\",\n \"dimension\": \"organisation_id\",\n \"value\": \"$organisation_id\"\n }\n ]\n },\n {\n \"name\": \"Status Report\",\n \"encrypt\": false,\n \"dataset\": \"druid-dataset\",\n \"datasetId\": \"ml-project-status-exhaust\",\n \"roles\": [\n \"PROGRAM_MANAGER\",\n \"PROGRAM_DESIGNER\"\n ],\n \"configurableFilters\": true,\n \"filters\": [\n {\n \"type\": \"in\",\n \"dimension\": \"status_of_project\",\n \"values\": \"$status_of_project\"\n },\n {\n \"type\": \"equals\",\n \"dimension\": \"private_program\",\n \"value\": \"false\"\n },\n {\n \"type\": \"equals\",\n \"dimension\": \"sub_task_deleted_flag\",\n \"value\": \"false\"\n },\n {\n \"type\": \"equals\",\n \"dimension\": \"task_deleted_flag\",\n \"value\": \"false\"\n },\n {\n \"type\": \"equals\",\n \"dimension\": \"project_deleted_flag\",\n \"value\": \"false\"\n },\n {\n \"type\": \"equals\",\n \"dimension\": \"program_id\",\n \"value\": \"$programId\"\n },\n {\n \"type\": \"equals\",\n \"dimension\": \"solution_id\",\n \"value\": \"$solutionId\"\n },\n {\n \"type\": \"equals\",\n \"dimension\": \"district_externalId\",\n \"value\": \"$district_externalId\"\n },\n {\n \"type\": \"equals\",\n \"dimension\": \"organisation_id\",\n \"value\": \"$organisation_id\"\n }\n ],\n \"uiFilters\": [\n {\n \"label\": \"Status\",\n \"controlType\": \"multi-select\",\n \"reference\": \"status_of_project\",\n \"placeholder\": \"Select status\",\n \"options\": [\n \"started\",\n \"submitted\",\n \"inProgress\"\n ]\n }\n ]\n },\n {\n \"name\": \"Filtered task detail report\",\n \"encrypt\": true,\n \"dataset\": \"druid-dataset\",\n \"datasetId\": \"ml-filtered-task-detail-exhaust\",\n \"roles\": [\n \"PROGRAM_MANAGER\"\n ],\n \"configurableFilters\": true,\n \"filters\": [\n {\n \"type\": \"equals\",\n \"dimension\": \"status_of_project\",\n \"value\": \"submitted\"\n },\n {\n \"type\": \"equals\",\n \"dimension\": \"private_program\",\n \"value\": \"false\"\n },\n {\n \"type\": \"equals\",\n \"dimension\": \"sub_task_deleted_flag\",\n \"value\": \"false\"\n },\n {\n \"type\": \"equals\",\n \"dimension\": \"task_deleted_flag\",\n \"value\": \"false\"\n },\n {\n \"type\": \"equals\",\n \"dimension\": \"project_deleted_flag\",\n \"value\": \"false\"\n },\n {\n \"type\": \"equals\",\n \"dimension\": \"program_id\",\n \"value\": \"$programId\"\n },\n {\n \"type\": \"equals\",\n \"dimension\": \"solution_id\",\n \"value\": \"$solutionId\"\n },\n {\n \"type\": \"equals\",\n \"dimension\": \"district_externalId\",\n \"value\": \"$district_externalId\"\n },\n {\n \"type\": \"equals\",\n \"dimension\": \"organisation_id\",\n \"value\": \"$organisation_id\"\n },\n {\n \"type\": \"greaterthan\",\n \"dimension\": \"task_count\",\n \"value\": \"$task_count\"\n },\n {\n \"type\": \"greaterthan\",\n \"dimension\": \"task_evidence_count\",\n \"value\": \"$task_evidence_count\"\n },\n {\n \"type\": \"greaterthan\",\n \"dimension\": \"project_evidence_count\",\n \"value\": \"$project_evidence_count\"\n }\n ],\n \"uiFilters\": [\n {\n \"label\": \"Minimum no. of tasks in the project\",\n \"controlType\": \"number\",\n \"reference\": \"task_count\",\n \"defaultValue\": 5\n },\n {\n \"label\": \"Minimum no. of task evidence\",\n \"controlType\": \"number\",\n \"reference\": \"task_evidence_count\",\n \"defaultValue\": 2\n },\n {\n \"label\": \"Minimum no. of project evidence\",\n \"controlType\": \"number\",\n \"reference\": \"project_evidence_count\",\n \"defaultValue\": 1\n }\n ]\n }\n ],\n \"observation\": [\n {\n \"name\": \"Question Report\",\n \"encrypt\": true,\n \"dataset\": \"druid-dataset\",\n \"datasetId\": \"ml-obs-question-detail-exhaust\",\n \"roles\": [\n \"PROGRAM_MANAGER\"\n ],\n \"filters\": [\n {\n \"type\": \"equals\",\n \"dimension\": \"isAPrivateProgram\",\n \"value\": \"false\"\n },\n {\n \"type\": \"equals\",\n \"dimension\": \"programId\",\n \"value\": \"$programId\"\n },\n {\n \"type\": \"equals\",\n \"dimension\": \"solutionId\",\n \"value\": \"$solutionId\"\n },\n {\n \"type\": \"equals\",\n \"dimension\": \"district_externalId\",\n \"value\": \"$district_externalId\"\n },\n {\n \"type\": \"equals\",\n \"dimension\": \"organisation_id\",\n \"value\": \"$organisation_id\"\n },\n {\n \"type\": \"notequals\",\n \"dimension\": \"isSubmissionDeleted\",\n \"value\": \"true\"\n }\n ]\n },\n {\n \"name\": \"Status Report\",\n \"encrypt\": false,\n \"dataset\": \"druid-dataset\",\n \"datasetId\": \"ml-obs-status-detail-exhaust\",\n \"roles\": [\n \"PROGRAM_MANAGER\",\n \"PROGRAM_DESIGNER\"\n ],\n \"configurableFilters\": true,\n \"filters\": [\n {\n \"type\": \"in\",\n \"dimension\": \"status\",\n \"values\": \"$status\"\n },\n {\n \"type\": \"equals\",\n \"dimension\": \"private_program\",\n \"value\": \"false\"\n },\n {\n \"type\": \"equals\",\n \"dimension\": \"program_id\",\n \"value\": \"$programId\"\n },\n {\n \"type\": \"equals\",\n \"dimension\": \"solution_id\",\n \"value\": \"$solutionId\"\n },\n {\n \"type\": \"equals\",\n \"dimension\": \"district_externalId\",\n \"value\": \"$district_externalId\"\n },\n {\n \"type\": \"equals\",\n \"dimension\": \"organisation_id\",\n \"value\": \"$organisation_id\"\n }\n ],\n \"uiFilters\": [\n {\n \"label\": \"Status\",\n \"controlType\": \"multi-select\",\n \"reference\": \"status\",\n \"placeholder\": \"Select status\",\n \"options\": [\n \"started\",\n \"completed\"\n ]\n }\n ]\n }\n ],\n \"observation_with_rubric\": [\n {\n \"name\": \"Question Report\",\n \"encrypt\": true,\n \"dataset\": \"druid-dataset\",\n \"datasetId\": \"ml-observation-with-rubric-question-detail-exhaust\",\n \"roles\": [\n \"PROGRAM_MANAGER\"\n ],\n \"filters\": [\n {\n \"type\": \"equals\",\n \"dimension\": \"isAPrivateProgram\",\n \"value\": \"false\"\n },\n {\n \"type\": \"equals\",\n \"dimension\": \"programId\",\n \"value\": \"$programId\"\n },\n {\n \"type\": \"equals\",\n \"dimension\": \"solutionId\",\n \"value\": \"$solutionId\"\n },\n {\n \"type\": \"equals\",\n \"dimension\": \"district_externalId\",\n \"value\": \"$district_externalId\"\n },\n {\n \"type\": \"equals\",\n \"dimension\": \"organisation_id\",\n \"value\": \"$organisation_id\"\n },\n {\n \"type\": \"notequals\",\n \"dimension\": \"isSubmissionDeleted\",\n \"value\": \"true\"\n }\n ]\n },\n {\n \"name\": \"Status Report\",\n \"encrypt\": false,\n \"dataset\": \"druid-dataset\",\n \"datasetId\": \"ml-observation-with-rubric-status-detail-exhaust\",\n \"roles\": [\n \"PROGRAM_MANAGER\",\n \"PROGRAM_DESIGNER\"\n ],\n \"configurableFilters\": true,\n \"filters\": [\n {\n \"type\": \"in\",\n \"dimension\": \"status\",\n \"values\": \"$status\"\n },\n {\n \"type\": \"equals\",\n \"dimension\": \"private_program\",\n \"value\": \"false\"\n },\n {\n \"type\": \"equals\",\n \"dimension\": \"program_id\",\n \"value\": \"$programId\"\n },\n {\n \"type\": \"equals\",\n \"dimension\": \"solution_id\",\n \"value\": \"$solutionId\"\n },\n {\n \"type\": \"equals\",\n \"dimension\": \"district_externalId\",\n \"value\": \"$district_externalId\"\n },\n {\n \"type\": \"equals\",\n \"dimension\": \"organisation_id\",\n \"value\": \"$organisation_id\"\n }\n ],\n \"uiFilters\": [\n {\n \"label\": \"Status\",\n \"controlType\": \"multi-select\",\n \"reference\": \"status\",\n \"placeholder\": \"Select status\",\n \"options\": [\n \"started\",\n \"completed\",\n \"inprogress\"\n ]\n }\n ]\n },\n {\n \"name\": \"Domain Criteria Report\",\n \"encrypt\": false,\n \"dataset\": \"druid-dataset\",\n \"datasetId\": \"ml-observation-with-rubric-domain-criteria-detail-exhaust\",\n \"roles\": [\n \"PROGRAM_MANAGER\"\n ],\n \"filters\": [\n {\n \"type\": \"equals\",\n \"dimension\": \"isAPrivateProgram\",\n \"value\": \"false\"\n },\n {\n \"type\": \"equals\",\n \"dimension\": \"programId\",\n \"value\": \"$programId\"\n },\n {\n \"type\": \"equals\",\n \"dimension\": \"solutionId\",\n \"value\": \"$solutionId\"\n },\n {\n \"type\": \"equals\",\n \"dimension\": \"district_externalId\",\n \"value\": \"$district_externalId\"\n },\n {\n \"type\": \"equals\",\n \"dimension\": \"organisation_id\",\n \"value\": \"$organisation_id\"\n },\n {\n \"type\": \"notequals\",\n \"dimension\": \"isSubmissionDeleted\",\n \"value\": \"true\"\n }\n ]\n }\n ],\n \"observation_with_rubric_no_criteria_level_report\": [\n {\n \"name\": \"Question Report\",\n \"encrypt\": true,\n \"dataset\": \"druid-dataset\",\n \"datasetId\": \"ml-observation-with-rubric-question-detail-exhaust\",\n \"roles\": [\n \"PROGRAM_MANAGER\"\n ],\n \"filters\": [\n {\n \"type\": \"equals\",\n \"dimension\": \"isAPrivateProgram\",\n \"value\": \"false\"\n },\n {\n \"type\": \"equals\",\n \"dimension\": \"programId\",\n \"value\": \"$programId\"\n },\n {\n \"type\": \"equals\",\n \"dimension\": \"solutionId\",\n \"value\": \"$solutionId\"\n },\n {\n \"type\": \"equals\",\n \"dimension\": \"district_externalId\",\n \"value\": \"$district_externalId\"\n },\n {\n \"type\": \"equals\",\n \"dimension\": \"organisation_id\",\n \"value\": \"$organisation_id\"\n },\n {\n \"type\": \"notequals\",\n \"dimension\": \"isSubmissionDeleted\",\n \"value\": \"true\"\n }\n ]\n },\n {\n \"name\": \"Status Report\",\n \"encrypt\": false,\n \"dataset\": \"druid-dataset\",\n \"datasetId\": \"ml-observation-with-rubric-status-detail-exhaust\",\n \"roles\": [\n \"PROGRAM_MANAGER\",\n \"PROGRAM_DESIGNER\"\n ],\n \"configurableFilters\": true,\n \"filters\": [\n {\n \"type\": \"in\",\n \"dimension\": \"status\",\n \"values\": \"$status\"\n },\n {\n \"type\": \"equals\",\n \"dimension\": \"private_program\",\n \"value\": \"false\"\n },\n {\n \"type\": \"equals\",\n \"dimension\": \"program_id\",\n \"value\": \"$programId\"\n },\n {\n \"type\": \"equals\",\n \"dimension\": \"solution_id\",\n \"value\": \"$solutionId\"\n },\n {\n \"type\": \"equals\",\n \"dimension\": \"district_externalId\",\n \"value\": \"$district_externalId\"\n },\n {\n \"type\": \"equals\",\n \"dimension\": \"organisation_id\",\n \"value\": \"$organisation_id\"\n }\n ],\n \"uiFilters\": [\n {\n \"label\": \"Status\",\n \"controlType\": \"multi-select\",\n \"reference\": \"status\",\n \"placeholder\": \"Select status\",\n \"options\": [\n \"started\",\n \"completed\",\n \"inprogress\"\n ]\n }\n ]\n }\n ],\n \"survey\": [\n {\n \"name\": \"Question Report\",\n \"encrypt\": true,\n \"dataset\": \"druid-dataset\",\n \"datasetId\": \"ml-survey-question-detail-exhaust\",\n \"roles\": [\n \"PROGRAM_MANAGER\"\n ],\n \"filters\": [\n {\n \"type\": \"equals\",\n \"dimension\": \"isAPrivateProgram\",\n \"value\": \"false\"\n },\n {\n \"type\": \"equals\",\n \"dimension\": \"programId\",\n \"value\": \"$programId\"\n },\n {\n \"type\": \"equals\",\n \"dimension\": \"solutionId\",\n \"value\": \"$solutionId\"\n },\n {\n \"type\": \"equals\",\n \"dimension\": \"district_externalId\",\n \"value\": \"$district_externalId\"\n },\n {\n \"type\": \"equals\",\n \"dimension\": \"organisation_id\",\n \"value\": \"$organisation_id\"\n },\n {\n \"type\": \"notequals\",\n \"dimension\": \"isSubmissionDeleted\",\n \"value\": \"true\"\n }\n ]\n },\n {\n \"name\": \"Status Report\",\n \"encrypt\": false,\n \"dataset\": \"druid-dataset\",\n \"datasetId\": \"ml-survey-status-detail-exhaust\",\n \"roles\": [\n \"PROGRAM_MANAGER\",\n \"PROGRAM_DESIGNER\"\n ],\n \"configurableFilters\": true,\n \"filters\": [\n {\n \"type\": \"in\",\n \"dimension\": \"submission_status\",\n \"values\": \"$submission_status\"\n },\n {\n \"type\": \"equals\",\n \"dimension\": \"private_program\",\n \"value\": \"false\"\n },\n {\n \"type\": \"equals\",\n \"dimension\": \"program_id\",\n \"value\": \"$program_id\"\n },\n {\n \"type\": \"equals\",\n \"dimension\": \"solution_id\",\n \"value\": \"$solution_id\"\n },\n {\n \"type\": \"equals\",\n \"dimension\": \"district_externalId\",\n \"value\": \"$district_externalId\"\n },\n {\n \"type\": \"equals\",\n \"dimension\": \"organisation_id\",\n \"value\": \"$organisation_id\"\n }\n ],\n \"uiFilters\": [\n {\n \"label\": \"Status\",\n \"controlType\": \"multi-select\",\n \"reference\": \"submission_status\",\n \"placeholder\": \"Select status\",\n \"options\": [\n \"started\",\n \"completed\"\n ]\n }\n ]\n }\n ],\n \"user_detail_report\": [\n {\n \"name\": \"User Detail Report\",\n \"encrypt\": true,\n \"dataset\": \"program-user-exhaust\",\n \"datasetId\": \"ml-program-user-exhaust\",\n \"roles\": [\n \"PROGRAM_MANAGER\"\n ],\n \"queryType\": \"cassandra\",\n \"filters\": [\n {\n \"table_name\": \"program_enrollment\",\n \"table_filters\": [\n {\n \"name\": \"program_id\",\n \"operator\": \"=\",\n \"value\": \"602512d8e6aefa27d9629bc3\"\n },\n {\n \"name\": \"user_locations['district_id']\",\n \"operator\": \"=\",\n \"value\": \"ed9e0963-0707-443a-99c4-5994fcac7a5f\"\n },\n {\n \"name\": \"organisation_id\",\n \"operator\": \"=\",\n \"value\": \"0126796199493140480\"\n },\n {\n \"name\": \"updated_at\",\n \"operator\": \">=\",\n \"value\": \"startDate\"\n },\n {\n \"name\": \"updated_at\",\n \"operator\": \"<=\",\n \"value\": \"endDate\"\n }\n ]\n },\n {\n \"table_name\": \"user_consent\",\n \"table_filters\": [\n {\n \"name\": \"object_id\",\n \"operator\": \"=\",\n \"value\": \"602512d8e6aefa27d9629bc3\"\n }\n ]\n }\n ]\n }\n ]\n }\n },\n \"rootOrgId\": \"*\"\n }\n}" + }, + "description": "https://documenter.getpostman.com/view/25186239/2sA2rAxMg6#2d6ab72f-6ef0-495e-a9ca-c327c213309d" + }, + "response": [] + }, + { + "name": "Form-2 - content | courses | filter | *", + "request": { + "method": "POST", + "url": "{{host}}/api/data/v1/form/create", + "header": [ + { + "key": "Authorization", + "value": "Bearer {{apikey}}", + "description": "" + }, + { + "key": "Content-Type", + "value": "application/json", + "description": "" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"type\": \"content\",\n \"subType\": \"courses\",\n \"action\": \"filter\",\n \"component\": \"*\",\n \"framework\": \"*\",\n \"data\": {\n \"templateName\": \"defaultTemplate\",\n \"action\": \"filter\",\n \"fields\": [\n {\n \"code\": \"topic\",\n \"dataType\": \"text\",\n \"name\": \"Topics\",\n \"label\": \"Topics\",\n \"description\": \"Topics covered in the courses\",\n \"editable\": true,\n \"inputType\": \"topic-picker\",\n \"required\": false,\n \"displayProperty\": \"Editable\",\n \"visible\": true,\n \"renderingHints\": {\n \"semanticColumnWidth\": \"four\"\n },\n \"index\": 1\n },\n {\n \"code\": \"purpose\",\n \"dataType\": \"text\",\n \"name\": \"Purpose\",\n \"label\": \"Purpose\",\n \"description\": \"Purpose of the course\",\n \"editable\": true,\n \"inputType\": \"multi-select\",\n \"required\": false,\n \"displayProperty\": \"Editable\",\n \"visible\": true,\n \"renderingHints\": {\n \"semanticColumnWidth\": \"four\"\n },\n \"index\": 2\n },\n {\n \"code\": \"medium\",\n \"dataType\": \"text\",\n \"name\": \"Medium\",\n \"label\": \"Medium\",\n \"description\": \"Medium of Instruction\",\n \"editable\": true,\n \"inputType\": \"multi-select\",\n \"required\": false,\n \"displayProperty\": \"Editable\",\n \"visible\": true,\n \"renderingHints\": {\n \"semanticColumnWidth\": \"four\"\n },\n \"index\": 3\n },\n {\n \"code\": \"gradeLevel\",\n \"dataType\": \"text\",\n \"name\": \"Class\",\n \"label\": \"Class\",\n \"description\": \"Classes taught\",\n \"editable\": true,\n \"inputType\": \"multi-select\",\n \"required\": false,\n \"displayProperty\": \"Editable\",\n \"visible\": true,\n \"renderingHints\": {\n \"semanticColumnWidth\": \"four\"\n },\n \"index\": 4\n },\n {\n \"code\": \"subject\",\n \"dataType\": \"text\",\n \"name\": \"Subject\",\n \"label\": \"Subject\",\n \"description\": \"Subject of the Content to use to teach\",\n \"editable\": true,\n \"inputType\": \"multi-select\",\n \"required\": false,\n \"displayProperty\": \"Editable\",\n \"visible\": true,\n \"renderingHints\": {\n \"semanticColumnWidth\": \"four\"\n },\n \"index\": 5\n },\n {\n \"code\": \"channel\",\n \"dataType\": \"text\",\n \"name\": \"Organization\",\n \"label\": \"Organization\",\n \"description\": \"Organization of courses\",\n \"editable\": true,\n \"inputType\": \"multi-select\",\n \"required\": false,\n \"displayProperty\": \"Editable\",\n \"visible\": true,\n \"renderingHints\": {\n \"semanticColumnWidth\": \"four\"\n },\n \"index\": 6\n }\n ]\n },\n \"rootOrgId\": \"*\"\n }\n}" + }, + "description": "Generated from Node.js script" + }, + "response": [] + }, + { + "name": "Form-3 - content | assessment | create | *", + "request": { + "method": "POST", + "url": "{{host}}/api/data/v1/form/create", + "header": [ + { + "key": "Authorization", + "value": "Bearer {{apikey}}", + "description": "" + }, + { + "key": "Content-Type", + "value": "application/json", + "description": "" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"type\": \"content\",\n \"subType\": \"assessment\",\n \"action\": \"create\",\n \"component\": \"*\",\n \"framework\": \"*\",\n \"data\": {\n \"templateName\": \"defaultTemplate\",\n \"action\": \"create\",\n \"fields\": [\n {\n \"code\": \"name\",\n \"visible\": true,\n \"editable\": true,\n \"displayProperty\": \"Editable\",\n \"dataType\": \"text\",\n \"renderingHints\": {\n \"semanticColumnWidth\": \"twelve\"\n },\n \"description\": \"Name\",\n \"index\": 1,\n \"label\": \"Name\",\n \"required\": false,\n \"name\": \"Name\",\n \"inputType\": \"text\",\n \"placeholder\": \"Name\"\n },\n {\n \"code\": \"maxAttempts\",\n \"dataType\": \"text\",\n \"name\": \"Max no of attempts\",\n \"label\": \"Max no of attempts\",\n \"description\": \"Max no of attempts\",\n \"editable\": true,\n \"placeholder\": \"Max no of attempts\",\n \"inputType\": \"number\",\n \"required\": false,\n \"displayProperty\": \"Editable\",\n \"visible\": true,\n \"renderingHints\": {\n \"semanticColumnWidth\": \"six\"\n },\n \"index\": 6\n }\n ]\n },\n \"rootOrgId\": \"*\"\n }\n}" + }, + "description": "Generated from Node.js script" + }, + "response": [] + }, + { + "name": "Form-4 - contentcategory | global | menubar | *", + "request": { + "method": "POST", + "header": [ + { + "key": "Authorization", + "value": "Bearer {{apikey}}" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"type\": \"contentcategory\",\n \"subType\": \"global\",\n \"action\": \"menubar\",\n \"component\": \"*\",\n \"framework\": \"*\",\n \"data\": {\n \"action\": \"list\",\n \"fields\": [\n {\n \"index\": 2,\n \"search\": {\n \"fields\": [\n \"name\",\n \"appIcon\",\n \"mimeType\",\n \"gradeLevel\",\n \"identifier\",\n \"medium\",\n \"pkgVersion\",\n \"board\",\n \"subject\",\n \"resourceType\",\n \"primaryCategory\",\n \"contentType\",\n \"channel\",\n \"organisation\",\n \"trackable\"\n ],\n \"facets\": [\n \"board\",\n \"gradeLevel\",\n \"subject\",\n \"medium\",\n \"primaryCategory\",\n \"mimeType\",\n \"publisher\",\n \"audience\"\n ],\n \"filters\": {\n \"mimeType\": [\n {\n \"values\": [\n \"application/vnd.ekstep.ecml-archive\",\n \"application/vnd.sunbird.questionset\",\n \"application/vnd.ekstep.html-archive\",\n \"application/vnd.android.package-archive\",\n \"application/vnd.ekstep.content-archive\",\n \"application/vnd.ekstep.content-collection\",\n \"application/vnd.ekstep.plugin-archive\",\n \"application/vnd.ekstep.h5p-archive\",\n \"application/epub\",\n \"text/x-url\",\n \"video/x-youtube\",\n \"application/octet-stream\",\n \"application/msword\",\n \"application/pdf\",\n \"image/jpeg\",\n \"image/jpg\",\n \"image/png\",\n \"image/tiff\",\n \"image/bmp\",\n \"image/gif\",\n \"image/svg+xml\",\n \"video/avi\",\n \"video/mpeg\",\n \"video/quicktime\",\n \"video/3gpp\",\n \"video/mpeg\",\n \"video/mp4\",\n \"video/ogg\",\n \"video/webm\",\n \"audio/mp3\",\n \"audio/mp4\",\n \"audio/mpeg\",\n \"audio/ogg\",\n \"audio/webm\",\n \"audio/x-wav\",\n \"audio/wav\"\n ],\n \"name\": \"all\"\n },\n {\n \"values\": [\n \"video/avi\",\n \"video/mpeg\",\n \"video/quicktime\",\n \"video/3gpp\",\n \"video/mpeg\",\n \"video/mp4\",\n \"video/ogg\",\n \"video/webm\"\n ],\n \"name\": \"video\"\n },\n {\n \"values\": [\n \"application/pdf\",\n \"application/epub\",\n \"application/msword\"\n ],\n \"name\": \"documents\"\n },\n {\n \"values\": [\n \"application/vnd.ekstep.ecml-archive\",\n \"application/vnd.ekstep.h5p-archive\",\n \"application/vnd.ekstep.html-archive\"\n ],\n \"name\": \"interactive\"\n },\n {\n \"values\": [\n \"audio/mp3\",\n \"audio/mp4\",\n \"audio/mpeg\",\n \"audio/ogg\",\n \"audio/webm\",\n \"audio/x-wav\",\n \"audio/wav\"\n ],\n \"name\": \"audio\"\n }\n ],\n \"primaryCategory\": [\n \"Digital Textbook\",\n \"eTextbook\"\n ]\n }\n },\n \"contentType\": \"mydownloads\",\n \"title\": \"frmelmnts.lbl.desktop.mylibrary\",\n \"isLoginMandatory\": false,\n \"isEnabled\": true,\n \"anonumousUserRoute\": {\n \"route\": \"/mydownloads\",\n \"queryParam\": \"mydownloads\"\n },\n \"loggedInUserRoute\": {\n \"route\": \"/mydownloads\",\n \"queryParam\": \"mydownloads\"\n },\n \"theme\": {\n \"className\": \"myDownloads\",\n \"baseColor\": \"\",\n \"textColor\": \"\",\n \"supportingColor\": \"\",\n \"imageName\": \"textbooks-banner-img.svg\"\n },\n \"isOnlineOnly\": false,\n \"menuType\": \"Content\",\n \"desc\": \"frmelmnts.lbl.desktop.mylibrary\"\n },\n {\n \"index\": 6,\n \"search\": {\n \"fields\": [\n \"name\",\n \"appIcon\",\n \"mimeType\",\n \"gradeLevel\",\n \"identifier\",\n \"medium\",\n \"pkgVersion\",\n \"board\",\n \"subject\",\n \"resourceType\",\n \"contentType\",\n \"channel\",\n \"organisation\",\n \"trackable\",\n \"se_boards\",\n \"se_subjects\",\n \"se_mediums\",\n \"se_gradeLevels\",\n \"creator\"\n ],\n \"facets\": [\n \"se_subjects\",\n \"creator\",\n \"organisation\"\n ],\n \"filters\": {\n \"status\": [\n \"Live\"\n ],\n \"contentType\": [\n \"Course\"\n ],\n \"primaryCategory\": [\n \"Course\",\n \"Course Assessment\"\n ]\n }\n },\n \"contentType\": \"course\",\n \"title\": \"frmelmnts.tab.courses\",\n \"isLoginMandatory\": false,\n \"isEnabled\": true,\n \"anonumousUserRoute\": {\n \"route\": \"/explore\",\n \"queryParam\": \"course\"\n },\n \"loggedInUserRoute\": {\n \"route\": \"/resources\",\n \"queryParam\": \"course\"\n },\n \"theme\": {\n \"className\": \"courses\",\n \"baseColor\": \"\",\n \"textColor\": \"\",\n \"supportingColor\": \"\",\n \"imageName\": \"courses-banner-img.svg\"\n },\n \"batchEndCounter\": 4,\n \"desc\": \"frmelmnts.tab.courses\",\n \"isOnlineOnly\": true,\n \"menuType\": \"Content\",\n \"metaData\": {\n \"defaultFilters\": {\n \"medium\": [],\n \"board\": [\n \"CBSE\"\n ],\n \"gradeLevel\": [\n \"Class 10\"\n ]\n },\n \"cacheTimeout\": 86400000,\n \"groupByKey\": \"subject\",\n \"filters\": [\n \"board\",\n \"gradeLevel\",\n \"subject\",\n \"medium\",\n \"publisher\",\n \"audience\",\n \"channel\",\n \"se_subjects\",\n \"creator\",\n \"organisation\"\n ],\n \"searchFilterConfig\": [\n {\n \"category\": \"board\",\n \"type\": \"dropdown\",\n \"labelText\": \"frmelmnts.lbl.board\",\n \"defaultLabelText\": \"board\",\n \"placeholderText\": \"frmelmnts.lbl.selectBoard\",\n \"defaultPlaceholderText\": \"select board\",\n \"dataSource\": \"framework\",\n \"multiple\": false\n },\n {\n \"category\": \"medium\",\n \"type\": \"dropdown\",\n \"labelText\": \"frmelmnts.lbl.medium\",\n \"defaultLabelText\": \"medium\",\n \"placeholderText\": \"frmelmnts.lbl.selectMedium\",\n \"defaultPlaceholderText\": \"select medium\",\n \"dataSource\": \"framework\",\n \"multiple\": true\n },\n {\n \"category\": \"gradeLevel\",\n \"type\": \"dropdown\",\n \"labelText\": \"frmelmnts.lbl.class\",\n \"defaultLabelText\": \"grade\",\n \"placeholderText\": \"frmelmnts.lbl.selectClass\",\n \"defaultPlaceholderText\": \"select grade\",\n \"dataSource\": \"framework\",\n \"multiple\": true\n },\n {\n \"category\": \"subject\",\n \"type\": \"dropdown\",\n \"labelText\": \"frmelmnts.lbl.subject\",\n \"defaultLabelText\": \"subjects\",\n \"placeholderText\": \"frmelmnts.lbl.selectSubject\",\n \"dataSource\": \"framework\",\n \"defaultPlaceholderText\": \"select subjects\",\n \"multiple\": true\n },\n {\n \"category\": \"audience\",\n \"type\": \"dropdown\",\n \"labelText\": \"frmelmnts.lbl.publishedUserType\",\n \"defaultLabelText\": \"audience\",\n \"placeholderText\": \"Select User Type\",\n \"dataSource\": \"framework\",\n \"defaultPlaceholderText\": \"Select User Type\",\n \"multiple\": true\n },\n {\n \"category\": \"creator\",\n \"type\": \"dropdown\",\n \"labelText\": \"Creator\",\n \"defaultLabelText\": \"creator\",\n \"placeholderText\": \"Select Creator\",\n \"dataSource\": \"facet\",\n \"defaultPlaceholderText\": \"Select creator\",\n \"multiple\": true\n },\n {\n \"category\": \"organisation\",\n \"type\": \"dropdown\",\n \"labelText\": \"Organisation\",\n \"defaultLabelText\": \"Orgsssss\",\n \"placeholderText\": \"Select Organisation\",\n \"dataSource\": \"facet\",\n \"defaultPlaceholderText\": \"Select Orgssssss\",\n \"multiple\": true\n }\n ]\n }\n },\n {\n \"index\": 3,\n \"search\": {\n \"fields\": [\n \"audience\",\n \"name\",\n \"appIcon\",\n \"mimeType\",\n \"gradeLevel\",\n \"identifier\",\n \"medium\",\n \"pkgVersion\",\n \"board\",\n \"subject\",\n \"resourceType\",\n \"primaryCategory\",\n \"contentType\",\n \"channel\",\n \"organisation\",\n \"trackable\",\n \"se_boards\",\n \"se_subjects\",\n \"se_mediums\",\n \"se_gradeLevels\",\n \"creator\"\n ],\n \"facets\": [\n \"audience\",\n \"se_subjects\",\n \"organisation\",\n \"creator\"\n ],\n \"filters\": {\n \"primaryCategory\": [\n \"Digital Textbook\",\n \"eTextbook\"\n ]\n }\n },\n \"contentType\": \"textbook\",\n \"title\": \"frmelmnts.lbl.textbooks\",\n \"isLoginMandatory\": false,\n \"isEnabled\": true,\n \"anonumousUserRoute\": {\n \"route\": \"/explore\",\n \"queryParam\": \"textbook\"\n },\n \"loggedInUserRoute\": {\n \"route\": \"/resources\",\n \"queryParam\": \"textbook\"\n },\n \"theme\": {\n \"className\": \"textbooks\",\n \"baseColor\": \"\",\n \"textColor\": \"\",\n \"supportingColor\": \"\",\n \"imageName\": \"textbooks-banner-img.svg\"\n },\n \"desc\": \"frmelmnts.lbl.textbooks\",\n \"isOnlineOnly\": true,\n \"menuType\": \"Content\",\n \"metaData\": {\n \"defaultFilters\": {\n \"medium\": [],\n \"board\": [],\n \"gradeLevel\": []\n },\n \"cacheTimeout\": 86400000,\n \"groupByKey\": \"subject\",\n \"filters\": [\n \"board\",\n \"gradeLevel\",\n \"subject\",\n \"medium\",\n \"publisher\",\n \"audience\",\n \"channel\",\n \"se_subjects\",\n \"creator\",\n \"organisation\"\n ],\n \"searchFilterConfig\": [\n {\n \"category\": \"board\",\n \"type\": \"dropdown\",\n \"labelText\": \"frmelmnts.lbl.board\",\n \"defaultLabelText\": \"board\",\n \"placeholderText\": \"frmelmnts.lbl.selectBoard\",\n \"defaultPlaceholderText\": \"select board\",\n \"dataSource\": \"framework\",\n \"multiple\": false\n },\n {\n \"category\": \"medium\",\n \"type\": \"dropdown\",\n \"labelText\": \"frmelmnts.lbl.medium\",\n \"defaultLabelText\": \"medium\",\n \"placeholderText\": \"frmelmnts.lbl.selectMedium\",\n \"defaultPlaceholderText\": \"select medium\",\n \"dataSource\": \"framework\",\n \"multiple\": true\n },\n {\n \"category\": \"gradeLevel\",\n \"type\": \"dropdown\",\n \"labelText\": \"frmelmnts.lbl.class\",\n \"defaultLabelText\": \"grade\",\n \"placeholderText\": \"frmelmnts.lbl.selectClass\",\n \"defaultPlaceholderText\": \"select grade\",\n \"dataSource\": \"framework\",\n \"multiple\": true\n },\n {\n \"category\": \"subject\",\n \"type\": \"dropdown\",\n \"labelText\": \"frmelmnts.lbl.subject\",\n \"defaultLabelText\": \"subject\",\n \"placeholderText\": \"frmelmnts.lbl.selectSubject\",\n \"dataSource\": \"framework\",\n \"defaultPlaceholderText\": \"select subject\",\n \"multiple\": true\n },\n {\n \"category\": \"audience\",\n \"type\": \"dropdown\",\n \"labelText\": \"frmelmnts.lbl.publishedUserType\",\n \"defaultLabelText\": \"audience\",\n \"placeholderText\": \"Select User Type\",\n \"dataSource\": \"framework\",\n \"defaultPlaceholderText\": \"Select User Type\",\n \"multiple\": true\n },\n {\n \"category\": \"creator\",\n \"type\": \"dropdown\",\n \"labelText\": \"Creator\",\n \"defaultLabelText\": \"creator\",\n \"placeholderText\": \"Select Creator\",\n \"dataSource\": \"facet\",\n \"defaultPlaceholderText\": \"Select creator\",\n \"multiple\": true\n }\n ]\n }\n },\n {\n \"index\": 7,\n \"search\": {\n \"fields\": [\n \"name\",\n \"appIcon\",\n \"mimeType\",\n \"gradeLevel\",\n \"identifier\",\n \"medium\",\n \"pkgVersion\",\n \"board\",\n \"subject\",\n \"resourceType\",\n \"primaryCategory\",\n \"contentType\",\n \"channel\",\n \"organisation\",\n \"trackable\",\n \"se_boards\",\n \"se_subjects\",\n \"se_mediums\",\n \"se_gradeLevels\"\n ],\n \"facets\": [\n \"se_subject\"\n ],\n \"filters\": {\n \"primaryCategory\": [\n \"Explanation Content\"\n ],\n \"additionalCategories\": [\n \"TV Lesson\"\n ]\n }\n },\n \"contentType\": \"tvProgram\",\n \"title\": \"frmelmnts.lbl.tvProgram\",\n \"isLoginMandatory\": false,\n \"isEnabled\": true,\n \"anonumousUserRoute\": {\n \"route\": \"/explore\",\n \"queryParam\": \"tvProgram\"\n },\n \"loggedInUserRoute\": {\n \"route\": \"/resources\",\n \"queryParam\": \"tvProgram\"\n },\n \"theme\": {\n \"className\": \"tv\",\n \"baseColor\": \"\",\n \"textColor\": \"\",\n \"supportingColor\": \"\",\n \"imageName\": \"tv-banner-img.svg\"\n },\n \"desc\": \"frmelmnts.lbl.tvProgram\",\n \"isOnlineOnly\": true,\n \"menuType\": \"Content\",\n \"metaData\": {\n \"defaultFilters\": {\n \"medium\": [],\n \"board\": [\n \"CBSE\"\n ],\n \"gradeLevel\": [\n \"Class 10\"\n ]\n },\n \"cacheTimeout\": 86400000,\n \"groupByKey\": \"subject\",\n \"filters\": [\n \"board\",\n \"gradeLevel\",\n \"subject\",\n \"medium\",\n \"publisher\",\n \"audience\",\n \"channel\",\n \"se_subjects\"\n ],\n \"searchFilterConfig\": [\n {\n \"category\": \"board\",\n \"type\": \"dropdown\",\n \"labelText\": \"frmelmnts.lbl.board\",\n \"defaultLabelText\": \"board\",\n \"placeholderText\": \"frmelmnts.lbl.selectBoard\",\n \"defaultPlaceholderText\": \"select board\",\n \"dataSource\": \"framework\",\n \"multiple\": false\n },\n {\n \"category\": \"medium\",\n \"type\": \"dropdown\",\n \"labelText\": \"frmelmnts.lbl.medium\",\n \"defaultLabelText\": \"medium\",\n \"placeholderText\": \"frmelmnts.lbl.selectMedium\",\n \"defaultPlaceholderText\": \"select medium\",\n \"dataSource\": \"framework\",\n \"multiple\": true\n },\n {\n \"category\": \"gradeLevel\",\n \"type\": \"dropdown\",\n \"labelText\": \"frmelmnts.lbl.class\",\n \"defaultLabelText\": \"grade\",\n \"placeholderText\": \"frmelmnts.lbl.selectClass\",\n \"defaultPlaceholderText\": \"select grade\",\n \"dataSource\": \"framework\",\n \"multiple\": true\n },\n {\n \"category\": \"subject\",\n \"type\": \"dropdown\",\n \"labelText\": \"frmelmnts.lbl.subject\",\n \"defaultLabelText\": \"subject\",\n \"placeholderText\": \"frmelmnts.lbl.selectSubject\",\n \"dataSource\": \"framework\",\n \"defaultPlaceholderText\": \"select subject\",\n \"multiple\": true\n }\n ]\n }\n },\n {\n \"index\": 10,\n \"search\": {\n \"fields\": [\n \"name\",\n \"appIcon\",\n \"mimeType\",\n \"gradeLevel\",\n \"identifier\",\n \"medium\",\n \"pkgVersion\",\n \"board\",\n \"subject\",\n \"resourceType\",\n \"primaryCategory\",\n \"contentType\",\n \"channel\",\n \"organisation\",\n \"trackable\"\n ],\n \"facets\": [\n \"se_boards\",\n \"se_gradeLevels\",\n \"se_subjects\",\n \"se_mediums\",\n \"primaryCategory\"\n ],\n \"filters\": {\n \"primaryCategory\": [\n \"Collection\",\n \"Resource\",\n \"Content Playlist\",\n \"Course\",\n \"Course Assessment\",\n \"Digital Textbook\",\n \"eTextbook\",\n \"Explanation Content\",\n \"Learning Resource\",\n \"Lesson Plan Unit\",\n \"Practice Question Set\",\n \"Teacher Resource\",\n \"Textbook Unit\",\n \"LessonPlan\",\n \"FocusSpot\",\n \"Learning Outcome Definition\",\n \"Curiosity Questions\",\n \"MarkingSchemeRubric\",\n \"ExplanationResource\",\n \"ExperientialResource\",\n \"Practice Resource\",\n \"TVLesson\",\n \"Course Unit\",\n \"Exam Question\",\n \"Question paper\"\n ],\n \"visibility\": [\n \"Default\",\n \"Parent\"\n ]\n }\n },\n \"contentType\": \"all\",\n \"title\": \"frmelmnts.tab.all\",\n \"isLoginMandatory\": false,\n \"isEnabled\": true,\n \"anonumousUserRoute\": {\n \"route\": \"/explore/1\",\n \"queryParam\": \"all\"\n },\n \"loggedInUserRoute\": {\n \"route\": \"/search/Library/1\",\n \"queryParam\": \"all\"\n },\n \"theme\": {\n \"className\": \"all\",\n \"baseColor\": \"\",\n \"textColor\": \"\",\n \"supportingColor\": \"\",\n \"imageName\": \"all-banner-img.svg\"\n },\n \"desc\": \"frmelmnts.tab.all\",\n \"isOnlineOnly\": true,\n \"menuType\": \"Content\",\n \"metaData\": {\n \"globalFilterConfig\": [\n {\n \"index\": 1,\n \"code\": \"board\",\n \"alternativeCode\": \"se_boards\",\n \"label\": \"board\",\n \"placeHolder\": \"selectBoard\",\n \"type\": \"framework\"\n },\n {\n \"index\": 2,\n \"code\": \"medium\",\n \"alternativeCode\": \"se_mediums\",\n \"label\": \"medium\",\n \"placeHolder\": \"selectMedium\",\n \"type\": \"framework\"\n },\n {\n \"index\": 3,\n \"code\": \"gradeLevel\",\n \"alternativeCode\": \"se_gradeLevels\",\n \"label\": \"grade\",\n \"placeHolder\": \"selectClass\",\n \"type\": \"framework\"\n },\n {\n \"index\": 4,\n \"code\": \"subject\",\n \"alternativeCode\": \"se_subjects\",\n \"label\": \"subject\",\n \"placeHolder\": \"selectSubject\",\n \"type\": \"framework\"\n },\n {\n \"index\": 5,\n \"code\": \"primaryCategory\",\n \"alternativeCode\": \"\",\n \"label\": \"contentType\",\n \"placeHolder\": \"selectContentType\",\n \"type\": \"filter\"\n },\n {\n \"index\": 6,\n \"code\": \"additionalCategories\",\n \"alternativeCode\": \"\",\n \"label\": \"additionalCategories\",\n \"placeHolder\": \"selectAdditionalCategories\",\n \"type\": \"filter\"\n }\n ]\n }\n },\n {\n \"index\": 9,\n \"search\": {\n \"fields\": [\n \"name\",\n \"appIcon\",\n \"mimeType\",\n \"gradeLevel\",\n \"identifier\",\n \"medium\",\n \"pkgVersion\",\n \"board\",\n \"subject\",\n \"resourceType\",\n \"primaryCategory\",\n \"contentType\",\n \"channel\",\n \"organisation\",\n \"trackable\",\n \"se_boards\",\n \"se_subjects\",\n \"se_mediums\",\n \"se_gradeLevels\"\n ],\n \"facets\": [\n \"se_subjects\"\n ],\n \"filters\": {\n \"primaryCategory\": [\n \"Exam Question Set\",\n \"Practice Set\"\n ]\n }\n },\n \"contentType\": \"questionSets\",\n \"title\": \"frmelmnts.lbl.questionSets\",\n \"isLoginMandatory\": false,\n \"isEnabled\": true,\n \"anonumousUserRoute\": {\n \"route\": \"/explore\",\n \"queryParam\": \"questionSets\"\n },\n \"loggedInUserRoute\": {\n \"route\": \"/resources\",\n \"queryParam\": \"questionSets\"\n },\n \"theme\": {\n \"className\": \"questionSet\",\n \"baseColor\": \"\",\n \"textColor\": \"\",\n \"supportingColor\": \"\",\n \"imageName\": \"textbooks-banner-img.svg\"\n },\n \"desc\": \"frmelmnts.lbl.questionSets\",\n \"isOnlineOnly\": true,\n \"menuType\": \"Content\",\n \"metaData\": {\n \"defaultFilters\": {\n \"medium\": [],\n \"board\": [],\n \"gradeLevel\": []\n },\n \"cacheTimeout\": 86400000,\n \"groupByKey\": \"subject\",\n \"filters\": [\n \"board\",\n \"gradeLevel\",\n \"subject\",\n \"medium\",\n \"channel\"\n ],\n \"searchFilterConfig\": [\n {\n \"category\": \"board\",\n \"type\": \"dropdown\",\n \"labelText\": \"frmelmnts.lbl.board\",\n \"defaultLabelText\": \"board\",\n \"placeholderText\": \"frmelmnts.lbl.selectBoard\",\n \"defaultPlaceholderText\": \"select board\",\n \"dataSource\": \"framework\",\n \"multiple\": false\n },\n {\n \"category\": \"medium\",\n \"type\": \"dropdown\",\n \"labelText\": \"frmelmnts.lbl.medium\",\n \"defaultLabelText\": \"medium\",\n \"placeholderText\": \"frmelmnts.lbl.selectMedium\",\n \"defaultPlaceholderText\": \"select medium\",\n \"dataSource\": \"framework\",\n \"multiple\": true\n }\n ]\n }\n },\n {\n \"index\": 8,\n \"contentType\": \"observation\",\n \"anonumousUserRoute\": {\n \"route\": \"/observation\",\n \"queryParam\": \"observation\"\n },\n \"isLoginMandatory\": true,\n \"isEnabled\": true,\n \"title\": \"frmelmnts.lbl.observation\",\n \"loggedInUserRoute\": {\n \"route\": \"/observation\",\n \"queryParam\": \"observation\"\n },\n \"theme\": {\n \"className\": \"tests\",\n \"baseColor\": \"\",\n \"textColor\": \"\",\n \"supportingColor\": \"\",\n \"imageName\": \"observation.svg\"\n },\n \"isOnlineOnly\": true,\n \"menuType\": \"Content\",\n \"desc\": \"frmelmnts.lbl.observation\"\n },\n {\n \"index\": 0,\n \"search\": {\n \"fields\": [\n \"name\",\n \"appIcon\",\n \"medium\",\n \"subject\",\n \"resourceType\",\n \"contentType\",\n \"organisation\",\n \"topic\",\n \"mimeType\",\n \"trackable\",\n \"gradeLevel\",\n \"se_boards\",\n \"se_subjects\",\n \"se_mediums\",\n \"se_gradeLevels\"\n ],\n \"facets\": [\n \"subject\",\n \"primaryCategory\",\n \"medium\",\n \"banner\",\n \"additionalCategories\",\n \"search\",\n \"ContinueLearning\"\n ],\n \"filters\": {\n \"medium\": [],\n \"gradeLevel\": [],\n \"audience\": [],\n \"board\": [],\n \"primaryCategory\": [\n \"Digital Textbook\",\n \"eTextbook\",\n \"Course\"\n ],\n \"channel\": [],\n \"subject\": []\n }\n },\n \"contentType\": \"home\",\n \"title\": \"frmelmnts.lbl.home\",\n \"default\": true,\n \"isEnabled\": true,\n \"anonumousUserRoute\": {\n \"route\": \"/explore\",\n \"queryParam\": \"home\"\n },\n \"loggedInUserRoute\": {\n \"route\": \"/resources\",\n \"queryParam\": \"home\"\n },\n \"filter\": {\n \"isEnabled\": false,\n \"type\": \"facet\"\n },\n \"theme\": {\n \"className\": \"home\",\n \"baseColor\": \"\",\n \"textColor\": \"\",\n \"supportingColor\": \"\",\n \"imageName\": \"courses-banner-img.svg\"\n },\n \"desc\": \"frmelmnts.lbl.home\",\n \"isOnlineOnly\": true,\n \"sections\": [\n {\n \"index\": 4,\n \"apiConfig\": {\n \"url\": \"\",\n \"req\": {\n \"request\": {\n \"fields\": [\n \"name\",\n \"appIcon\",\n \"mimeType\",\n \"gradeLevel\",\n \"identifier\",\n \"medium\",\n \"pkgVersion\",\n \"board\",\n \"subject\",\n \"resourceType\",\n \"contentType\",\n \"channel\",\n \"organisation\",\n \"trackable\",\n \"se_boards\",\n \"se_subjects\",\n \"se_mediums\",\n \"se_gradeLevels\",\n \"lastPublishedOn\"\n ],\n \"facets\": [\n \"se_subjects\"\n ],\n \"limit\": 100,\n \"filters\": {\n \"status\": [\n \"Live\"\n ],\n \"contentType\": [\n \"Course\"\n ],\n \"batches.status\": [\n 1\n ],\n \"se_gradeLevels\": [\n \"Class 1\",\n \"Class 2\",\n \"Class 5\"\n ],\n \"batches.enrollmentType\": \"open\",\n \"se_mediums\": [\n \"English\",\n \"Tamil\"\n ],\n \"se_boards\": [\n \"State (Tamil Nadu)\"\n ],\n \"primaryCategory\": [\n \"Course\"\n ]\n },\n \"sort_by\": {\n \"lastPublishedOn\": \"desc\"\n }\n }\n },\n \"params\": \"\",\n \"sortBy\": \"lastPublishedOn\",\n \"contextKey\": \"res.facet.search\",\n \"method\": \"\"\n },\n \"title\": \"frmelmnts.lbl.recentlyPublishedCourses\",\n \"isEnabled\": true,\n \"facetKey\": \"search\",\n \"desc\": \"Section for Searched contents\"\n },\n {\n \"index\": 0,\n \"facetKey\": \"ContinueLearning\",\n \"title\": \"Continue Learning\",\n \"isEnabled\": true,\n \"desc\": \"Continue Learning\"\n },\n {\n \"index\": 5,\n \"apiConfig\": {\n \"url\": \"\",\n \"req\": {\n \"request\": {\n \"fields\": [\n \"name\",\n \"appIcon\",\n \"mimeType\",\n \"gradeLevel\",\n \"identifier\",\n \"medium\",\n \"pkgVersion\",\n \"board\",\n \"subject\",\n \"resourceType\",\n \"contentType\",\n \"channel\",\n \"organisation\",\n \"trackable\",\n \"se_boards\",\n \"se_subjects\",\n \"se_mediums\",\n \"se_gradeLevels\",\n \"lastPublishedOn\"\n ],\n \"facets\": [\n \"se_subjects\"\n ],\n \"limit\": 100,\n \"filters\": {\n \"status\": [\n \"Live\"\n ],\n \"primaryCategory\": [\n \"Course\",\n \"Digital Textbook\"\n ],\n \"channel\": \"01329314824202649627\"\n },\n \"sort_by\": {\n \"lastPublishedOn\": \"desc\"\n }\n }\n },\n \"params\": \"\",\n \"sortBy\": \"lastPublishedOn\",\n \"contextKey\": \"res.facet.search\",\n \"method\": \"\"\n },\n \"title\": \"frmelmnts.lbl.fromncert\",\n \"isEnabled\": true,\n \"defaultTitle\": \"From NCERT\",\n \"facetKey\": \"search\",\n \"desc\": \"Section for Searched contents\"\n },\n {\n \"index\": 3,\n \"apiConfig\": {\n \"url\": \"\",\n \"params\": \"\",\n \"req\": {\n \"request\": {\n \"fields\": [\n \"name\",\n \"appIcon\",\n \"mimeType\",\n \"gradeLevel\",\n \"identifier\",\n \"medium\",\n \"pkgVersion\",\n \"board\",\n \"subject\",\n \"resourceType\",\n \"primaryCategory\",\n \"contentType\",\n \"channel\",\n \"organisation\",\n \"trackable\",\n \"se_boards\",\n \"se_subjects\",\n \"se_mediums\",\n \"se_gradeLevels\"\n ],\n \"facets\": [\n \"se_subjects\"\n ],\n \"limit\": 100,\n \"filters\": {\n \"se_gradeLevels\": [\n \"Class 4\"\n ],\n \"audience\": [],\n \"se_mediums\": [\n \"English\"\n ],\n \"se_boards\": [\n \"State (Tamil Nadu)\"\n ],\n \"primaryCategory\": [\n \"Digital Textbook\"\n ],\n \"channel\": [],\n \"subject\": []\n }\n }\n },\n \"contextKey\": \"res.facet.search\",\n \"method\": \"\"\n },\n \"title\": \"frmelmnts.lbl.search\",\n \"isEnabled\": true,\n \"facetKey\": \"search\",\n \"desc\": \"Section for Searched contents\"\n },\n {\n \"index\": 2,\n \"facetKey\": \"banner\",\n \"title\": \"frmelmnts.lbl.bannerTitle\",\n \"isEnabled\": true,\n \"desc\": \"Section for Banner\"\n },\n {\n \"index\": 1,\n \"apiConfig\": {\n \"url\": \"\",\n \"params\": \"\",\n \"req\": {},\n \"contextKey\": \"res.facet.subject\",\n \"method\": \"\"\n },\n \"anonumousUserRoute\": {\n \"route\": \"/explore-course\",\n \"queryParam\": \"course\"\n },\n \"isEnabled\": true,\n \"title\": \"frmelmnts.lbl.subjects\",\n \"loggedInUserRoute\": {\n \"route\": \"/learn\",\n \"queryParam\": \"course\"\n },\n \"landing\": {\n \"description\": \"frmelmnts.lbl.exploredescription\",\n \"title\": \"frmelmnts.lbl.exploretitle\"\n },\n \"theme\": {\n \"component\": \"sb-pills-grid\",\n \"limit\": 10,\n \"colorMapping\": [\n {\n \"primary\": \"rgba(255,139,46,1)\",\n \"secondary\": \"rgba(255,139,46,0.3)\"\n },\n {\n \"primary\": \"rgba(163,99,255,1)\",\n \"secondary\": \"rgba(163,99,255,0.3)\"\n },\n {\n \"primary\": \"rgba(34,139,255,1)\",\n \"secondary\": \"rgba(34,139,255,0.3)\"\n },\n {\n \"primary\": \"rgba(95,192,32,1)\",\n \"secondary\": \"rgba(95,192,32,0.3)\"\n },\n {\n \"primary\": \"rgba(255,128,47,1)\",\n \"secondary\": \"rgba(255,128,47,0.3)\"\n },\n {\n \"primary\": \"rgba(251,70,70,1)\",\n \"secondary\": \"rgba(251,70,70,0.3)\"\n },\n {\n \"primary\": \"rgba(83,109,252,1)\",\n \"secondary\": \"rgba(83,109,252,0.3)\"\n },\n {\n \"primary\": \"rgba(15,186,208,1)\",\n \"secondary\": \"rgba(15,186,208,0.3)\"\n }\n ],\n \"infiniteCard\": false,\n \"icons\": {\n \"default\": \"assets/images/book_default.svg\",\n \"science\": \"assets/images/globe.svg\",\n \"english\": \"assets/images/book_english.svg\",\n \"mathematics\": \"assets/images/calculator.svg\"\n }\n },\n \"facetKey\": \"subject\",\n \"desc\": \"Section for subjects\"\n },\n {\n \"index\": 6,\n \"apiConfig\": {\n \"url\": \"\",\n \"params\": \"\",\n \"req\": {},\n \"contextKey\": \"res.facet.primaryCategory\",\n \"method\": \"\"\n },\n \"anonumousUserRoute\": {\n \"route\": \"/explore-course\",\n \"queryParam\": \"course\"\n },\n \"isEnabled\": true,\n \"search\": {\n \"facets\": [\n \"se_boards\",\n \"se_gradeLevels\",\n \"se_subjects\",\n \"se_mediums\",\n \"primaryCategory\",\n \"additionalCategories\"\n ]\n },\n \"title\": \"frmelmnts.lbl.dscfrmctgries\",\n \"loggedInUserRoute\": {\n \"route\": \"/learn\",\n \"queryParam\": \"course\"\n },\n \"landing\": {\n \"description\": \"frmelmnts.lbl.exploredescription\",\n \"title\": \"frmelmnts.lbl.exploretitle\"\n },\n \"filter\": {\n \"additionalCategories\": [\n \"tv lesson\"\n ],\n \"primaryCategory\": [\n \"course\",\n \"digital textbook\",\n \"etextbook\"\n ]\n },\n \"merge\": {\n \"source\": \"primaryCategory\",\n \"destination\": \"additionalCategories\"\n },\n \"theme\": {\n \"component\": \"sb-pills-grid\",\n \"limit\": 10,\n \"colorMapping\": [\n {\n \"primary\": \"rgba(255,255,255,1)\",\n \"secondary\": \"rgba(255,255,255,1)\"\n }\n ],\n \"infiniteCard\": false,\n \"icons\": {\n \"digital textbooks\": \"assets/images/textbook.svg\",\n \"documents\": \"assets/images/documents.svg\",\n \"videos\": \"assets/images/videos.svg\",\n \"default\": \"assets/images/all_content.svg\",\n \"courses\": \"assets/images/course.svg\",\n \"tv programs\": \"assets/images/tv.svg\"\n }\n },\n \"facetKey\": \"primaryCategory\",\n \"desc\": \"Section for category\"\n },\n {\n \"index\": 7,\n \"apiConfig\": {\n \"url\": \"\",\n \"params\": \"\",\n \"req\": {},\n \"contextKey\": \"res.facet.medium\",\n \"method\": \"\"\n },\n \"anonumousUserRoute\": {\n \"route\": \"/home\",\n \"queryParam\": \"course\"\n },\n \"isEnabled\": false,\n \"title\": \"frmelmnts.lbl.medium\",\n \"loggedInUserRoute\": {\n \"route\": \"/learn\",\n \"queryParam\": \"course\"\n },\n \"theme\": {\n \"component\": \"sb-pills-grid\",\n \"limit\": 10,\n \"colorMapping\": [\n {\n \"primary\": \"rgba(255,139,46,1)\",\n \"secondary\": \"rgba(255,139,46,0.3)\"\n },\n {\n \"primary\": \"rgba(163,99,255,1)\",\n \"secondary\": \"rgba(163,99,255,0.3)\"\n },\n {\n \"primary\": \"rgba(34,139,255,1)\",\n \"secondary\": \"rgba(34,139,255,0.3)\"\n },\n {\n \"primary\": \"rgba(95,192,32,1)\",\n \"secondary\": \"rgba(95,192,32,0.3)\"\n },\n {\n \"primary\": \"rgba(255,128,47,1)\",\n \"secondary\": \"rgba(255,128,47,0.3)\"\n },\n {\n \"primary\": \"rgba(251,70,70,1)\",\n \"secondary\": \"rgba(251,70,70,0.3)\"\n },\n {\n \"primary\": \"rgba(83,109,252,1)\",\n \"secondary\": \"rgba(83,109,252,0.3)\"\n },\n {\n \"primary\": \"rgba(15,186,208,1)\",\n \"secondary\": \"rgba(15,186,208,0.3)\"\n }\n ],\n \"infiniteCard\": false\n },\n \"facetKey\": \"medium\",\n \"desc\": \"Section for medium\"\n }\n ],\n \"menuType\": \"Content\",\n \"metaData\": {\n \"defaultFilters\": {\n \"medium\": [],\n \"board\": [\n \"CBSE\"\n ],\n \"gradeLevel\": [\n \"Class 10\"\n ]\n },\n \"groupByKey\": \"subject\",\n \"filters\": [\n \"board\",\n \"gradeLevel\",\n \"subject\",\n \"medium\",\n \"publisher\",\n \"audience\",\n \"channel\"\n ]\n }\n },\n {\n \"index\": 1,\n \"search\": {\n \"fields\": [\n \"name\",\n \"appIcon\",\n \"medium\",\n \"subject\",\n \"resourceType\",\n \"contentType\",\n \"organisation\",\n \"topic\",\n \"mimeType\",\n \"trackable\",\n \"gradeLevel\",\n \"se_boards\",\n \"se_subjects\",\n \"se_mediums\",\n \"se_gradeLevels\"\n ],\n \"facets\": [\n \"primaryCategory\",\n \"se_boards\"\n ],\n \"filters\": {\n \"medium\": [],\n \"gradeLevel\": [],\n \"audience\": [],\n \"board\": [],\n \"primaryCategory\": [\n \"Digital Textbook\",\n \"eTextbook\"\n ],\n \"channel\": [],\n \"subject\": []\n }\n },\n \"contentType\": \"explore\",\n \"title\": \"frmelmnts.lbl.explore\",\n \"isEnabled\": false,\n \"anonumousUserRoute\": {\n \"route\": \"/explore\",\n \"queryParam\": \"explore\"\n },\n \"loggedInUserRoute\": {\n \"route\": \"/resources\",\n \"queryParam\": \"explore\"\n },\n \"filter\": {\n \"isEnabled\": false,\n \"type\": \"facet\"\n },\n \"theme\": {\n \"className\": \"explore\",\n \"baseColor\": \"\",\n \"textColor\": \"\",\n \"supportingColor\": \"\",\n \"imageName\": \"courses-banner-img.svg\"\n },\n \"desc\": \"frmelmnts.lbl.explore\",\n \"isOnlineOnly\": true,\n \"sections\": [\n {\n \"index\": 0,\n \"apiConfig\": {\n \"url\": \"\",\n \"params\": \"\",\n \"req\": {},\n \"contextKey\": \"res.facet.primaryCategory\",\n \"method\": \"\"\n },\n \"anonumousUserRoute\": {\n \"route\": \"/explore-course\",\n \"queryParam\": \"course\"\n },\n \"isEnabled\": true,\n \"title\": \"frmelmnts.lbl.dscfrmctgries\",\n \"loggedInUserRoute\": {\n \"route\": \"/learn\",\n \"queryParam\": \"course\"\n },\n \"landing\": {\n \"description\": \"frmelmnts.lbl.exploredescription\",\n \"title\": \"frmelmnts.lbl.exploretitle\"\n },\n \"theme\": {\n \"component\": \"sb-pills-grid\",\n \"limit\": 10,\n \"colorMapping\": [],\n \"infiniteCard\": false,\n \"icons\": {\n \"digital textbooks\": \"assets/images/textbook.svg\",\n \"documents\": \"assets/images/documents.svg\",\n \"tv classes\": \"assets/images/tv.svg\",\n \"videos\": \"assets/images/videos.svg\",\n \"default\": \"assets/images/all_content.svg\",\n \"courses\": \"assets/images/course.svg\"\n }\n },\n \"facetKey\": \"primaryCategory\",\n \"data\": [\n {\n \"index\": 0,\n \"name\": \"Digital Textbook\",\n \"value\": \"digital textbook\",\n \"searchCriteria\": {\n \"facets\": [],\n \"primaryCategories\": [\n \"Digital Textbook\"\n ],\n \"mode\": \"soft\",\n \"searchType\": \"search\"\n }\n },\n {\n \"index\": 1,\n \"name\": \"Course\",\n \"value\": \"course\",\n \"searchCriteria\": {\n \"facets\": [],\n \"primaryCategories\": [\n \"Course\"\n ],\n \"mode\": \"soft\",\n \"searchType\": \"search\"\n }\n }\n ],\n \"desc\": \"Section for category\"\n },\n {\n \"index\": 0,\n \"apiConfig\": {\n \"url\": \"\",\n \"params\": \"\",\n \"req\": {},\n \"contextKey\": \"res.facet.subject\",\n \"method\": \"\"\n },\n \"anonumousUserRoute\": {\n \"route\": \"/explore-course\",\n \"queryParam\": \"course\"\n },\n \"isEnabled\": true,\n \"title\": \"frmelmnts.lbl.board\",\n \"loggedInUserRoute\": {\n \"route\": \"/learn\",\n \"queryParam\": \"course\"\n },\n \"landing\": {\n \"description\": \"frmelmnts.lbl.exploredescription\",\n \"title\": \"frmelmnts.lbl.exploretitle\"\n },\n \"theme\": {\n \"component\": \"sb-pills-grid\",\n \"limit\": 10,\n \"colorMapping\": [],\n \"infiniteCard\": false,\n \"icons\": {\n \"state (telangana)\": \"https://diksha.gov.in/ts/logo.png\",\n \"state (haryana)\": \"https://diksha.gov.in/hr/logo.png\",\n \"ut (ladakh)\": \"https://diksha.gov.in/ld/appLogo.png\",\n \"state (kerala)\": \"https://diksha.gov.in/logo.png\",\n \"state (uttar pradesh)\": \"https://diksha.gov.in/up/appLogo.png\",\n \"state (andhra pradesh)\": \"https://diksha.gov.in/ap/logo.png\",\n \"state (nagaland)\": \"https://diksha.gov.in/nl/logo.png\",\n \"state (tamil nadu)\": \"https://diksha.gov.in/tn/appLogo.png\",\n \"state (himachal pradesh)\": \"https://diksha.gov.in/logo.png\",\n \"state (jammu and kashmir)\": \"https://diksha.gov.in/jk/logo.png\",\n \"state (goa)\": \"https://diksha.gov.in/ga/logo.png\",\n \"state (punjab)\": \"https://diksha.gov.in/pb/appLogo.png\",\n \"igot-health\": \"https://diksha.gov.in/igot/logo.png\",\n \"ut (dnh and dd)\": \"https://diksha.gov.in/dd/appLogo.png\",\n \"state (jharkhand)\": \"https://diksha.gov.in/jh/logo.png\",\n \"state (mizoram)\": \"https://diksha.gov.in/mz/logo.png\",\n \"state (manipur)\": \"https://diksha.gov.in/mn/appLogo.png\",\n \"state (uttarakhand)\": \"https://diksha.gov.in/logo.png\",\n \"state (rajasthan)\": \"https://diksha.gov.in/rj/appLogo.png\",\n \"state (odisha)\": \"https://diksha.gov.in/od/appLogo.png\",\n \"state (delhi)\": \"https://diksha.gov.in/dl/logo.png\",\n \"ut (puducherry)\": \"https://diksha.gov.in/py/appLogo.png\",\n \"state (chandigarh)\": \"https://diksha.gov.in/logo.png\",\n \"state (meghalya)\": \"https://diksha.gov.in/ml/logo.png\",\n \"cbse\": \"https://diksha.gov.in/cbse/cbse-logo.png\",\n \"state (sikkim)\": \"https://diksha.gov.in/sk/logo.png\",\n \"state (karnataka)\": \"https://diksha.gov.in/ka/appLogo.png\",\n \"state (gujarat)\": \"https://diksha.gov.in/gj/logo.png\",\n \"state (madhya pradesh)\": \"https://diksha.gov.in/mp/logo.png\",\n \"state (arunachal pradesh)\": \"https://diksha.gov.in/ar/logo.png\",\n \"state (maharashtra)\": \"https://diksha.gov.in/mh/logo.png\",\n \"state (assam)\": \"https://diksha.gov.in/as/logo.png\",\n \"state (tripura)\": \"https://diksha.gov.in/logo.png\",\n \"state (bihar)\": \"https://diksha.gov.in/br/logo.png\",\n \"ut (andaman and nicobar islands)\": \"https://diksha.gov.in/an/logo.png\",\n \"state (chhattisgarh)\": \"https://diksha.gov.in/cg/logo.png\"\n }\n },\n \"facetKey\": \"se_boards\",\n \"data\": [\n {\n \"index\": 0,\n \"name\": \"CBSE/NCERT\",\n \"value\": \"cbse\",\n \"searchCriteria\": {\n \"facets\": [\n \"board\"\n ],\n \"board\": [\n \"CBSE\"\n ]\n }\n },\n {\n \"index\": 1,\n \"name\": \"IGOT-Health\",\n \"value\": \"igot-health\",\n \"searchCriteria\": {\n \"facets\": [\n \"board\"\n ],\n \"board\": [\n \"IGOT-Health\"\n ]\n }\n },\n {\n \"index\": 2,\n \"name\": \"State (Arunachal Pradesh)\",\n \"value\": \"state (arunachal pradesh)\",\n \"searchCriteria\": {\n \"facets\": [\n \"board\"\n ],\n \"board\": [\n \"State (Arunachal Pradesh)\"\n ]\n }\n },\n {\n \"index\": 3,\n \"name\": \"State (Andhra Pradesh)\",\n \"value\": \"state (andhra pradesh)\",\n \"searchCriteria\": {\n \"facets\": [\n \"board\"\n ],\n \"board\": [\n \"State (Andhra Pradesh)\"\n ]\n }\n },\n {\n \"index\": 4,\n \"name\": \"State (Assam)\",\n \"value\": \"state (assam)\",\n \"searchCriteria\": {\n \"facets\": [\n \"board\"\n ],\n \"board\": [\n \"State (Assam)\"\n ]\n }\n },\n {\n \"index\": 5,\n \"name\": \"State (Bihar)\",\n \"value\": \"state (bihar)\",\n \"searchCriteria\": {\n \"facets\": [\n \"board\"\n ],\n \"board\": [\n \"State (Bihar)\"\n ]\n }\n },\n {\n \"index\": 6,\n \"name\": \"State (Chandigarh)\",\n \"value\": \"state (chandigarh)\",\n \"searchCriteria\": {\n \"facets\": [\n \"board\"\n ],\n \"board\": [\n \"State (Chandigarh)\"\n ]\n }\n },\n {\n \"index\": 7,\n \"name\": \"State (Chhattisgarh)\",\n \"value\": \"state (chhattisgarh)\",\n \"searchCriteria\": {\n \"facets\": [\n \"board\"\n ],\n \"board\": [\n \"State (Chhattisgarh)\"\n ]\n }\n },\n {\n \"index\": 8,\n \"name\": \"State (Delhi)\",\n \"value\": \"state (delhi)\",\n \"searchCriteria\": {\n \"facets\": [\n \"board\"\n ],\n \"board\": [\n \"State (Delhi)\"\n ]\n }\n },\n {\n \"index\": 9,\n \"name\": \"State (Goa)\",\n \"value\": \"state (goa)\",\n \"searchCriteria\": {\n \"facets\": [\n \"board\"\n ],\n \"board\": [\n \"State (Goa)\"\n ]\n }\n },\n {\n \"index\": 10,\n \"name\": \"State (Gujarat)\",\n \"value\": \"state (gujarat)\",\n \"searchCriteria\": {\n \"facets\": [\n \"board\"\n ],\n \"board\": [\n \"State (Gujarat)\"\n ]\n }\n },\n {\n \"index\": 11,\n \"name\": \"State (Haryana)\",\n \"value\": \"state (haryana)\",\n \"searchCriteria\": {\n \"facets\": [\n \"board\"\n ],\n \"board\": [\n \"State (Haryana)\"\n ]\n }\n },\n {\n \"index\": 12,\n \"name\": \"State (Himachal Pradesh)\",\n \"value\": \"state (himachal pradesh)\",\n \"searchCriteria\": {\n \"facets\": [\n \"board\"\n ],\n \"board\": [\n \"State (Himachal Pradesh)\"\n ]\n }\n },\n {\n \"index\": 13,\n \"name\": \"State (Jammu And Kashmir)\",\n \"value\": \"state (jammu and kashmir)\",\n \"searchCriteria\": {\n \"facets\": [\n \"board\"\n ],\n \"board\": [\n \"State (Jammu And Kashmir)\"\n ]\n }\n },\n {\n \"index\": 14,\n \"name\": \"State (Jharkhand)\",\n \"value\": \"state (jharkhand)\",\n \"searchCriteria\": {\n \"facets\": [\n \"board\"\n ],\n \"board\": [\n \"State (Jharkhand)\"\n ]\n }\n },\n {\n \"index\": 15,\n \"name\": \"State (Karnataka)\",\n \"value\": \"state (karnataka)\",\n \"searchCriteria\": {\n \"facets\": [\n \"board\"\n ],\n \"board\": [\n \"State (Karnataka)\"\n ]\n }\n },\n {\n \"index\": 16,\n \"name\": \"State (Kerala)\",\n \"value\": \"state (kerala)\",\n \"searchCriteria\": {\n \"facets\": [\n \"board\"\n ],\n \"board\": [\n \"State (Kerala)\"\n ]\n }\n },\n {\n \"index\": 17,\n \"name\": \"State (Madhya Pradesh)\",\n \"value\": \"state (madhya pradesh)\",\n \"searchCriteria\": {\n \"facets\": [\n \"board\"\n ],\n \"board\": [\n \"State (Madhya Pradesh)\"\n ]\n }\n },\n {\n \"index\": 18,\n \"name\": \"State (Maharashtra)\",\n \"value\": \"state (maharashtra)\",\n \"searchCriteria\": {\n \"facets\": [\n \"board\"\n ],\n \"board\": [\n \"State (Maharashtra)\"\n ]\n }\n },\n {\n \"index\": 19,\n \"name\": \"State (Manipur)\",\n \"value\": \"state (manipur)\",\n \"searchCriteria\": {\n \"facets\": [\n \"board\"\n ],\n \"board\": [\n \"State (Manipur)\"\n ]\n }\n },\n {\n \"index\": 20,\n \"name\": \"State (Meghalya)\",\n \"value\": \"state (meghalya)\",\n \"searchCriteria\": {\n \"facets\": [\n \"board\"\n ],\n \"board\": [\n \"State (Meghalya)\"\n ]\n }\n },\n {\n \"index\": 21,\n \"name\": \"State (Mizoram)\",\n \"value\": \"state (mizoram)\",\n \"searchCriteria\": {\n \"facets\": [\n \"board\"\n ],\n \"board\": [\n \"State (Mizoram)\"\n ]\n }\n },\n {\n \"index\": 22,\n \"name\": \"State (Nagaland)\",\n \"value\": \"state (nagaland)\",\n \"searchCriteria\": {\n \"facets\": [\n \"board\"\n ],\n \"board\": [\n \"State (Nagaland)\"\n ]\n }\n },\n {\n \"index\": 23,\n \"name\": \"State (Odisha)\",\n \"value\": \"state (odisha)\",\n \"searchCriteria\": {\n \"facets\": [\n \"board\"\n ],\n \"board\": [\n \"State (Odisha)\"\n ]\n }\n },\n {\n \"index\": 24,\n \"name\": \"State (Punjab)\",\n \"value\": \"state (punjab)\",\n \"searchCriteria\": {\n \"facets\": [\n \"board\"\n ],\n \"board\": [\n \"State (Punjab)\"\n ]\n }\n },\n {\n \"index\": 25,\n \"name\": \"State (Rajasthan)\",\n \"value\": \"state (rajasthan)\",\n \"searchCriteria\": {\n \"facets\": [\n \"board\"\n ],\n \"board\": [\n \"State (Rajasthan)\"\n ]\n }\n },\n {\n \"index\": 26,\n \"name\": \"State (Sikkim)\",\n \"value\": \"state (sikkim)\",\n \"searchCriteria\": {\n \"facets\": [\n \"board\"\n ],\n \"board\": [\n \"State (Sikkim)\"\n ]\n }\n },\n {\n \"index\": 27,\n \"name\": \"State (Tamil Nadu)\",\n \"value\": \"state (tamil nadu)\",\n \"searchCriteria\": {\n \"facets\": [\n \"board\"\n ],\n \"board\": [\n \"State (Tamil Nadu)\"\n ]\n }\n },\n {\n \"index\": 28,\n \"name\": \"State (Telangana)\",\n \"value\": \"state (telangana)\",\n \"searchCriteria\": {\n \"facets\": [\n \"board\"\n ],\n \"board\": [\n \"State (Telangana)\"\n ]\n }\n },\n {\n \"index\": 29,\n \"name\": \"State (Tripura)\",\n \"value\": \"state (tripura)\",\n \"searchCriteria\": {\n \"facets\": [\n \"board\"\n ],\n \"board\": [\n \"State (Tripura)\"\n ]\n }\n },\n {\n \"index\": 30,\n \"name\": \"State (Uttar Pradesh)\",\n \"value\": \"state (uttar pradesh)\",\n \"searchCriteria\": {\n \"facets\": [\n \"board\"\n ],\n \"board\": [\n \"State (Uttar Pradesh)\"\n ]\n }\n },\n {\n \"index\": 31,\n \"name\": \"State (Uttarakhand)\",\n \"value\": \"state (uttarakhand)\",\n \"searchCriteria\": {\n \"facets\": [\n \"board\"\n ],\n \"board\": [\n \"State (Uttarakhand)\"\n ]\n }\n },\n {\n \"index\": 32,\n \"name\": \"UT (Andaman and Nicobar Islands)\",\n \"value\": \"ut (andaman and nicobar islands)\",\n \"searchCriteria\": {\n \"facets\": [\n \"board\"\n ],\n \"board\": [\n \"UT (Andaman and Nicobar Islands)\"\n ]\n }\n },\n {\n \"index\": 33,\n \"name\": \"UT (DNH and DD)\",\n \"value\": \"ut (dnh and dd)\",\n \"searchCriteria\": {\n \"facets\": [\n \"board\"\n ],\n \"board\": [\n \"UT (DNH and DD)\"\n ]\n }\n },\n {\n \"index\": 34,\n \"name\": \"UT (Ladakh)\",\n \"value\": \"ut (ladakh)\",\n \"searchCriteria\": {\n \"facets\": [\n \"board\"\n ],\n \"board\": [\n \"UT (Ladakh)\"\n ]\n }\n },\n {\n \"index\": 35,\n \"name\": \"UT (Puducherry)\",\n \"value\": \"ut (puducherry)\",\n \"searchCriteria\": {\n \"facets\": [\n \"board\"\n ],\n \"board\": [\n \"UT (Puducherry)\"\n ]\n }\n }\n ],\n \"desc\": \"Section for explore\"\n },\n {\n \"index\": 2,\n \"apiConfig\": {\n \"url\": \"\",\n \"params\": \"\",\n \"req\": {},\n \"contextKey\": \"res.facet.audience\",\n \"method\": \"\"\n },\n \"anonumousUserRoute\": {\n \"route\": \"/explore-course\",\n \"queryParam\": \"course\"\n },\n \"isEnabled\": true,\n \"title\": \"frmelmnts.lbl.audience\",\n \"loggedInUserRoute\": {\n \"route\": \"/learn\",\n \"queryParam\": \"course\"\n },\n \"landing\": {\n \"description\": \"frmelmnts.lbl.exploredescription\",\n \"title\": \"frmelmnts.lbl.exploretitle\"\n },\n \"theme\": {\n \"component\": \"sb-pills-grid\",\n \"limit\": 10,\n \"colorMapping\": [],\n \"infiniteCard\": false,\n \"icons\": {\n \"default\": \"assets/images/guest-img3.svg\",\n \"administrator\": \"assets/images/guest-img5.svg\",\n \"teacher\": \"assets/images/guest-img1.svg\",\n \"parent\": \"assets/images/guest-img4.svg\",\n \"student\": \"assets/images/guest-img2.svg\"\n }\n },\n \"facetKey\": \"audience\",\n \"data\": [\n {\n \"index\": 0,\n \"name\": \"School head OR Officials\",\n \"value\": \"administrator\",\n \"searchCriteria\": {\n \"facets\": [],\n \"audience\": [\n \"Administrator\"\n ],\n \"searchType\": \"search\",\n \"mode\": \"soft\"\n }\n },\n {\n \"index\": 1,\n \"name\": \"Other\",\n \"value\": \"other\",\n \"searchCriteria\": {\n \"facets\": [],\n \"audience\": [\n \"Other\"\n ],\n \"searchType\": \"search\",\n \"mode\": \"soft\"\n }\n },\n {\n \"index\": 2,\n \"name\": \"Parent/Guardian\",\n \"value\": \"parent\",\n \"searchCriteria\": {\n \"facets\": [],\n \"audience\": [\n \"Parent\"\n ],\n \"searchType\": \"search\",\n \"mode\": \"soft\"\n }\n },\n {\n \"index\": 4,\n \"name\": \"Teacher\",\n \"value\": \"teacher\",\n \"searchCriteria\": {\n \"facets\": [],\n \"audience\": [\n \"Teacher\"\n ],\n \"searchType\": \"search\",\n \"mode\": \"soft\"\n }\n },\n {\n \"index\": 3,\n \"name\": \"Student\",\n \"value\": \"student\",\n \"searchCriteria\": {\n \"facets\": [],\n \"audience\": [\n \"Student\"\n ],\n \"searchType\": \"search\",\n \"mode\": \"soft\"\n }\n }\n ],\n \"desc\": \"Section for audience\"\n }\n ],\n \"menuType\": \"Content\",\n \"metaData\": {\n \"defaultFilters\": {\n \"medium\": [],\n \"board\": [\n \"CBSE\"\n ],\n \"gradeLevel\": [\n \"Class 10\"\n ]\n },\n \"groupByKey\": \"subject\",\n \"filters\": [\n \"board\",\n \"gradeLevel\",\n \"subject\",\n \"medium\",\n \"publisher\",\n \"audience\",\n \"channel\"\n ]\n }\n }\n ],\n \"templateName\": \"menuConfig\"\n },\n \"rootOrgId\": \"*\"\n }\n}" + }, + "url": { + "raw": "{{host}}/api/data/v1/form/create", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "data", + "v1", + "form", + "create" + ] + }, + "description": "https://documenter.getpostman.com/view/25186239/2sA2rAxMg6#f666e03f-da31-4b78-8543-cf86ad3efc02" + }, + "response": [] + }, + { + "name": "Form-5 - user | child | create | portal", + "request": { + "method": "POST", + "url": "{{host}}/api/data/v1/form/create", + "header": [ + { + "key": "Authorization", + "value": "Bearer {{apikey}}", + "description": "" + }, + { + "key": "Content-Type", + "value": "application/json", + "description": "" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"type\": \"user\",\n \"subType\": \"child\",\n \"action\": \"create\",\n \"component\": \"portal\",\n \"framework\": \"*\",\n \"data\": {\n \"templateName\": \"defaultTemplate\",\n \"action\": \"create\",\n \"fields\": [\n {\n \"code\": \"name\",\n \"visible\": true,\n \"editable\": true,\n \"displayProperty\": \"Editable\",\n \"dataType\": \"text\",\n \"renderingHints\": {\n \"fieldColumnWidth\": \"twelve\"\n },\n \"name\": \"Name\",\n \"description\": \"Enter your name\",\n \"index\": 1,\n \"inputType\": \"input\",\n \"label\": \"Name\",\n \"required\": true\n }\n ]\n },\n \"rootOrgId\": \"*\"\n }\n}" + }, + "description": "Generated from Node.js script" + }, + "response": [] + }, + { + "name": "Form-6 - content | collection | create | *", + "request": { + "method": "POST", + "url": "{{host}}/api/data/v1/form/create", + "header": [ + { + "key": "Authorization", + "value": "Bearer {{apikey}}", + "description": "" + }, + { + "key": "Content-Type", + "value": "application/json", + "description": "" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"type\": \"content\",\n \"subType\": \"collection\",\n \"action\": \"create\",\n \"component\": \"*\",\n \"framework\": \"*\",\n \"data\": {\n \"templateName\": \"defaultTemplate\",\n \"action\": \"create\",\n \"fields\": [\n {\n \"code\": \"name\",\n \"dataType\": \"text\",\n \"name\": \"Name\",\n \"label\": \"Name\",\n \"description\": \"Name\",\n \"editable\": true,\n \"placeholder\": \"Name\",\n \"inputType\": \"text\",\n \"required\": false,\n \"displayProperty\": \"Editable\",\n \"visible\": true,\n \"renderingHints\": {\n \"semanticColumnWidth\": \"twelve\"\n },\n \"index\": 1\n },\n {\n \"code\": \"description\",\n \"dataType\": \"text\",\n \"name\": \"Description\",\n \"label\": \"Description\",\n \"description\": \"description\",\n \"placeholder\": \"Description\",\n \"editable\": true,\n \"inputType\": \"text\",\n \"required\": false,\n \"displayProperty\": \"Editable\",\n \"visible\": true,\n \"renderingHints\": {\n \"semanticColumnWidth\": \"twelve\"\n },\n \"index\": 2\n },\n {\n \"code\": \"primaryCategory\",\n \"dataType\": \"text\",\n \"name\": \"Collection Type\",\n \"label\": \"Collection Type\",\n \"description\": \"Collection Type\",\n \"placeholder\": \"Select one\",\n \"editable\": true,\n \"inputType\": \"select\",\n \"required\": true,\n \"displayProperty\": \"Editable\",\n \"visible\": true,\n \"renderingHints\": {\n \"semanticColumnWidth\": \"twelve\"\n },\n \"index\": 3\n }\n ]\n },\n \"rootOrgId\": \"*\"\n }\n}" + }, + "description": "Generated from Node.js script" + }, + "response": [] + }, + { + "name": "Form-7 - config | segmentation_v2 | get | *", + "request": { + "method": "POST", + "url": "{{host}}/api/data/v1/form/create", + "header": [ + { + "key": "Authorization", + "value": "Bearer {{apikey}}", + "description": "" + }, + { + "key": "Content-Type", + "value": "application/json", + "description": "" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"type\": \"config\",\n \"subType\": \"segmentation_v2\",\n \"action\": \"get\",\n \"component\": \"*\",\n \"framework\": \"*\",\n \"data\": {\n \"templateName\": \"segmentation_v2\",\n \"action\": \"get\",\n \"fields\": [\n {\n \"commandId\": 1619548200000,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"LOCAL_NOTIF\",\n \"expiresAfter\": 1841807258000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERLANG_en\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"controlFunctionPayload\": [\n {\n \"code\": \"localNotification\",\n \"name\": \"LocalNotification\",\n \"type\": 1,\n \"config\": [\n {\n \"msg\": \"Welcome! You've choosen English\",\n \"isEnabled\": true,\n \"id\": 1005,\n \"title\": \"Welcome! You've choosen English\"\n }\n ]\n }\n ]\n },\n {\n \"commandId\": 1619548200290,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"LOCAL_NOTIF\",\n \"expiresAfter\": 1841807258000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERLANG_kn\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"controlFunctionPayload\": [\n {\n \"code\": \"localNotification\",\n \"name\": \"LocalNotification\",\n \"type\": 1,\n \"config\": [\n {\n \"msg\": \"ಕನ್ನಡ ಆಯ್ಕೆ ಮಾಡಿದ್ದಕ್ಕೆ ಧನ್ಯವಾದಗಳು\",\n \"isEnabled\": true,\n \"id\": 1006,\n \"title\": \"ಕನ್ನಡ ಆಯ್ಕೆ ಮಾಡಿದ್ದಕ್ಕೆ ಧನ್ಯವಾದಗಳು\"\n }\n ]\n }\n ]\n },\n {\n \"commandId\": 1619548200020,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"LOCAL_NOTIF\",\n \"expiresAfter\": 1841807258000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_stateandhrapradesh\",\n \"USERFRAMEWORK_class10\",\n \"USERFRAMEWORK_english\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"controlFunctionPayload\": [\n {\n \"code\": \"localNotification\",\n \"name\": \"LocalNotification\",\n \"type\": 1,\n \"config\": [\n {\n \"msg\": \"Board AP Class 10 English\",\n \"isEnabled\": true,\n \"id\": 1004,\n \"title\": \"Board AP Class 10 English\",\n \"action\": \"ACTION_PLAY\",\n \"data\": {\n \"request\": {\n \"objectId\": \"do_31269113788995174417318\",\n \"collection\": \"do_31269113788995174417318\"\n }\n }\n }\n ]\n }\n ]\n },\n {\n \"commandId\": 1619548204000,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"LOCAL_NOTIF\",\n \"expiresAfter\": 1841807258000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"CONTENT_do_2130251541941534721178\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"controlFunctionPayload\": [\n {\n \"code\": \"localNotification\",\n \"name\": \"LocalNotification\",\n \"type\": 1,\n \"config\": [\n {\n \"msg\": \"Content: State Course\",\n \"isEnabled\": true,\n \"id\": 1003,\n \"title\": \"Content: State Course\",\n \"action\": \"ACTION_PLAY\",\n \"data\": {\n \"request\": {\n \"objectId\": \"do_2130251541941534721178\",\n \"collection\": \"do_2130251541941534721178\"\n }\n }\n }\n ]\n }\n ]\n },\n {\n \"commandId\": 1619548200600,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"LOCAL_NOTIF\",\n \"expiresAfter\": 1841807258000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_stateandhrapradesh\",\n \"USERFRAMEWORK_class8\",\n \"USERFRAMEWORK_english\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"controlFunctionPayload\": [\n {\n \"code\": \"localNotification\",\n \"name\": \"LocalNotification\",\n \"type\": 1,\n \"config\": [\n {\n \"msg\": \"Board AP class 8 english\",\n \"isEnabled\": true,\n \"id\": 1002,\n \"title\": \"Board AP class 8 english\"\n }\n ]\n }\n ]\n },\n {\n \"commandId\": 1619548200050,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"LOCAL_NOTIF\",\n \"expiresAfter\": 1841807258000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERLOCATION_Tamil Nadu\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"controlFunctionPayload\": [\n {\n \"code\": \"localNotification\",\n \"name\": \"LocalNotification\",\n \"type\": 1,\n \"config\": [\n {\n \"msg\": \"Location Tamil Nadu\",\n \"isEnabled\": true,\n \"id\": 1001,\n \"title\": \"Location Tamil Nadu\"\n }\n ]\n }\n ]\n },\n {\n \"commandId\": 1619548201250,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1841807258000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_statetamilnadu\",\n \"USERFRAMEWORK_english\",\n \"USERFRAMEWORK_class1\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_external_url\",\n \"ui\": {\n \"background\": \"https://cdn.pixabay.com/photo/2015/10/29/14/38/web-1012467_960_720.jpg\",\n \"text\": \"Sample External Url\"\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"externalUrl\",\n \"params\": {\n \"route\": \"https://diksha.gov.in/\"\n }\n },\n \"expiry\": \"1841807258\"\n },\n {\n \"code\": \"banner_internal_url\",\n \"ui\": {\n \"background\": \"https://cdn.pixabay.com/photo/2015/10/29/14/38/web-1012467_960_720.jpg\",\n \"text\": \"Sample Internal Url\"\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"internalUrl\",\n \"params\": {\n \"route\": \"profile\"\n }\n },\n \"expiry\": \"1841807258\"\n },\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://cdn.pixabay.com/photo/2015/10/29/14/38/web-1012467_960_720.jpg\",\n \"text\": \"Sample Search\"\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"query\": \"limited attempt course\",\n \"filter\": {\n \"offset\": 0,\n \"filters\": {\n \"audience\": [],\n \"objectType\": [\n \"Content\"\n ]\n }\n }\n }\n },\n \"expiry\": \"1841807258\"\n },\n {\n \"code\": \"banner_content\",\n \"ui\": {\n \"background\": \"https://ae01.alicdn.com/kf/H9e3986d0c2434909a0cc26654e766dad7/Custom-fullcolor-Vinyl-Flex-Banner-3-X-4-FT-Outdoor-Advertise-Signs-2-X6-FT-Can.jpg_Q90.jpg_.webp\",\n \"text\": \"Sample content\"\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"content\",\n \"params\": {\n \"identifier\": \"do_21302358976737280014\"\n }\n },\n \"expiry\": \"1841807258\"\n },\n {\n \"code\": \"\",\n \"type\": \"secondary\",\n \"ui\": {\n \"text\": \"NISHTHA FLN COurses\",\n \"icon\": \"assets/imgs/ic_nishtha_courses.svg\",\n \"theme\": {\n \"iconBgColor\": \"#FFFFFF\",\n \"pillBgColor\": \"#FFFFFF\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"\",\n \"params\": {\n \"route\": \"\"\n }\n },\n \"expiry\": \"1841807258\"\n },\n {\n \"code\": \"\",\n \"type\": \"secondary\",\n \"ui\": {\n \"text\": \"NISHTHA FLN COurses\",\n \"icon\": \"assets/imgs/ic_nishtha_courses.svg\",\n \"theme\": {\n \"iconBgColor\": \"#FFFFFF\",\n \"pillBgColor\": \"#FFFFFF\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"\",\n \"params\": {\n \"route\": \"\"\n }\n },\n \"expiry\": \"1841807258\"\n },\n {\n \"code\": \"\",\n \"type\": \"secondary\",\n \"ui\": {\n \"text\": \"NISHTA Secondary Courses\",\n \"icon\": \"assets/imgs/ic_secondary_course.svg\",\n \"theme\": {\n \"iconBgColor\": \"#FFFFFF\",\n \"pillBgColor\": \"#FFFFFF\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"\",\n \"params\": {\n \"route\": \"\"\n }\n },\n \"expiry\": \"1841807258\"\n },\n {\n \"code\": \"\",\n \"type\": \"secondary\",\n \"ui\": {\n \"text\": \"Revision Preperation\",\n \"icon\": \"assets/imgs/ic_revision_preperation.svg\",\n \"theme\": {\n \"iconBgColor\": \"#FFFFFF\",\n \"pillBgColor\": \"#FFFFFF\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"\",\n \"params\": {\n \"route\": \"\"\n }\n },\n \"expiry\": \"1841807258\"\n },\n {\n \"code\": \"\",\n \"type\": \"secondary\",\n \"ui\": {\n \"text\": \"FLN Programme\",\n \"icon\": \"assets/imgs/ic_fln_programme.svg\",\n \"theme\": {\n \"iconBgColor\": \"#FFFFFF\",\n \"pillBgColor\": \"#FFFFFF\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"\",\n \"params\": {\n \"route\": \"\"\n }\n },\n \"expiry\": \"1841807258\"\n },\n {\n \"code\": \"\",\n \"type\": \"secondary\",\n \"ui\": {\n \"text\": \"Administration Programme\",\n \"icon\": \"assets/imgs/ic_administration_programme.svg\",\n \"theme\": {\n \"iconBgColor\": \"#FFFFFF\",\n \"pillBgColor\": \"#FFFFFF\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"\",\n \"params\": {\n \"route\": \"\"\n }\n },\n \"expiry\": \"1841807258\"\n },\n {\n \"code\": \"\",\n \"type\": \"secondary\",\n \"ui\": {\n \"text\": \"Quiz\",\n \"icon\": \"assets/imgs/ic_quiz.svg\",\n \"theme\": {\n \"iconBgColor\": \"#FFFFFF\",\n \"pillBgColor\": \"#FFFFFF\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"\",\n \"params\": {\n \"route\": \"\"\n }\n },\n \"expiry\": \"1841807258\"\n }\n ]\n }\n },\n {\n \"commandId\": 1619548208500,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1841807258000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_cbse\",\n \"USERFRAMEWORK_english\",\n \"USERFRAMEWORK_class6\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_external_url\",\n \"ui\": {\n \"background\": \"https://cdn.pixabay.com/photo/2015/10/29/14/38/web-1012467_960_720.jpg\",\n \"text\": \"Sample External Url\"\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"externalUrl\",\n \"params\": {\n \"route\": \"https://diksha.gov.in/\"\n }\n },\n \"expiry\": \"1841807258\"\n },\n {\n \"code\": \"banner_internal_url\",\n \"ui\": {\n \"background\": \"https://cdn.pixabay.com/photo/2015/10/29/14/38/web-1012467_960_720.jpg\",\n \"text\": \"Sample Internal Url\"\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"internalUrl\",\n \"params\": {\n \"route\": \"profile\"\n }\n },\n \"expiry\": \"1841807258\"\n },\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://cdn.pixabay.com/photo/2015/10/29/14/38/web-1012467_960_720.jpg\",\n \"text\": \"Sample Search\"\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"query\": \"limited attempt course\",\n \"filter\": {\n \"offset\": 0,\n \"filters\": {\n \"audience\": [],\n \"objectType\": [\n \"Content\"\n ]\n }\n }\n }\n },\n \"expiry\": \"1841807258\"\n },\n {\n \"code\": \"banner_content\",\n \"ui\": {\n \"background\": \"https://cdn.pixabay.com/photo/2015/10/29/14/38/web-1012467_960_720.jpg\",\n \"text\": \"Sample content\"\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"content\",\n \"params\": {\n \"identifier\": \"do_21302358976737280014\"\n }\n },\n \"expiry\": \"1841807258\"\n },\n {\n \"code\": \"banner_search\",\n \"type\": \"secondary\",\n \"ui\": {\n \"text\": \"NISHTHA FLN COurses\",\n \"icon\": \"assets/imgs/ic_nishtha_courses.svg\",\n \"theme\": {\n \"iconBgColor\": \"#FFFFFF\",\n \"pillBgColor\": \"#FFFFFF\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"query\": \"limited attempt course\",\n \"filter\": {\n \"offset\": 0,\n \"filters\": {\n \"audience\": [],\n \"objectType\": [\n \"Content\"\n ]\n }\n }\n }\n },\n \"expiry\": \"1841807258\"\n },\n {\n \"code\": \"banner_search\",\n \"type\": \"secondary\",\n \"ui\": {\n \"text\": \"NISHTA Secondary Courses\",\n \"icon\": \"assets/imgs/ic_secondary_course.svg\",\n \"theme\": {\n \"iconBgColor\": \"#FFFFFF\",\n \"pillBgColor\": \"#FFFFFF\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"query\": \"limited attempt course\",\n \"filter\": {\n \"offset\": 0,\n \"filters\": {\n \"audience\": [],\n \"objectType\": [\n \"Content\"\n ]\n }\n }\n }\n },\n \"expiry\": \"1841807258\"\n },\n {\n \"code\": \"banner_search\",\n \"type\": \"secondary\",\n \"ui\": {\n \"text\": \"Revision Preperation\",\n \"icon\": \"assets/imgs/ic_revision_preperation.svg\",\n \"theme\": {\n \"iconBgColor\": \"#FFFFFF\",\n \"pillBgColor\": \"#FFFFFF\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"query\": \"limited attempt course\",\n \"filter\": {\n \"offset\": 0,\n \"filters\": {\n \"audience\": [],\n \"objectType\": [\n \"Content\"\n ]\n }\n }\n }\n },\n \"expiry\": \"1841807258\"\n },\n {\n \"code\": \"banner_search\",\n \"type\": \"secondary\",\n \"ui\": {\n \"text\": \"FLN Programme\",\n \"icon\": \"assets/imgs/ic_fln_programme.svg\",\n \"theme\": {\n \"iconBgColor\": \"#FFFFFF\",\n \"pillBgColor\": \"#FFFFFF\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"query\": \"limited attempt course\",\n \"filter\": {\n \"offset\": 0,\n \"filters\": {\n \"audience\": [],\n \"objectType\": [\n \"Content\"\n ]\n }\n }\n }\n },\n \"expiry\": \"1841807258\"\n },\n {\n \"code\": \"banner_search\",\n \"type\": \"secondary\",\n \"ui\": {\n \"text\": \"Administration Programme\",\n \"icon\": \"assets/imgs/ic_administration_programme.svg\",\n \"theme\": {\n \"iconBgColor\": \"#FFFFFF\",\n \"pillBgColor\": \"#FFFFFF\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"query\": \"limited attempt course\",\n \"filter\": {\n \"offset\": 0,\n \"filters\": {\n \"audience\": [],\n \"objectType\": [\n \"Content\"\n ]\n }\n }\n }\n },\n \"expiry\": \"1841807258\"\n },\n {\n \"code\": \"banner_search\",\n \"type\": \"secondary\",\n \"ui\": {\n \"text\": \"Quiz\",\n \"icon\": \"assets/imgs/ic_quiz.svg\",\n \"theme\": {\n \"iconBgColor\": \"#FFFFFF\",\n \"pillBgColor\": \"#FFFFFF\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"query\": \"limited attempt course\",\n \"filter\": {\n \"offset\": 0,\n \"filters\": {\n \"audience\": [],\n \"objectType\": [\n \"Content\"\n ]\n }\n }\n }\n },\n \"filterIdentifier\": \"nlp\",\n \"expiry\": \"1841807258\"\n }\n ]\n }\n },\n {\n \"commandId\": 1619548201298,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"DEBUGGING_MODE\",\n \"expiresAfter\": 1841807258000,\n \"tagCriteria\": \"OR\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"ALL_android\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"controlFunctionPayload\": {\n \"traceId\": \"TID_123445\"\n }\n },\n {\n \"commandId\": 1619548200012,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1841807258000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"APPVERSION_DIKSHA v4.4.104staging.97\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_external_url\",\n \"ui\": {\n \"background\": \"https://image.freepik.com/free-vector/minimalist-watercolor_91008-209.jpg\",\n \"text\": \"Sample External Url\"\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"externalUrl\",\n \"params\": {\n \"route\": \"https://diksha.gov.in/\"\n }\n },\n \"expiry\": \"1653031067\"\n }\n ]\n }\n },\n {\n \"commandId\": 1619548200013,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1841807258000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"DEVCONFIG_7fb8fbb3a2bb521689ff04d7f31097676adf101d\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_external_url\",\n \"ui\": {\n \"background\": \"https://image.freepik.com/free-vector/minimalist-watercolor_91008-209.jpg\",\n \"text\": \"Device Based Banner\"\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"externalUrl\",\n \"params\": {\n \"route\": \"https://diksha.gov.in/\"\n }\n },\n \"expiry\": \"1653031067\"\n }\n ]\n }\n },\n {\n \"commandId\": 1619548200014,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"LOCAL_NOTIF\",\n \"expiresAfter\": 1841807258000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERROLE_teacher\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"controlFunctionPayload\": [\n {\n \"code\": \"localNotification\",\n \"name\": \"LocalNotification\",\n \"type\": 1,\n \"config\": [\n {\n \"msg\": \"Registred as Teacher\",\n \"isEnabled\": true,\n \"id\": 1006,\n \"title\": \"Registred as Teacher\"\n }\n ]\n }\n ]\n },\n {\n \"commandId\": 1619548200015,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"LOCAL_NOTIF\",\n \"expiresAfter\": 1841807258000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERROLE_teacher\",\n \"USERLOCATION_Bengaluru U North\",\n \"USERLOCATION_Karnataka\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"controlFunctionPayload\": [\n {\n \"code\": \"localNotification\",\n \"name\": \"LocalNotification\",\n \"type\": 1,\n \"config\": [\n {\n \"msg\": \"Welcome to Karnataka\",\n \"isEnabled\": true,\n \"id\": 1006,\n \"title\": \"Welcome to Karnataka\"\n }\n ]\n }\n ]\n },\n {\n \"commandId\": 1619548201250,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1841807258000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"targetedClient\": \"portal\",\n \"tagFilters\": [\n \"USERFRAMEWORK_State (Tamil Nadu)\",\n \"USERFRAMEWORK_English\",\n \"USERFRAMEWORK_Class 1\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_external_url\",\n \"ui\": {\n \"background\": \"https://cdn.pixabay.com/photo/2015/10/29/14/38/web-1012467_960_720.jpg\",\n \"text\": \"Sample External Url\"\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"externalUrl\",\n \"params\": {\n \"route\": \"https://diksha.gov.in/\"\n }\n },\n \"expiry\": \"1841807258\"\n },\n {\n \"code\": \"banner_internal_url\",\n \"ui\": {\n \"background\": \"https://cdn.pixabay.com/photo/2015/10/29/14/38/web-1012467_960_720.jpg\",\n \"text\": \"Sample Internal Url\"\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"internalUrl\",\n \"params\": {\n \"route\": \"profile\"\n }\n },\n \"expiry\": \"1841807258\"\n },\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://cdn.pixabay.com/photo/2015/10/29/14/38/web-1012467_960_720.jpg\",\n \"text\": \"Sample Search\"\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"query\": \"limited attempt course\",\n \"filter\": {\n \"offset\": 0,\n \"filters\": {\n \"audience\": [],\n \"objectType\": [\n \"Content\"\n ]\n }\n }\n }\n },\n \"expiry\": \"1841807258\"\n },\n {\n \"code\": \"banner_content\",\n \"ui\": {\n \"background\": \"https://5.imimg.com/data5/RN/UY/AT/SELLER-90246361/printed-rectangle-flex-banner-500x500.jpg\"\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"content\",\n \"params\": {\n \"identifier\": \"do_21302358976737280014\"\n }\n },\n \"expiry\": \"1841807258\"\n },\n {\n \"code\": \"banner_search\",\n \"type\": \"secondary\",\n \"ui\": {\n \"text\": \"NISHTHA FLN COurses\",\n \"icon\": \"assets/images/ic_nishtha_courses.svg\",\n \"theme\": {\n \"iconBgColor\": \"#FFFFFF\",\n \"pillBgColor\": \"#FFFFFF\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"query\": \"limited attempt course\",\n \"filter\": {\n \"offset\": 0,\n \"filters\": {\n \"audience\": [],\n \"objectType\": [\n \"Content\"\n ]\n }\n }\n }\n },\n \"expiry\": \"1841807258\"\n },\n {\n \"code\": \"banner_search\",\n \"type\": \"secondary\",\n \"ui\": {\n \"text\": \"NISHTHA FLN COurses\",\n \"icon\": \"assets/images/ic_nishtha_courses.svg\",\n \"theme\": {\n \"iconBgColor\": \"#FFFFFF\",\n \"pillBgColor\": \"#FFFFFF\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"query\": \"limited attempt course\",\n \"filter\": {\n \"offset\": 0,\n \"filters\": {\n \"audience\": [],\n \"objectType\": [\n \"Content\"\n ]\n }\n }\n }\n },\n \"expiry\": \"1841807258\"\n },\n {\n \"code\": \"banner_search\",\n \"type\": \"secondary\",\n \"ui\": {\n \"text\": \"NISHTA Secondary Courses\",\n \"icon\": \"assets/images/ic_secondary_course.svg\",\n \"theme\": {\n \"iconBgColor\": \"#FFFFFF\",\n \"pillBgColor\": \"#FFFFFF\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"query\": \"limited attempt course\",\n \"filter\": {\n \"offset\": 0,\n \"filters\": {\n \"audience\": [],\n \"objectType\": [\n \"Content\"\n ]\n }\n }\n }\n },\n \"expiry\": \"1841807258\"\n },\n {\n \"code\": \"banner_search\",\n \"type\": \"secondary\",\n \"ui\": {\n \"text\": \"Revision Preperation\",\n \"icon\": \"assets/images/ic_revision_preperation.svg\",\n \"theme\": {\n \"iconBgColor\": \"#FFFFFF\",\n \"pillBgColor\": \"#FFFFFF\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"query\": \"limited attempt course\",\n \"filter\": {\n \"offset\": 0,\n \"filters\": {\n \"audience\": [],\n \"objectType\": [\n \"Content\"\n ]\n }\n }\n }\n },\n \"expiry\": \"1841807258\"\n },\n {\n \"code\": \"banner_search\",\n \"type\": \"secondary\",\n \"ui\": {\n \"text\": \"FLN Programme\",\n \"icon\": \"assets/images/ic_fln_programme.svg\",\n \"theme\": {\n \"iconBgColor\": \"#FFFFFF\",\n \"pillBgColor\": \"#FFFFFF\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"query\": \"limited attempt course\",\n \"filter\": {\n \"offset\": 0,\n \"filters\": {\n \"audience\": [],\n \"objectType\": [\n \"Content\"\n ]\n }\n }\n }\n },\n \"expiry\": \"1841807258\"\n },\n {\n \"code\": \"banner_search\",\n \"type\": \"secondary\",\n \"ui\": {\n \"text\": \"Administration Programme\",\n \"icon\": \"assets/images/ic_administration_programme.svg\",\n \"theme\": {\n \"iconBgColor\": \"#FFFFFF\",\n \"pillBgColor\": \"#FFFFFF\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"query\": \"limited attempt course\",\n \"filter\": {\n \"offset\": 0,\n \"filters\": {\n \"audience\": [],\n \"objectType\": [\n \"Content\"\n ]\n }\n }\n }\n },\n \"expiry\": \"1841807258\"\n },\n {\n \"code\": \"banner_search\",\n \"type\": \"secondary\",\n \"ui\": {\n \"text\": \"Quiz\",\n \"icon\": \"assets/images/ic_quiz.svg\",\n \"theme\": {\n \"iconBgColor\": \"#FFFFFF\",\n \"pillBgColor\": \"#FFFFFF\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"query\": \"limited attempt course\",\n \"filter\": {\n \"offset\": 0,\n \"filters\": {\n \"audience\": [],\n \"objectType\": [\n \"Content\"\n ]\n }\n }\n }\n },\n \"expiry\": \"1841807258\"\n }\n ]\n }\n }\n ]\n },\n \"rootOrgId\": \"*\"\n }\n}" + }, + "description": "https://documenter.getpostman.com/view/25186239/2sA2rAxMg6#8909d871-b3ac-460a-af36-cb96c6394b1e" + }, + "response": [] + }, + { + "name": "Form-8 - content | resource | create | *", + "request": { + "method": "POST", + "url": "{{host}}/api/data/v1/form/create", + "header": [ + { + "key": "Authorization", + "value": "Bearer {{apikey}}", + "description": "" + }, + { + "key": "Content-Type", + "value": "application/json", + "description": "" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"type\": \"content\",\n \"subType\": \"resource\",\n \"action\": \"create\",\n \"component\": \"*\",\n \"framework\": \"*\",\n \"data\": {\n \"templateName\": \"defaultTemplate\",\n \"action\": \"create\",\n \"fields\": [\n {\n \"code\": \"name\",\n \"dataType\": \"text\",\n \"name\": \"Name\",\n \"label\": \"Name\",\n \"description\": \"Name\",\n \"editable\": true,\n \"placeholder\": \"Name\",\n \"inputType\": \"text\",\n \"required\": false,\n \"displayProperty\": \"Editable\",\n \"visible\": true,\n \"renderingHints\": {\n \"semanticColumnWidth\": \"twelve\"\n },\n \"index\": 1\n },\n {\n \"code\": \"board\",\n \"dataType\": \"text\",\n \"name\": \"Board\",\n \"label\": \"Board\",\n \"description\": \"Education Board (Like MP Board, NCERT, etc)\",\n \"editable\": true,\n \"placeholder\": \"Board\",\n \"inputType\": \"select\",\n \"required\": false,\n \"displayProperty\": \"Editable\",\n \"visible\": true,\n \"renderingHints\": {\n \"semanticColumnWidth\": \"six\"\n },\n \"index\": 2,\n \"depends\": [\n \"gradeLevel\"\n ]\n },\n {\n \"code\": \"gradeLevel\",\n \"dataType\": \"text\",\n \"name\": \"Grade\",\n \"label\": \"Grade\",\n \"description\": \"Grade\",\n \"editable\": true,\n \"placeholder\": \"Grade\",\n \"inputType\": \"multiSelect\",\n \"required\": false,\n \"displayProperty\": \"Editable\",\n \"visible\": true,\n \"renderingHints\": {\n \"semanticColumnWidth\": \"six\"\n },\n \"index\": 3,\n \"depends\": [\n \"subject\"\n ]\n },\n {\n \"code\": \"subject\",\n \"dataType\": \"text\",\n \"name\": \"Subject\",\n \"label\": \"Subject\",\n \"description\": \"Subject of the Content to use to teach\",\n \"editable\": true,\n \"placeholder\": \"Grade\",\n \"inputType\": \"select\",\n \"required\": false,\n \"displayProperty\": \"Editable\",\n \"visible\": true,\n \"renderingHints\": {\n \"semanticColumnWidth\": \"six\"\n },\n \"index\": 4\n },\n {\n \"code\": \"medium\",\n \"dataType\": \"text\",\n \"name\": \"Medium\",\n \"label\": \"Medium\",\n \"description\": \"Medium of instruction\",\n \"editable\": true,\n \"placeholder\": \"Medium\",\n \"inputType\": \"select\",\n \"required\": false,\n \"displayProperty\": \"Editable\",\n \"visible\": true,\n \"renderingHints\": {\n \"semanticColumnWidth\": \"six\"\n },\n \"index\": 5\n },\n {\n \"code\": \"concept\",\n \"dataType\": \"text\",\n \"name\": \"Concept\",\n \"label\": \"Concepts\",\n \"description\": \"Concept\",\n \"editable\": true,\n \"placeholder\": \"Concept\",\n \"inputType\": \"Concept\",\n \"required\": false,\n \"displayProperty\": \"Editable\",\n \"visible\": true,\n \"renderingHints\": {\n \"semanticColumnWidth\": \"six\"\n },\n \"index\": 6\n },\n {\n \"code\": \"resourceType\",\n \"dataType\": \"text\",\n \"name\": \"Resource Type\",\n \"label\": \"Resource Type\",\n \"description\": \"Resourcetype\",\n \"editable\": true,\n \"placeholder\": \"Resource Type\",\n \"inputType\": \"select\",\n \"required\": false,\n \"displayProperty\": \"Editable\",\n \"visible\": true,\n \"renderingHints\": {\n \"semanticColumnWidth\": \"six\"\n },\n \"index\": 7,\n \"range\": [\n {\n \"key\": \"Teach\",\n \"name\": \"Teach\"\n },\n {\n \"key\": \"Practice\",\n \"name\": \"Practice\"\n },\n {\n \"key\": \"Learn\",\n \"name\": \"Learn\"\n },\n {\n \"key\": \"Test\",\n \"name\": \"Test\"\n },\n {\n \"key\": \"Play\",\n \"name\": \"Play\"\n },\n {\n \"key\": \"Read\",\n \"name\": \"Read\"\n },\n {\n \"key\": \"Experiment\",\n \"name\": \"Experiment\"\n }\n ]\n }\n ]\n },\n \"rootOrgId\": \"*\"\n }\n}" + }, + "description": "Generated from Node.js script" + }, + "response": [] + }, + { + "name": "Form-9 - user | tenantpersonainfo | get | portal", + "request": { + "method": "POST", + "url": "{{host}}/api/data/v1/form/create", + "header": [ + { + "key": "Authorization", + "value": "Bearer {{apikey}}", + "description": "" + }, + { + "key": "Content-Type", + "value": "application/json", + "description": "" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"type\": \"user\",\n \"subType\": \"tenantpersonainfo\",\n \"action\": \"get\",\n \"component\": \"portal\",\n \"framework\": \"*\",\n \"data\": {\n \"templateName\": \"tenantPersonaInfo\",\n \"action\": \"get\",\n \"fields\": [\n {\n \"code\": \"tenant\",\n \"type\": \"select\",\n \"templateOptions\": {\n \"label\": \"I wish to share my data with:\",\n \"placeHolder\": \"Select State/Institution\",\n \"options\": [\n {\n \"label\": \"State (Punjab)\",\n \"value\": \"012775810960252928563\",\n \"index\": 1\n },\n {\n \"label\": \"Andra Pradesh\",\n \"value\": \"0129109366089728000\",\n \"index\": 2\n },\n {\n \"label\": \"Haryana State\",\n \"value\": \"0127674553846579203\",\n \"index\": 3\n },\n {\n \"label\": \"Karnataka State Org\",\n \"value\": \"0127236218321879040\",\n \"index\": 4\n },\n {\n \"label\": \"Tamil Nadu\",\n \"value\": \"01269878797503692810\",\n \"index\": 5\n },\n {\n \"label\": \"NCERT\",\n \"value\": \"01283607456185548825093\",\n \"index\": 6\n },\n {\n \"label\": \"CBSE\",\n \"value\": \"0128325322816552960\",\n \"index\": 7\n },\n {\n \"label\": \"Jharkhand State Board\",\n \"value\": \"012811889750941696475\",\n \"index\": 8\n },\n {\n \"label\": \"Kerala State\",\n \"value\": \"013051342708842496208\",\n \"index\": 9\n }\n ],\n \"validations\": [\n {\n \"type\": \"required\",\n \"value\": true,\n \"message\": \"Tenant name is required\"\n }\n ]\n }\n }\n ]\n },\n \"rootOrgId\": \"*\"\n }\n}" + }, + "description": "https://documenter.getpostman.com/view/25186239/2sA2rAxMg6#8f3a8936-bec4-4a3b-b6ef-0acc22a8bc6b" + }, + "response": [] + }, + { + "name": "Form-10 - content | textbook | create | *", + "request": { + "method": "POST", + "url": "{{host}}/api/data/v1/form/create", + "header": [ + { + "key": "Authorization", + "value": "Bearer {{apikey}}", + "description": "" + }, + { + "key": "Content-Type", + "value": "application/json", + "description": "" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"type\": \"content\",\n \"subType\": \"textbook\",\n \"action\": \"create\",\n \"component\": \"*\",\n \"framework\": \"*\",\n \"data\": {\n \"templateName\": \"defaultTemplate\",\n \"action\": \"create\",\n \"fields\": [\n {\n \"code\": \"name\",\n \"dataType\": \"text\",\n \"name\": \"Name\",\n \"label\": \"Name\",\n \"description\": \"Name\",\n \"editable\": true,\n \"placeholder\": \"Name\",\n \"inputType\": \"text\",\n \"required\": false,\n \"displayProperty\": \"Editable\",\n \"visible\": true,\n \"renderingHints\": {\n \"semanticColumnWidth\": \"twelve\"\n },\n \"index\": 1,\n \"validation\": [\n {\n \"type\": \"regex\",\n \"value\": \"^[a-zA-Z0-9 &]*$\",\n \"message\": \"Invalid Input\"\n },\n {\n \"type\": \"max\",\n \"value\": \"80\",\n \"message\": \"Input is Exceded\"\n }\n ]\n },\n {\n \"code\": \"board\",\n \"dataType\": \"text\",\n \"name\": \"Board\",\n \"label\": \"Board\",\n \"description\": \"Education Board (Like MP Board, NCERT, etc)\",\n \"editable\": true,\n \"placeholder\": \"Board\",\n \"inputType\": \"select\",\n \"required\": false,\n \"displayProperty\": \"Editable\",\n \"visible\": true,\n \"renderingHints\": {\n \"semanticColumnWidth\": \"six\"\n },\n \"index\": 2,\n \"depends\": [\n \"gradeLevel\"\n ]\n },\n {\n \"code\": \"gradeLevel\",\n \"dataType\": \"text\",\n \"name\": \"Grade\",\n \"label\": \"Grade\",\n \"description\": \"Grade\",\n \"editable\": true,\n \"placeholder\": \"Grade\",\n \"inputType\": \"multiSelect\",\n \"required\": false,\n \"displayProperty\": \"Editable\",\n \"visible\": true,\n \"renderingHints\": {\n \"semanticColumnWidth\": \"six\"\n },\n \"index\": 3,\n \"depends\": [\n \"subject\"\n ]\n },\n {\n \"code\": \"subject\",\n \"dataType\": \"text\",\n \"name\": \"Subject\",\n \"label\": \"Subject\",\n \"description\": \"Subject of the Content to use to teach\",\n \"editable\": true,\n \"placeholder\": \"Grade\",\n \"inputType\": \"select\",\n \"required\": false,\n \"displayProperty\": \"Editable\",\n \"visible\": true,\n \"renderingHints\": {\n \"semanticColumnWidth\": \"six\"\n },\n \"index\": 4\n },\n {\n \"code\": \"medium\",\n \"dataType\": \"text\",\n \"name\": \"Medium\",\n \"label\": \"Medium\",\n \"description\": \"Medium of instruction\",\n \"editable\": true,\n \"placeholder\": \"Medium\",\n \"inputType\": \"select\",\n \"required\": false,\n \"displayProperty\": \"Editable\",\n \"visible\": true,\n \"renderingHints\": {\n \"semanticColumnWidth\": \"six\"\n },\n \"index\": 5\n },\n {\n \"code\": \"publisher\",\n \"dataType\": \"text\",\n \"name\": \"Publisher\",\n \"label\": \"Publisher\",\n \"description\": \"Medium of instruction\",\n \"editable\": true,\n \"placeholder\": \"Publisher\",\n \"inputType\": \"text\",\n \"required\": false,\n \"displayProperty\": \"Editable\",\n \"visible\": true,\n \"renderingHints\": {\n \"semanticColumnWidth\": \"six\"\n },\n \"index\": 6,\n \"validation\": [\n {\n \"type\": \"regex\",\n \"value\": \"^[a-zA-Z0-9]*$\",\n \"message\": \"Invalid Input\"\n },\n {\n \"type\": \"max\",\n \"value\": \"25\",\n \"message\": \"Input is Exceded\"\n }\n ]\n },\n {\n \"code\": \"year\",\n \"dataType\": \"text\",\n \"name\": \"Year\",\n \"label\": \"Year\",\n \"description\": \"Year\",\n \"editable\": true,\n \"placeholder\": \"Year\",\n \"inputType\": \"select\",\n \"required\": false,\n \"displayProperty\": \"Editable\",\n \"visible\": true,\n \"renderingHints\": {\n \"semanticColumnWidth\": \"six\"\n },\n \"index\": 7\n }\n ]\n },\n \"rootOrgId\": \"*\"\n }\n}" + }, + "description": "Generated from Node.js script" + }, + "response": [] + }, + { + "name": "Form-11 - forum | group | create | *", + "request": { + "method": "POST", + "url": "{{host}}/api/data/v1/form/create", + "header": [ + { + "key": "Authorization", + "value": "Bearer {{apikey}}", + "description": "" + }, + { + "key": "Content-Type", + "value": "application/json", + "description": "" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"type\": \"forum\",\n \"subType\": \"group\",\n \"action\": \"create\",\n \"component\": \"*\",\n \"framework\": \"*\",\n \"data\": {\n \"templateName\": \"group_create\",\n \"action\": \"create\",\n \"fields\": [\n {\n \"category\": {\n \"name\": \"General Discussion\",\n \"pid\": \"30\",\n \"uid\": \"4\",\n \"description\": \"\",\n \"context\": [\n {\n \"type\": \"group\",\n \"identifier\": \"_groupId\"\n }\n ]\n }\n }\n ]\n },\n \"rootOrgId\": \"*\"\n }\n}" + }, + "description": "https://documenter.getpostman.com/view/25186239/2sA2rAxMg6#d5fbad01-4915-4d08-ba0b-fadf7cf61a63" + }, + "response": [] + }, + { + "name": "Form-12 - contentfeedback | en | get | *", + "request": { + "method": "POST", + "url": "{{host}}/api/data/v1/form/create", + "header": [ + { + "key": "Authorization", + "value": "Bearer {{apikey}}", + "description": "" + }, + { + "key": "Content-Type", + "value": "application/json", + "description": "" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"type\": \"contentfeedback\",\n \"subType\": \"en\",\n \"action\": \"get\",\n \"component\": \"*\",\n \"framework\": \"*\",\n \"data\": {\n \"templateName\": \"contentfeedback\",\n \"action\": \"get\",\n \"fields\": [\n {\n \"1\": {\n \"question\": \"Would you like to tell us more?\",\n \"options\": [\n {\n \"idx\": 1,\n \"value\": \"Content is inaccurate\",\n \"key\": \"CONTENT_INACCURATE\"\n },\n {\n \"idx\": 2,\n \"value\": \"Content is not displayed properly\",\n \"key\": \"CONTENT_NOT_DISPLAYED\"\n },\n {\n \"idx\": 3,\n \"value\": \"Content is not relevant\",\n \"key\": \"CONTENT_NOT_RELEVANT\"\n },\n {\n \"idx\": 4,\n \"value\": \"Did not help me understand the concept\",\n \"key\": \"DIDNT_UNDERSTAND_CONCEPT\"\n },\n {\n \"idx\": 6,\n \"value\": \"There is a technical problem\",\n \"key\": \"TECHNICAL_PROBLEM\"\n },\n {\n \"idx\": 6,\n \"value\": \"Content is insufficient or not there\",\n \"key\": \"INSUFFICIENT_CONTENT\"\n },\n {\n \"idx\": 8,\n \"value\": \"Other\",\n \"key\": \"OTHER\"\n }\n ],\n \"ratingText\": \"Very Bad\"\n },\n \"2\": {\n \"question\": \"Would you like to tell us more?\",\n \"options\": [\n {\n \"idx\": 1,\n \"value\": \"Content is inaccurate\",\n \"key\": \"CONTENT_INACCURATE\"\n },\n {\n \"idx\": 2,\n \"value\": \"Content is not displayed properly\",\n \"key\": \"CONTENT_NOT_DISPLAYED\"\n },\n {\n \"idx\": 3,\n \"value\": \"Content is not relevant\",\n \"key\": \"CONTENT_NOT_RELEVANT\"\n },\n {\n \"idx\": 4,\n \"value\": \"Did not help me understand the concept\",\n \"key\": \"DIDNT_UNDERSTAND_CONCEPT\"\n },\n {\n \"idx\": 6,\n \"value\": \"There is a technical problem\",\n \"key\": \"TECHNICAL_PROBLEM\"\n },\n {\n \"idx\": 6,\n \"value\": \"Content is insufficient or not there\",\n \"key\": \"INSUFFICIENT_CONTENT\"\n },\n {\n \"idx\": 8,\n \"value\": \"Other\",\n \"key\": \"OTHER\"\n }\n ],\n \"ratingText\": \"Bad\"\n },\n \"3\": {\n \"question\": \"Would you like to tell us more?\",\n \"options\": [\n {\n \"idx\": 1,\n \"value\": \"Content is inaccurate\",\n \"key\": \"CONTENT_INACCURATE\"\n },\n {\n \"idx\": 2,\n \"value\": \"Content is not displayed properly\",\n \"key\": \"CONTENT_NOT_DISPLAYED\"\n },\n {\n \"idx\": 3,\n \"value\": \"Content is not relevant\",\n \"key\": \"CONTENT_NOT_RELEVANT\"\n },\n {\n \"idx\": 4,\n \"value\": \"Did not help me understand the concept\",\n \"key\": \"DIDNT_UNDERSTAND_CONCEPT\"\n },\n {\n \"idx\": 6,\n \"value\": \"There is a technical problem\",\n \"key\": \"TECHNICAL_PROBLEM\"\n },\n {\n \"idx\": 6,\n \"value\": \"Content is insufficient or not there\",\n \"key\": \"INSUFFICIENT_CONTENT\"\n },\n {\n \"idx\": 8,\n \"value\": \"Other\",\n \"key\": \"OTHER\"\n }\n ],\n \"ratingText\": \"Average\"\n },\n \"4\": {\n \"question\": \"Would you like to tell us more?\",\n \"options\": [\n {\n \"idx\": 1,\n \"value\": \"Content is inaccurate\",\n \"key\": \"CONTENT_INACCURATE\"\n },\n {\n \"idx\": 2,\n \"value\": \"Content is not displayed properly\",\n \"key\": \"CONTENT_NOT_DISPLAYED\"\n },\n {\n \"idx\": 3,\n \"value\": \"Content is not relevant\",\n \"key\": \"CONTENT_NOT_RELEVANT\"\n },\n {\n \"idx\": 4,\n \"value\": \"Did not help me understand the concept\",\n \"key\": \"DIDNT_UNDERSTAND_CONCEPT\"\n },\n {\n \"idx\": 6,\n \"value\": \"There is a technical problem\",\n \"key\": \"TECHNICAL_PROBLEM\"\n },\n {\n \"idx\": 6,\n \"value\": \"Content is insufficient or not there\",\n \"key\": \"INSUFFICIENT_CONTENT\"\n },\n {\n \"idx\": 8,\n \"value\": \"Other\",\n \"key\": \"OTHER\"\n }\n ],\n \"ratingText\": \"Good\"\n },\n \"5\": {\n \"question\": \"Would you like to tell us more?\",\n \"options\": [\n {\n \"idx\": 1,\n \"value\": \"Understood the concept well\",\n \"key\": \"UNDERSTOOD_CONCEPT\"\n },\n {\n \"idx\": 2,\n \"value\": \"Helped me prepare for my exam\",\n \"key\": \"HELPED_IN_EXAM\"\n },\n {\n \"idx\": 3,\n \"value\": \"Learnt something new\",\n \"key\": \"LEARNT_SOMETHING\"\n },\n {\n \"idx\": 4,\n \"value\": \"Helped me teach my class\",\n \"key\": \"HELPED_IN_CLASS\"\n },\n {\n \"idx\": 6,\n \"value\": \"Content is interesting and fun\",\n \"key\": \"CONTENT_INTERESTING\"\n },\n {\n \"idx\": 7,\n \"value\": \"Other\",\n \"key\": \"OTHER\"\n }\n ],\n \"ratingText\": \"Excellent\"\n }\n }\n ]\n },\n \"rootOrgId\": \"*\"\n }\n}" + }, + "description": "https://documenter.getpostman.com/view/25186239/2sA2rAxMg6#b6fce00e-2779-43df-9fb2-c752605a940c" + }, + "response": [] + }, + { + "name": "Form-13 - content | collaboration | search | *", + "request": { + "method": "POST", + "url": "{{host}}/api/data/v1/form/create", + "header": [ + { + "key": "Authorization", + "value": "Bearer {{apikey}}", + "description": "" + }, + { + "key": "Content-Type", + "value": "application/json", + "description": "" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"type\": \"content\",\n \"subType\": \"collaboration\",\n \"action\": \"search\",\n \"component\": \"*\",\n \"framework\": \"*\",\n \"data\": {\n \"templateName\": \"defaultTemplate\",\n \"action\": \"search\",\n \"fields\": [\n {\n \"code\": \"status\",\n \"dataType\": \"text\",\n \"name\": \"Status\",\n \"label\": \"Status \",\n \"description\": \"Status\",\n \"editable\": true,\n \"inputType\": \"select\",\n \"required\": false,\n \"displayProperty\": \"Editable\",\n \"visible\": true,\n \"range\": [\n {\n \"name\": \"Draft\"\n },\n {\n \"name\": \"FlagDraft\"\n },\n {\n \"name\": \"Review\"\n },\n {\n \"name\": \"Processing\"\n },\n {\n \"name\": \"Live\"\n },\n {\n \"name\": \"Unlisted\"\n },\n {\n \"name\": \"FlagReview\"\n }\n ],\n \"renderingHints\": {\n \"semanticColumnWidth\": \"four\"\n },\n \"index\": 5\n },\n {\n \"code\": \"resourceType\",\n \"dataType\": \"text\",\n \"name\": \"ResourceType\",\n \"label\": \"ResourceType \",\n \"description\": \"ResourceType\",\n \"editable\": true,\n \"inputType\": \"select\",\n \"required\": false,\n \"displayProperty\": \"Editable\",\n \"visible\": true,\n \"range\": [\n {\n \"name\": \"Teach\"\n },\n {\n \"name\": \"Practice\"\n },\n {\n \"name\": \"Learn\"\n },\n {\n \"name\": \"Test\"\n },\n {\n \"name\": \"Read\"\n },\n {\n \"name\": \"Experiment\"\n },\n {\n \"name\": \"Book\"\n },\n {\n \"name\": \"Collection\"\n },\n {\n \"name\": \"Course\"\n },\n {\n \"name\": \"Lesson Plan\"\n }\n ],\n \"renderingHints\": {\n \"semanticColumnWidth\": \"four\"\n },\n \"index\": 6\n },\n {\n \"code\": \"board\",\n \"dataType\": \"text\",\n \"name\": \"Board\",\n \"label\": \"Board/Syllabus\",\n \"description\": \"Education Board (Like MP Board, NCERT, etc)\",\n \"editable\": true,\n \"inputType\": \"select\",\n \"required\": false,\n \"displayProperty\": \"Editable\",\n \"visible\": true,\n \"renderingHints\": {\n \"semanticColumnWidth\": \"four\"\n },\n \"index\": 1\n },\n {\n \"code\": \"gradeLevel\",\n \"dataType\": \"text\",\n \"name\": \"Class\",\n \"label\": \"Grade\",\n \"description\": \"Grade\",\n \"editable\": true,\n \"inputType\": \"select\",\n \"required\": false,\n \"displayProperty\": \"Editable\",\n \"visible\": true,\n \"renderingHints\": {\n \"semanticColumnWidth\": \"four\"\n },\n \"index\": 3\n },\n {\n \"code\": \"medium\",\n \"dataType\": \"text\",\n \"name\": \"Medium\",\n \"label\": \"Medium\",\n \"description\": \"Medium of instruction\",\n \"editable\": true,\n \"inputType\": \"select\",\n \"required\": false,\n \"displayProperty\": \"Editable\",\n \"visible\": true,\n \"renderingHints\": {\n \"semanticColumnWidth\": \"four\"\n },\n \"index\": 2\n },\n {\n \"code\": \"subject\",\n \"dataType\": \"text\",\n \"name\": \"Subject\",\n \"label\": \"Subject\",\n \"description\": \"Subject of the Content to use to teach\",\n \"editable\": true,\n \"inputType\": \"select\",\n \"required\": false,\n \"displayProperty\": \"Editable\",\n \"visible\": true,\n \"renderingHints\": {\n \"semanticColumnWidth\": \"four\"\n },\n \"index\": 4\n }\n ]\n },\n \"rootOrgId\": \"*\"\n }\n}" + }, + "description": "Generated from Node.js script" + }, + "response": [] + }, + { + "name": "Form-14 - organization | organization | sign-in | *", + "request": { + "method": "POST", + "url": "{{host}}/api/data/v1/form/create", + "header": [ + { + "key": "Authorization", + "value": "Bearer {{apikey}}", + "description": "" + }, + { + "key": "Content-Type", + "value": "application/json", + "description": "" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"type\": \"organization\",\n \"subType\": \"organization\",\n \"action\": \"sign-in\",\n \"component\": \"*\",\n \"framework\": \"*\",\n \"data\": {\n \"fields\": [\n {\n \"name\": \"TN Staging SSO\",\n \"loginUrl\": \"https://ops.staging.sunbirded.org/\"\n }\n ]\n },\n \"rootOrgId\": \"*\"\n }\n}" + }, + "description": "https://documenter.getpostman.com/view/25186239/2sA2rAxMg6#40d7d664-6fbd-496b-85f8-8d3504000a46" + }, + "response": [] + }, + { + "name": "Form-15 - user | selfdeclaration | submit | portal", + "request": { + "method": "POST", + "url": "{{host}}/api/data/v1/form/create", + "header": [ + { + "key": "Authorization", + "value": "Bearer {{apikey}}", + "description": "" + }, + { + "key": "Content-Type", + "value": "application/json", + "description": "" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"type\": \"user\",\n \"subType\": \"selfdeclaration\",\n \"action\": \"submit\",\n \"component\": \"portal\",\n \"framework\": \"*\",\n \"data\": {\n \"templateName\": \"selfDeclaration\",\n \"action\": \"submit\",\n \"fields\": [\n {\n \"code\": \"externalIds\",\n \"type\": \"nested_group\",\n \"children\": [\n {\n \"code\": \"declared-ext-id\",\n \"fieldName\": \"Your ID from State/Board/Org\",\n \"type\": \"input\",\n \"templateOptions\": {\n \"labelHtml\": {\n \"contents\": \"$0\",\n \"values\": {\n \"$0\": \"ID as requested by your State/ Board/ Org\"\n }\n },\n \"placeHolder\": \"Enter ID\"\n },\n \"validations\": [\n {\n \"type\": \"pattern\",\n \"value\": \"^[^\\\"',\\\\r\\\\n|\\\\r|\\\\n]*$\",\n \"message\": \"This field does not allow you to enter special characters\"\n }\n ]\n },\n {\n \"code\": \"declared-phone\",\n \"fieldName\": \"Mobile Number\",\n \"type\": \"input\",\n \"templateOptions\": {\n \"labelHtml\": {\n \"contents\": \"$0\",\n \"values\": {\n \"$0\": \"Mobile Number for State/ Org\"\n }\n },\n \"placeHolder\": \"Enter Mobile Number\",\n \"prefix\": \"+91 -\"\n },\n \"validations\": [\n {\n \"type\": \"pattern\",\n \"value\": \"^[6-9*][0-9*]{9}$\",\n \"message\": \"Enter a valid mobile number\"\n }\n ],\n \"asyncValidation\": {\n \"marker\": \"MOBILE_OTP_VALIDATION\",\n \"message\": \"Validate your mobile number\",\n \"trigger\": \"validate\"\n }\n },\n {\n \"code\": \"declared-email\",\n \"fieldName\": \"Email Address\",\n \"type\": \"input\",\n \"templateOptions\": {\n \"placeHolder\": \"Enter email address\",\n \"label\": \"Email ID for State/ Org\"\n },\n \"validations\": [\n {\n \"type\": \"pattern\",\n \"value\": \"^[A-Za-z0-9._*%+-]+@[A-Za-z0-9.-]+\\\\.[a-z]{2,}$\",\n \"message\": \"Enter a valid email address\"\n }\n ],\n \"asyncValidation\": {\n \"marker\": \"EMAIL_OTP_VALIDATION\",\n \"message\": \"Validate your email address\",\n \"trigger\": \"validate\"\n }\n }\n ],\n \"templateOptions\": {}\n },\n {\n \"code\": \"tnc\",\n \"type\": \"checkbox\",\n \"templateOptions\": {\n \"labelHtml\": {\n \"contents\": \"$tnc $0\",\n \"values\": {\n \"$tnc\": \"I consent to provide my Profile Details and the additional details listed above with the administrators of my State / Institution. All administrators on DIKSHA are bound by the Privacy Policy and Administrator Guidelines in their use of my data.\",\n \"$url\": \"url\",\n \"$0\": \"Privacy Policy\"\n }\n }\n },\n \"validations\": [\n {\n \"type\": \"required\",\n \"value\": true,\n \"message\": \"\"\n }\n ]\n },\n {\n \"templateOptions\": {\n \"labelHtml\": {\n \"contents\": \"

$0

\",\n \"values\": {\n \"$0\": \"You can edit your details from your Profile Page\"\n }\n }\n },\n \"code\": \"consentInfo\",\n \"type\": \"label\"\n }\n ]\n },\n \"rootOrgId\": \"*\"\n }\n}" + }, + "description": "https://documenter.getpostman.com/view/25186239/2sA2rAxMg6#e1dccff6-364a-4fae-bef5-d86124b6d295" + }, + "response": [] + }, + { + "name": "Form-16 - config | usertype | get | portal", + "request": { + "method": "POST", + "url": "{{host}}/api/data/v1/form/create", + "header": [ + { + "key": "Authorization", + "value": "Bearer {{apikey}}", + "description": "" + }, + { + "key": "Content-Type", + "value": "application/json", + "description": "" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"type\": \"config\",\n \"subType\": \"usertype\",\n \"action\": \"get\",\n \"component\": \"portal\",\n \"framework\": \"*\",\n \"data\": {\n \"templateName\": \"userType\",\n \"fields\": [\n {\n \"code\": \"teacher\",\n \"name\": \"Teacher\",\n \"label\": \"frmelmnts.lbl.teacher\",\n \"visibility\": true,\n \"image\": \"guest-img1.svg\",\n \"index\": 0,\n \"searchFilter\": [\n \"Teacher\",\n \"Instructor\"\n ]\n },\n {\n \"code\": \"student\",\n \"name\": \"Student\",\n \"visibility\": true,\n \"label\": \"frmelmnts.lbl.student\",\n \"image\": \"guest-img2.svg\",\n \"index\": 1,\n \"searchFilter\": [\n \"Student\",\n \"Learner\"\n ]\n },\n {\n \"code\": \"administrator\",\n \"name\": \"School head OR Officials\",\n \"index\": 3,\n \"visibility\": true,\n \"label\": \"frmelmnts.lbl.administrator\",\n \"image\": \"guest-img5.svg\",\n \"searchFilter\": [\n \"administrator\"\n ]\n },\n {\n \"code\": \"parent\",\n \"name\": \"Parent\",\n \"index\": 2,\n \"visibility\": true,\n \"label\": \"frmelmnts.lbl.parent\",\n \"image\": \"guest-img4.svg\",\n \"searchFilter\": [\n \"Student\",\n \"Teacher\",\n \"Instructor\",\n \"Learner\"\n ]\n },\n {\n \"code\": \"other\",\n \"name\": \"Other\",\n \"visibility\": true,\n \"index\": 4,\n \"label\": \"frmelmnts.lbl.other\",\n \"image\": \"guest-img3.svg\",\n \"searchFilter\": [\n \"Student\",\n \"Teacher\",\n \"Instructor\",\n \"Learner\"\n ]\n }\n ]\n },\n \"rootOrgId\": \"*\"\n }\n}" + }, + "description": "https://documenter.getpostman.com/view/25186239/2sA2rAxMg6#454be9f0-930d-4ff0-8ead-4d24e4ba9d02" + }, + "response": [] + }, + { + "name": "Form-17 - user | framework | update | *", + "request": { + "method": "POST", + "url": "{{host}}/api/data/v1/form/create", + "header": [ + { + "key": "Authorization", + "value": "Bearer {{apikey}}", + "description": "" + }, + { + "key": "Content-Type", + "value": "application/json", + "description": "" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"type\": \"user\",\n \"subType\": \"framework\",\n \"action\": \"update\",\n \"component\": \"*\",\n \"framework\": \"*\",\n \"data\": {\n \"templateName\": \"defaultTemplate\",\n \"action\": \"update\",\n \"fields\": [\n {\n \"code\": \"board\",\n \"dataType\": \"text\",\n \"name\": \"Board\",\n \"label\": \"Board\",\n \"description\": \"Education Board (Like MP Board, NCERT, etc)\",\n \"editable\": true,\n \"inputType\": \"multi-select\",\n \"required\": true,\n \"displayProperty\": \"Editable\",\n \"visible\": true,\n \"renderingHints\": {\n \"semanticColumnWidth\": \"four\"\n },\n \"index\": 1,\n \"translation\": \"frmelmnts.lbl.boards\"\n },\n {\n \"code\": \"medium\",\n \"dataType\": \"text\",\n \"name\": \"Medium\",\n \"label\": \"Medium\",\n \"description\": \"Medium of instruction\",\n \"editable\": true,\n \"inputType\": \"multi-select\",\n \"required\": true,\n \"displayProperty\": \"Editable\",\n \"visible\": true,\n \"renderingHints\": {\n \"semanticColumnWidth\": \"four\"\n },\n \"index\": 2,\n \"translation\": \"frmelmnts.lbl.medium\"\n },\n {\n \"code\": \"gradeLevel\",\n \"dataType\": \"text\",\n \"name\": \"Class\",\n \"label\": \"Class\",\n \"description\": \"Grade\",\n \"editable\": true,\n \"inputType\": \"multi-select\",\n \"required\": true,\n \"displayProperty\": \"Editable\",\n \"visible\": true,\n \"renderingHints\": {\n \"semanticColumnWidth\": \"four\"\n },\n \"index\": 3,\n \"translation\": \"frmelmnts.lbl.class\"\n },\n {\n \"code\": \"subject\",\n \"dataType\": \"text\",\n \"name\": \"Subject\",\n \"label\": \"Subject\",\n \"description\": \"Subject of the Content to use to teach\",\n \"editable\": true,\n \"inputType\": \"multi-select\",\n \"required\": false,\n \"displayProperty\": \"Editable\",\n \"visible\": false,\n \"renderingHints\": {\n \"semanticColumnWidth\": \"four\"\n },\n \"index\": 4,\n \"translation\": \"frmelmnts.lbl.subject\"\n }\n ]\n },\n \"rootOrgId\": \"*\"\n }\n}" + }, + "description": "https://documenter.getpostman.com/view/25186239/2sA2rAxMg6#04590acd-770a-46c3-9ddd-e14a489d86c9" + }, + "response": [] + }, + { + "name": "Form-18 - profileconfig_v2 | default | get | *", + "request": { + "method": "POST", + "url": "{{host}}/api/data/v1/form/create", + "header": [ + { + "key": "Authorization", + "value": "Bearer {{apikey}}", + "description": "" + }, + { + "key": "Content-Type", + "value": "application/json", + "description": "" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"type\": \"profileconfig_v2\",\n \"subType\": \"default\",\n \"action\": \"get\",\n \"component\": \"*\",\n \"framework\": \"*\",\n \"data\": {\n \"templateName\": \"profileconfig_v2\",\n \"action\": \"get\",\n \"fields\": [\n {\n \"code\": \"name\",\n \"type\": \"input\",\n \"templateOptions\": {\n \"labelHtml\": {\n \"contents\": \"$0 *\",\n \"values\": {\n \"$0\": \"Name\"\n }\n },\n \"hidden\": true,\n \"placeHolder\": \"Enter Name\",\n \"multiple\": false\n },\n \"validations\": [\n {\n \"type\": \"required\"\n }\n ]\n },\n {\n \"code\": \"persona\",\n \"type\": \"nested_select\",\n \"templateOptions\": {\n \"hidden\": true,\n \"labelHtml\": {\n \"contents\": \"$0 *\",\n \"values\": {\n \"$0\": \"Role\"\n }\n },\n \"placeHolder\": \"Select Role\",\n \"multiple\": false,\n \"themeType\": \"material\",\n \"dataSrc\": {\n \"marker\": \"SUPPORTED_PERSONA_LIST\"\n }\n },\n \"validations\": [\n {\n \"type\": \"required\"\n }\n ],\n \"children\": {\n \"administrator\": [\n {\n \"code\": \"state\",\n \"type\": \"select\",\n \"templateOptions\": {\n \"labelHtml\": {\n \"contents\": \"$0 *\",\n \"values\": {\n \"$0\": \"State\"\n }\n },\n \"placeHolder\": \"Select State\",\n \"multiple\": false,\n \"dataSrc\": {\n \"marker\": \"STATE_LOCATION_LIST\",\n \"params\": {\n \"useCase\": \"SIGNEDIN_GUEST\"\n }\n }\n },\n \"validations\": [\n {\n \"type\": \"required\"\n }\n ]\n },\n {\n \"code\": \"district\",\n \"type\": \"select\",\n \"context\": \"state\",\n \"default\": null,\n \"templateOptions\": {\n \"labelHtml\": {\n \"contents\": \"$0 *\",\n \"values\": {\n \"$0\": \"District\"\n }\n },\n \"placeHolder\": \"Select District\",\n \"multiple\": false,\n \"dataSrc\": {\n \"marker\": \"LOCATION_LIST\",\n \"params\": {\n \"id\": \"district\",\n \"useCase\": \"SIGNEDIN_GUEST\"\n }\n }\n },\n \"validations\": [\n {\n \"type\": \"required\"\n }\n ]\n },\n {\n \"code\": \"block\",\n \"type\": \"select\",\n \"context\": \"district\",\n \"default\": null,\n \"templateOptions\": {\n \"label\": \"Block\",\n \"placeHolder\": \"Select Block\",\n \"multiple\": false,\n \"dataSrc\": {\n \"marker\": \"LOCATION_LIST\",\n \"params\": {\n \"id\": \"block\",\n \"useCase\": \"SIGNEDIN\"\n }\n }\n },\n \"validations\": []\n },\n {\n \"code\": \"cluster\",\n \"type\": \"select\",\n \"context\": \"block\",\n \"default\": null,\n \"templateOptions\": {\n \"label\": \"Cluster\",\n \"placeHolder\": \"Select Cluster\",\n \"multiple\": false,\n \"dataSrc\": {\n \"marker\": \"LOCATION_LIST\",\n \"params\": {\n \"id\": \"cluster\",\n \"useCase\": \"SIGNEDIN\"\n }\n }\n }\n },\n {\n \"code\": \"school\",\n \"type\": \"select\",\n \"context\": \"cluster\",\n \"default\": null,\n \"templateOptions\": {\n \"label\": \"School\",\n \"placeHolder\": \"Select School\",\n \"multiple\": false,\n \"dataSrc\": {\n \"marker\": \"LOCATION_LIST\",\n \"params\": {\n \"id\": \"school\",\n \"useCase\": \"SIGNEDIN\"\n }\n }\n }\n }\n ],\n \"teacher\": [\n {\n \"code\": \"state\",\n \"type\": \"select\",\n \"templateOptions\": {\n \"labelHtml\": {\n \"contents\": \"$0 *\",\n \"values\": {\n \"$0\": \"State\"\n }\n },\n \"placeHolder\": \"Select State\",\n \"multiple\": false,\n \"themeType\": \"material\",\n \"dataSrc\": {\n \"marker\": \"STATE_LOCATION_LIST\",\n \"params\": {\n \"useCase\": \"SIGNEDIN_GUEST\"\n }\n }\n },\n \"validations\": [\n {\n \"type\": \"required\"\n }\n ]\n },\n {\n \"code\": \"district\",\n \"type\": \"select\",\n \"context\": \"state\",\n \"default\": null,\n \"templateOptions\": {\n \"labelHtml\": {\n \"contents\": \"$0 *\",\n \"values\": {\n \"$0\": \"District\"\n }\n },\n \"placeHolder\": \"Select District\",\n \"multiple\": false,\n \"themeType\": \"material\",\n \"dataSrc\": {\n \"marker\": \"LOCATION_LIST\",\n \"params\": {\n \"id\": \"district\",\n \"useCase\": \"SIGNEDIN_GUEST\"\n }\n }\n },\n \"validations\": [\n {\n \"type\": \"required\"\n }\n ]\n },\n {\n \"code\": \"block\",\n \"type\": \"select\",\n \"context\": \"district\",\n \"default\": null,\n \"templateOptions\": {\n \"label\": \"Block\",\n \"placeHolder\": \"Select Block\",\n \"multiple\": false,\n \"themeType\": \"material\",\n \"dataSrc\": {\n \"marker\": \"LOCATION_LIST\",\n \"params\": {\n \"id\": \"block\",\n \"useCase\": \"SIGNEDIN\"\n }\n }\n },\n \"validations\": []\n },\n {\n \"code\": \"cluster\",\n \"type\": \"select\",\n \"context\": \"block\",\n \"default\": null,\n \"templateOptions\": {\n \"label\": \"Cluster\",\n \"placeHolder\": \"Select Cluster\",\n \"multiple\": false,\n \"themeType\": \"material\",\n \"dataSrc\": {\n \"marker\": \"LOCATION_LIST\",\n \"params\": {\n \"id\": \"cluster\",\n \"useCase\": \"SIGNEDIN\"\n }\n }\n }\n },\n {\n \"code\": \"school\",\n \"type\": \"select\",\n \"context\": \"cluster\",\n \"default\": null,\n \"templateOptions\": {\n \"label\": \"School\",\n \"placeHolder\": \"Select School\",\n \"multiple\": false,\n \"themeType\": \"material\",\n \"dataSrc\": {\n \"marker\": \"LOCATION_LIST\",\n \"params\": {\n \"id\": \"school\",\n \"useCase\": \"SIGNEDIN\"\n }\n }\n }\n }\n ],\n \"student\": [\n {\n \"code\": \"state\",\n \"type\": \"select\",\n \"templateOptions\": {\n \"labelHtml\": {\n \"contents\": \"$0 *\",\n \"values\": {\n \"$0\": \"State\"\n }\n },\n \"placeHolder\": \"Select State\",\n \"multiple\": false,\n \"themeType\": \"material\",\n \"dataSrc\": {\n \"marker\": \"STATE_LOCATION_LIST\",\n \"params\": {\n \"useCase\": \"SIGNEDIN_GUEST\"\n }\n }\n },\n \"validations\": [\n {\n \"type\": \"required\"\n }\n ]\n },\n {\n \"code\": \"district\",\n \"type\": \"select\",\n \"context\": \"state\",\n \"default\": null,\n \"templateOptions\": {\n \"labelHtml\": {\n \"contents\": \"$0 *\",\n \"values\": {\n \"$0\": \"District\"\n }\n },\n \"placeHolder\": \"Select District\",\n \"multiple\": false,\n \"themeType\": \"material\",\n \"dataSrc\": {\n \"marker\": \"LOCATION_LIST\",\n \"params\": {\n \"id\": \"district\",\n \"useCase\": \"SIGNEDIN_GUEST\"\n }\n }\n },\n \"validations\": [\n {\n \"type\": \"required\"\n }\n ]\n },\n {\n \"code\": \"block\",\n \"type\": \"select\",\n \"context\": \"district\",\n \"default\": null,\n \"templateOptions\": {\n \"label\": \"Block\",\n \"placeHolder\": \"Select Block\",\n \"multiple\": false,\n \"themeType\": \"material\",\n \"dataSrc\": {\n \"marker\": \"LOCATION_LIST\",\n \"params\": {\n \"id\": \"block\",\n \"useCase\": \"SIGNEDIN\"\n }\n }\n },\n \"validations\": []\n },\n {\n \"code\": \"cluster\",\n \"type\": \"select\",\n \"context\": \"block\",\n \"default\": null,\n \"templateOptions\": {\n \"label\": \"Cluster\",\n \"placeHolder\": \"Select Cluster\",\n \"multiple\": false,\n \"themeType\": \"material\",\n \"dataSrc\": {\n \"marker\": \"LOCATION_LIST\",\n \"params\": {\n \"id\": \"cluster\",\n \"useCase\": \"SIGNEDIN\"\n }\n }\n }\n },\n {\n \"code\": \"school\",\n \"type\": \"select\",\n \"context\": \"cluster\",\n \"default\": null,\n \"templateOptions\": {\n \"label\": \"School\",\n \"placeHolder\": \"Select School\",\n \"multiple\": false,\n \"themeType\": \"material\",\n \"dataSrc\": {\n \"marker\": \"LOCATION_LIST\",\n \"params\": {\n \"id\": \"school\",\n \"useCase\": \"SIGNEDIN\"\n }\n }\n }\n }\n ],\n \"other\": [\n {\n \"code\": \"state\",\n \"type\": \"select\",\n \"templateOptions\": {\n \"placeHolder\": \"Select State\",\n \"multiple\": false,\n \"themeType\": \"material\",\n \"dataSrc\": {\n \"marker\": \"STATE_LOCATION_LIST\",\n \"params\": {\n \"useCase\": \"SIGNEDIN_GUEST\"\n }\n }\n },\n \"validations\": [\n {\n \"type\": \"required\"\n }\n ]\n },\n {\n \"code\": \"district\",\n \"type\": \"select\",\n \"context\": \"state\",\n \"default\": null,\n \"templateOptions\": {\n \"labelHtml\": {\n \"contents\": \"$0 *\",\n \"values\": {\n \"$0\": \"District\"\n }\n },\n \"placeHolder\": \"Select District\",\n \"multiple\": false,\n \"themeType\": \"material\",\n \"dataSrc\": {\n \"marker\": \"LOCATION_LIST\",\n \"params\": {\n \"id\": \"district\",\n \"useCase\": \"SIGNEDIN_GUEST\"\n }\n }\n },\n \"validations\": [\n {\n \"type\": \"required\"\n }\n ]\n },\n {\n \"code\": \"block\",\n \"type\": \"select\",\n \"context\": \"district\",\n \"default\": null,\n \"templateOptions\": {\n \"label\": \"Block\",\n \"placeHolder\": \"Select Block\",\n \"multiple\": false,\n \"themeType\": \"material\",\n \"dataSrc\": {\n \"marker\": \"LOCATION_LIST\",\n \"params\": {\n \"id\": \"block\",\n \"useCase\": \"SIGNEDIN\"\n }\n }\n },\n \"validations\": []\n },\n {\n \"code\": \"cluster\",\n \"type\": \"select\",\n \"context\": \"block\",\n \"default\": null,\n \"templateOptions\": {\n \"label\": \"Cluster\",\n \"placeHolder\": \"Select Cluster\",\n \"multiple\": false,\n \"themeType\": \"material\",\n \"dataSrc\": {\n \"marker\": \"LOCATION_LIST\",\n \"params\": {\n \"id\": \"cluster\",\n \"useCase\": \"SIGNEDIN\"\n }\n }\n }\n },\n {\n \"code\": \"school\",\n \"type\": \"select\",\n \"context\": \"cluster\",\n \"default\": null,\n \"templateOptions\": {\n \"label\": \"School\",\n \"placeHolder\": \"Select School\",\n \"multiple\": false,\n \"themeType\": \"material\",\n \"dataSrc\": {\n \"marker\": \"LOCATION_LIST\",\n \"params\": {\n \"id\": \"school\",\n \"useCase\": \"SIGNEDIN\"\n }\n }\n }\n }\n ],\n \"parent\": [\n {\n \"code\": \"state\",\n \"type\": \"select\",\n \"templateOptions\": {\n \"labelHtml\": {\n \"contents\": \"$0 *\",\n \"values\": {\n \"$0\": \"State\"\n }\n },\n \"placeHolder\": \"Select State\",\n \"multiple\": false,\n \"themeType\": \"material\",\n \"dataSrc\": {\n \"marker\": \"STATE_LOCATION_LIST\",\n \"params\": {\n \"useCase\": \"SIGNEDIN_GUEST\"\n }\n }\n },\n \"validations\": [\n {\n \"type\": \"required\"\n }\n ]\n },\n {\n \"code\": \"district\",\n \"type\": \"select\",\n \"context\": \"state\",\n \"default\": null,\n \"templateOptions\": {\n \"labelHtml\": {\n \"contents\": \"$0 *\",\n \"values\": {\n \"$0\": \"District\"\n }\n },\n \"placeHolder\": \"Select District\",\n \"multiple\": false,\n \"themeType\": \"material\",\n \"dataSrc\": {\n \"marker\": \"LOCATION_LIST\",\n \"params\": {\n \"id\": \"district\",\n \"useCase\": \"SIGNEDIN_GUEST\"\n }\n }\n },\n \"validations\": [\n {\n \"type\": \"required\"\n }\n ]\n },\n {\n \"code\": \"block\",\n \"type\": \"select\",\n \"context\": \"district\",\n \"default\": null,\n \"templateOptions\": {\n \"label\": \"Block\",\n \"placeHolder\": \"Select Block\",\n \"multiple\": false,\n \"themeType\": \"material\",\n \"dataSrc\": {\n \"marker\": \"LOCATION_LIST\",\n \"params\": {\n \"id\": \"block\",\n \"useCase\": \"SIGNEDIN\"\n }\n }\n },\n \"validations\": []\n },\n {\n \"code\": \"cluster\",\n \"type\": \"select\",\n \"context\": \"block\",\n \"default\": null,\n \"templateOptions\": {\n \"label\": \"Cluster\",\n \"placeHolder\": \"Select Cluster\",\n \"multiple\": false,\n \"themeType\": \"material\",\n \"dataSrc\": {\n \"marker\": \"LOCATION_LIST\",\n \"params\": {\n \"id\": \"cluster\",\n \"useCase\": \"SIGNEDIN\"\n }\n }\n }\n },\n {\n \"code\": \"school\",\n \"type\": \"select\",\n \"context\": \"cluster\",\n \"default\": null,\n \"templateOptions\": {\n \"label\": \"School\",\n \"placeHolder\": \"Select School\",\n \"multiple\": false,\n \"themeType\": \"material\",\n \"dataSrc\": {\n \"marker\": \"LOCATION_LIST\",\n \"params\": {\n \"id\": \"school\",\n \"useCase\": \"SIGNEDIN\"\n }\n }\n }\n }\n ]\n }\n }\n ]\n },\n \"rootOrgId\": \"*\"\n }\n}" + }, + "description": "https://documenter.getpostman.com/view/25186239/2sA2rAxMg6#4cc54262-c098-4392-8c54-c43bc840a7f0t" + }, + "response": [] + }, + { + "name": "Form-19 - content | resource | publish | *", + "request": { + "method": "POST", + "url": "{{host}}/api/data/v1/form/create", + "header": [ + { + "key": "Authorization", + "value": "Bearer {{apikey}}", + "description": "" + }, + { + "key": "Content-Type", + "value": "application/json", + "description": "" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"type\": \"content\",\n \"subType\": \"resource\",\n \"action\": \"publish\",\n \"component\": \"*\",\n \"framework\": \"*\",\n \"data\": {\n \"templateName\": \"defaultTemplate\",\n \"action\": \"publish\",\n \"fields\": [\n {\n \"contents\": [\n {\n \"name\": \"Appropriateness\",\n \"checkList\": [\n \"No Hate speech, Abuse, Violence, Profanity\",\n \"No Sexual content, Nudity or Vulgarity\",\n \"No Discrimination or Defamation\",\n \"Is suitable for children\"\n ]\n },\n {\n \"name\": \"Content details\",\n \"checkList\": [\n \"Appropriate Title, Description\",\n \"Correct Board, Grade, Subject, Medium\",\n \"Appropriate tags such as Resource Type, Concepts\",\n \"Relevant Keywords\"\n ]\n },\n {\n \"name\": \"Usability\",\n \"checkList\": [\n \"Content plays correctly\",\n \"Can see the content clearly on Desktop and App\",\n \"Audio (if any) is clear and easy to understand\",\n \"No Spelling mistakes in the text\",\n \"Language is simple to understand\"\n ]\n }\n ],\n \"title\": \"Please confirm that ALL the following items are verified (by ticking the check-boxes) before you can publish:\"\n }\n ]\n },\n \"rootOrgId\": \"*\"\n }\n}" + }, + "description": "Generated from Node.js script" + }, + "response": [] + }, + { + "name": "Form-20 - content | upforreview | search | *", + "request": { + "method": "POST", + "url": "{{host}}/api/data/v1/form/create", + "header": [ + { + "key": "Authorization", + "value": "Bearer {{apikey}}", + "description": "" + }, + { + "key": "Content-Type", + "value": "application/json", + "description": "" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"type\": \"content\",\n \"subType\": \"upforreview\",\n \"action\": \"search\",\n \"component\": \"*\",\n \"framework\": \"*\",\n \"data\": {\n \"templateName\": \"defaultTemplate\",\n \"action\": \"search\",\n \"fields\": [\n {\n \"code\": \"board\",\n \"visible\": true,\n \"editable\": true,\n \"displayProperty\": \"Editable\",\n \"dataType\": \"text\",\n \"renderingHints\": {\n \"semanticColumnWidth\": \"four\"\n },\n \"name\": \"Board\",\n \"description\": \"Education Board (Like MP Board, NCERT, etc)\",\n \"index\": 1,\n \"inputType\": \"select\",\n \"label\": \"Board\",\n \"required\": false\n },\n {\n \"code\": \"medium\",\n \"visible\": true,\n \"editable\": true,\n \"displayProperty\": \"Editable\",\n \"dataType\": \"text\",\n \"renderingHints\": {\n \"semanticColumnWidth\": \"four\"\n },\n \"name\": \"Medium\",\n \"description\": \"Medium of instruction\",\n \"index\": 2,\n \"inputType\": \"select\",\n \"label\": \"Medium\",\n \"required\": false\n },\n {\n \"code\": \"gradeLevel\",\n \"visible\": true,\n \"editable\": true,\n \"displayProperty\": \"Editable\",\n \"dataType\": \"text\",\n \"renderingHints\": {\n \"semanticColumnWidth\": \"four\"\n },\n \"name\": \"Class\",\n \"description\": \"Grade\",\n \"index\": 3,\n \"inputType\": \"select\",\n \"label\": \"Grade\",\n \"required\": false\n },\n {\n \"code\": \"subject\",\n \"visible\": true,\n \"editable\": true,\n \"displayProperty\": \"Editable\",\n \"dataType\": \"text\",\n \"renderingHints\": {\n \"semanticColumnWidth\": \"four\"\n },\n \"name\": \"Subject\",\n \"description\": \"Subject of the Content to use to teach\",\n \"index\": 4,\n \"inputType\": \"select\",\n \"label\": \"Subject\",\n \"required\": false\n }\n ]\n },\n \"rootOrgId\": \"*\"\n }\n}" + }, + "description": "Generated from Node.js script" + }, + "response": [] + }, + { + "name": "Form-21 - content | explore-course | filter | *", + "request": { + "method": "POST", + "url": "{{host}}/api/data/v1/form/create", + "header": [ + { + "key": "Authorization", + "value": "Bearer {{apikey}}", + "description": "" + }, + { + "key": "Content-Type", + "value": "application/json", + "description": "" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"type\": \"content\",\n \"subType\": \"explore-course\",\n \"action\": \"filter\",\n \"component\": \"*\",\n \"framework\": \"*\",\n \"data\": {\n \"templateName\": \"defaultTemplate\",\n \"action\": \"filter\",\n \"fields\": [\n {\n \"code\": \"topic\",\n \"dataType\": \"text\",\n \"name\": \"Topics\",\n \"label\": \"Topics\",\n \"description\": \"Topics covered in the courses\",\n \"editable\": true,\n \"inputType\": \"topic-picker\",\n \"required\": false,\n \"displayProperty\": \"Editable\",\n \"visible\": true,\n \"renderingHints\": {\n \"semanticColumnWidth\": \"four\"\n },\n \"index\": 1\n },\n {\n \"code\": \"purpose\",\n \"dataType\": \"text\",\n \"name\": \"Purpose\",\n \"label\": \"Purpose\",\n \"description\": \"Purpose of the course\",\n \"editable\": true,\n \"inputType\": \"multi-select\",\n \"required\": false,\n \"displayProperty\": \"Editable\",\n \"visible\": true,\n \"renderingHints\": {\n \"semanticColumnWidth\": \"four\"\n },\n \"index\": 2\n },\n {\n \"code\": \"medium\",\n \"dataType\": \"text\",\n \"name\": \"Medium\",\n \"label\": \"Medium\",\n \"description\": \"Medium of Instruction\",\n \"editable\": true,\n \"inputType\": \"multi-select\",\n \"required\": false,\n \"displayProperty\": \"Editable\",\n \"visible\": true,\n \"renderingHints\": {\n \"semanticColumnWidth\": \"four\"\n },\n \"index\": 3\n },\n {\n \"code\": \"gradeLevel\",\n \"dataType\": \"text\",\n \"name\": \"Class\",\n \"label\": \"Class\",\n \"description\": \"Classes taught\",\n \"editable\": true,\n \"inputType\": \"multi-select\",\n \"required\": false,\n \"displayProperty\": \"Editable\",\n \"visible\": true,\n \"renderingHints\": {\n \"semanticColumnWidth\": \"four\"\n },\n \"index\": 4\n },\n {\n \"code\": \"subject\",\n \"dataType\": \"text\",\n \"name\": \"Subject\",\n \"label\": \"Subject\",\n \"description\": \"Subject of the Content to use to teach\",\n \"editable\": true,\n \"inputType\": \"multi-select\",\n \"required\": false,\n \"displayProperty\": \"Editable\",\n \"visible\": true,\n \"renderingHints\": {\n \"semanticColumnWidth\": \"four\"\n },\n \"index\": 5\n },\n {\n \"code\": \"channel\",\n \"dataType\": \"text\",\n \"name\": \"Organization\",\n \"label\": \"Organization\",\n \"description\": \"Organization of courses\",\n \"editable\": true,\n \"inputType\": \"multi-select\",\n \"required\": false,\n \"displayProperty\": \"Editable\",\n \"visible\": true,\n \"renderingHints\": {\n \"semanticColumnWidth\": \"four\"\n },\n \"index\": 6\n }\n ]\n },\n \"rootOrgId\": \"*\"\n }\n}" + }, + "description": "Generated from Node.js script" + }, + "response": [] + }, + { + "name": "Form-22 - content | draft | search | *", + "request": { + "method": "POST", + "url": "{{host}}/api/data/v1/form/create", + "header": [ + { + "key": "Authorization", + "value": "Bearer {{apikey}}", + "description": "" + }, + { + "key": "Content-Type", + "value": "application/json", + "description": "" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"type\": \"content\",\n \"subType\": \"draft\",\n \"action\": \"search\",\n \"component\": \"*\",\n \"framework\": \"*\",\n \"data\": {\n \"templateName\": \"defaultTemplate\",\n \"action\": \"search\",\n \"fields\": [\n {\n \"code\": \"primaryCategory\",\n \"dataType\": \"text\",\n \"name\": \"Content Type\",\n \"label\": \"Content Type\",\n \"description\": \"Content Type\",\n \"editable\": true,\n \"inputType\": \"select\",\n \"required\": false,\n \"displayProperty\": \"Editable\",\n \"visible\": true,\n \"range\": [\n {\n \"name\": \"Course\"\n },\n {\n \"name\": \"Digital Textbook\"\n },\n {\n \"name\": \"Content Playlist\"\n },\n {\n \"name\": \"Explanation Content\"\n },\n {\n \"name\": \"Learning Resource\"\n },\n {\n \"name\": \"Practice Question Set\"\n },\n {\n \"name\": \"eTextbook\"\n },\n {\n \"name\": \"Teacher Resource\"\n }\n ],\n \"renderingHints\": {\n \"semanticColumnWidth\": \"four\"\n },\n \"index\": 5\n },\n {\n \"code\": \"farmingtype\",\n \"visible\": true,\n \"editable\": true,\n \"displayProperty\": \"Editable\",\n \"dataType\": \"text\",\n \"renderingHints\": {\n \"semanticColumnWidth\": \"four\"\n },\n \"name\": \"farmingtype\",\n \"description\": \"Education farmingtype\",\n \"index\": 1,\n \"inputType\": \"select\",\n \"label\": \"Farming Type\",\n \"tooltip\": \"farmingtype\",\n \"required\": false\n },\n {\n \"code\": \"croptype\",\n \"visible\": true,\n \"editable\": true,\n \"displayProperty\": \"Editable\",\n \"dataType\": \"text\",\n \"renderingHints\": {\n \"semanticColumnWidth\": \"four\"\n },\n \"name\": \"croptype\",\n \"description\": \"Crop Type\",\n \"index\": 3,\n \"inputType\": \"select\",\n \"label\": \"Crop Type\",\n \"required\": false\n },\n {\n \"code\": \"medium\",\n \"visible\": true,\n \"editable\": true,\n \"displayProperty\": \"Editable\",\n \"dataType\": \"text\",\n \"renderingHints\": {\n \"semanticColumnWidth\": \"four\"\n },\n \"name\": \"Medium\",\n \"description\": \"Medium of instruction\",\n \"index\": 2,\n \"inputType\": \"select\",\n \"label\": \"Medium\",\n \"required\": false\n },\n {\n \"code\": \"subject\",\n \"visible\": true,\n \"editable\": true,\n \"displayProperty\": \"Editable\",\n \"dataType\": \"text\",\n \"renderingHints\": {\n \"semanticColumnWidth\": \"four\"\n },\n \"name\": \"Subject\",\n \"description\": \"Subject of the Content to use to teach\",\n \"index\": 4,\n \"inputType\": \"select\",\n \"label\": \"Subject\",\n \"required\": false\n }\n ]\n },\n \"rootOrgId\": \"*\"\n }\n}" + }, + "description": "Generated from Node.js script" + }, + "response": [] + }, + { + "name": "Form-23 - user | exclusion | onboarding | portal", + "request": { + "method": "POST", + "url": "{{host}}/api/data/v1/form/create", + "header": [ + { + "key": "Authorization", + "value": "Bearer {{apikey}}", + "description": "" + }, + { + "key": "Content-Type", + "value": "application/json", + "description": "" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"type\": \"user\",\n \"subType\": \"exclusion\",\n \"action\": \"onboarding\",\n \"component\": \"portal\",\n \"framework\": \"*\",\n \"data\": {\n \"templateName\": \"defaultTemplate\",\n \"action\": \"get\",\n \"fields\": [\n \"/certs/\",\n \"/signup/\",\n \"/recover/\",\n \"/sign-in/\",\n \"/get/dial/\",\n \"/profile/delete-user\"\n ]\n },\n \"rootOrgId\": \"*\"\n }\n}" + }, + "description": "https://documenter.getpostman.com/view/25186239/2sA2rAxMg6#ab76fdc9-1350-449c-84b7-0254bc5a1685" + }, + "response": [] + }, + { + "name": "Form-24 - content | allmycontent | search | *", + "request": { + "method": "POST", + "url": "{{host}}/api/data/v1/form/create", + "header": [ + { + "key": "Authorization", + "value": "Bearer {{apikey}}", + "description": "" + }, + { + "key": "Content-Type", + "value": "application/json", + "description": "" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"type\": \"content\",\n \"subType\": \"allmycontent\",\n \"action\": \"search\",\n \"component\": \"*\",\n \"framework\": \"*\",\n \"data\": {\n \"templateName\": \"defaultTemplate\",\n \"action\": \"search\",\n \"fields\": [\n {\n \"code\": \"status\",\n \"visible\": true,\n \"editable\": true,\n \"displayProperty\": \"Editable\",\n \"dataType\": \"text\",\n \"renderingHints\": {\n \"semanticColumnWidth\": \"four\"\n },\n \"description\": \"Status\",\n \"range\": [\n {\n \"name\": \"Draft\"\n },\n {\n \"name\": \"FlagDraft\"\n },\n {\n \"name\": \"Review\"\n },\n {\n \"name\": \"Processing\"\n },\n {\n \"name\": \"Live\"\n },\n {\n \"name\": \"Unlisted\"\n },\n {\n \"name\": \"FlagReview\"\n }\n ],\n \"index\": 5,\n \"label\": \"Status \",\n \"required\": false,\n \"name\": \"Status\",\n \"inputType\": \"select\"\n },\n {\n \"code\": \"primaryCategory\",\n \"dataType\": \"text\",\n \"name\": \"Content Type\",\n \"label\": \"Content Type\",\n \"description\": \"Content Type\",\n \"editable\": true,\n \"inputType\": \"select\",\n \"required\": false,\n \"displayProperty\": \"Editable\",\n \"visible\": true,\n \"range\": [\n {\n \"name\": \"Course\"\n },\n {\n \"name\": \"Digital Textbook\"\n },\n {\n \"name\": \"Content Playlist\"\n },\n {\n \"name\": \"Explanation Content\"\n },\n {\n \"name\": \"Learning Resource\"\n },\n {\n \"name\": \"Practice Question Set\"\n },\n {\n \"name\": \"eTextbook\"\n },\n {\n \"name\": \"Teacher Resource\"\n }\n ],\n \"renderingHints\": {\n \"semanticColumnWidth\": \"four\"\n },\n \"index\": 6\n },\n {\n \"code\": \"farmingtype\",\n \"visible\": true,\n \"editable\": true,\n \"displayProperty\": \"Editable\",\n \"dataType\": \"text\",\n \"renderingHints\": {\n \"semanticColumnWidth\": \"four\"\n },\n \"name\": \"farmingtype\",\n \"description\": \"Education FarmingType\",\n \"index\": 1,\n \"inputType\": \"select\",\n \"label\": \"Farming Type\",\n \"required\": false\n },\n {\n \"code\": \"croptype\",\n \"visible\": true,\n \"editable\": true,\n \"displayProperty\": \"Editable\",\n \"dataType\": \"text\",\n \"renderingHints\": {\n \"semanticColumnWidth\": \"four\"\n },\n \"name\": \"croptype\",\n \"description\": \"Crop Type\",\n \"index\": 3,\n \"inputType\": \"select\",\n \"label\": \"Crop Type\",\n \"required\": false\n },\n {\n \"code\": \"cropcategory\",\n \"visible\": true,\n \"editable\": true,\n \"displayProperty\": \"Editable\",\n \"dataType\": \"text\",\n \"renderingHints\": {\n \"semanticColumnWidth\": \"four\"\n },\n \"name\": \"cropcategory\",\n \"description\": \"cropcategory instruction\",\n \"index\": 2,\n \"inputType\": \"select\",\n \"label\": \"Crop Category\",\n \"required\": false\n },\n {\n \"code\": \"cropname\",\n \"visible\": true,\n \"editable\": true,\n \"displayProperty\": \"Editable\",\n \"dataType\": \"text\",\n \"renderingHints\": {\n \"semanticColumnWidth\": \"four\"\n },\n \"name\": \"cropname\",\n \"description\": \"cropname \",\n \"index\": 4,\n \"inputType\": \"select\",\n \"label\": \"Crop Name\",\n \"required\": false\n }\n ]\n },\n \"rootOrgId\": \"*\"\n }\n}" + }, + "description": "Generated from Node.js script" + }, + "response": [] + }, + { + "name": "Form-25 - certificate | course | certificatecreate | portal", + "request": { + "method": "POST", + "url": "{{host}}/api/data/v1/form/create", + "header": [ + { + "key": "Authorization", + "value": "Bearer {{apikey}}", + "description": "" + }, + { + "key": "Content-Type", + "value": "application/json", + "description": "" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"type\": \"certificate\",\n \"subType\": \"course\",\n \"action\": \"certificatecreate\",\n \"component\": \"portal\",\n \"framework\": \"*\",\n \"data\": {\n \"enableSVGEditor\": false\n },\n \"rootOrgId\": \"*\"\n }\n}" + }, + "description": "https://documenter.getpostman.com/view/25186239/2sA2rAxMg6#ce0e57da-3e4e-4266-9453-c96f4b8bf246" + }, + "response": [] + }, + { + "name": "Form-26 - user | admin_framework | create | *", + "request": { + "method": "POST", + "url": "{{host}}/api/data/v1/form/create", + "header": [ + { + "key": "Authorization", + "value": "Bearer {{apikey}}", + "description": "" + }, + { + "key": "Content-Type", + "value": "application/json", + "description": "" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"type\": \"user\",\n \"subType\": \"admin_framework\",\n \"action\": \"create\",\n \"component\": \"*\",\n \"framework\": \"*\",\n \"data\": {\n \"templateName\": \"defaultTemplate\",\n \"action\": \"create\",\n \"fields\": [\n {\n \"code\": \"board\",\n \"dataType\": \"text\",\n \"name\": \"Board\",\n \"label\": \"Board\",\n \"description\": \"Education Board (Like MP Board, NCERT, etc)\",\n \"editable\": true,\n \"inputType\": \"multi-select\",\n \"required\": true,\n \"displayProperty\": \"Editable\",\n \"visible\": true,\n \"renderingHints\": {\n \"semanticColumnWidth\": \"four\"\n },\n \"index\": 1\n },\n {\n \"code\": \"medium\",\n \"dataType\": \"text\",\n \"name\": \"Medium\",\n \"label\": \"Medium\",\n \"description\": \"Medium of instruction\",\n \"editable\": true,\n \"inputType\": \"multi-select\",\n \"required\": false,\n \"displayProperty\": \"Editable\",\n \"visible\": true,\n \"renderingHints\": {\n \"semanticColumnWidth\": \"four\"\n },\n \"index\": 2\n },\n {\n \"code\": \"gradeLevel\",\n \"dataType\": \"text\",\n \"name\": \"Class\",\n \"label\": \"Class\",\n \"description\": \"Grade\",\n \"editable\": true,\n \"inputType\": \"multi-select\",\n \"required\": false,\n \"displayProperty\": \"Editable\",\n \"visible\": true,\n \"renderingHints\": {\n \"semanticColumnWidth\": \"four\"\n },\n \"index\": 3\n },\n {\n \"code\": \"subject\",\n \"dataType\": \"text\",\n \"name\": \"Subject\",\n \"label\": \"Subject\",\n \"description\": \"Subject of the Content to use to teach\",\n \"editable\": true,\n \"inputType\": \"multi-select\",\n \"required\": false,\n \"displayProperty\": \"Editable\",\n \"visible\": false,\n \"renderingHints\": {\n \"semanticColumnWidth\": \"four\"\n },\n \"index\": 4\n }\n ]\n },\n \"rootOrgId\": \"*\"\n }\n}" + }, + "description": "Generated from Node.js script" + }, + "response": [] + }, + { + "name": "Form-27 - content | resource | requestforchanges | *", + "request": { + "method": "POST", + "url": "{{host}}/api/data/v1/form/create", + "header": [ + { + "key": "Authorization", + "value": "Bearer {{apikey}}", + "description": "" + }, + { + "key": "Content-Type", + "value": "application/json", + "description": "" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"type\": \"content\",\n \"subType\": \"resource\",\n \"action\": \"requestforchanges\",\n \"component\": \"*\",\n \"framework\": \"*\",\n \"data\": {\n \"templateName\": \"defaultTemplate\",\n \"action\": \"requestforchanges\",\n \"fields\": [\n {\n \"otherReason\": \"Other Issue(s) (if there are any other issues, tick this and provide details in the comments box)\",\n \"contents\": [\n {\n \"name\": \"Appropriateness\",\n \"checkList\": [\n \"Has Hate speech, Abuse, Violence, Profanity\",\n \"Has Sexual content, Nudity or Vulgarity\",\n \"Has Discriminatory or Defamatory content\",\n \"Is not suitable for children\"\n ]\n },\n {\n \"name\": \"Content details\",\n \"checkList\": [\n \"Inappropriate Title or Description\",\n \"Incorrect Board, Grade, Subject or Medium\",\n \"Inappropriate tags such as Resource Type or Concepts\",\n \"Irrelevant Keywords\"\n ]\n },\n {\n \"name\": \"Usability\",\n \"checkList\": [\n \"Content is NOT playing correctly\",\n \"CANNOT see the content clearly on Desktop and App\",\n \"Audio is NOT clear or NOT easy to understand\",\n \"Spelling mistakes found in text used\",\n \"Language is NOT simple to understand\"\n ]\n }\n ],\n \"title\": \"Please tick the reasons for requesting changes and provide detailed comments:\"\n }\n ]\n },\n \"rootOrgId\": \"*\"\n }\n}" + }, + "description": "Generated from Node.js script" + }, + "response": [] + }, + { + "name": "Form-28 - category | targetedcategory | homelisting | *", + "request": { + "method": "POST", + "url": "{{host}}/api/data/v1/form/create", + "header": [ + { + "key": "Authorization", + "value": "Bearer {{apikey}}", + "description": "" + }, + { + "key": "Content-Type", + "value": "application/json", + "description": "" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"type\": \"category\",\n \"subType\": \"targetedcategory\",\n \"action\": \"homelisting\",\n \"component\": \"*\",\n \"framework\": \"*\",\n \"data\": {\n \"templateName\": \"defaultTemplate\",\n \"action\": \"homeListing\",\n \"fields\": {\n \"cbse\": {\n \"teacher\": [\n {\n \"name\": \"observations\",\n \"icon\": {\n \"web\": \"assets/images/mask-image/observation_category.png\",\n \"app\": \"assets/imgs/ic_observation_category.png\"\n }\n },\n {\n \"name\": \"project\",\n \"icon\": {\n \"web\": \"\",\n \"app\": \"assets/imgs/ic_project.svg\"\n }\n }\n ]\n },\n \"ekstep_ncert_k-12\": {\n \"teacher\": [\n {\n \"name\": \"observations\",\n \"icon\": {\n \"web\": \"assets/images/mask-image/observation_category.png\",\n \"app\": \"assets/imgs/ic_observation_category.png\"\n }\n }\n ]\n },\n \"tn_k-12_5\": {\n \"teacher\": [\n {\n \"name\": \"observations\",\n \"icon\": {\n \"web\": \"assets/images/mask-image/observation_category.png\",\n \"app\": \"assets/imgs/ic_observation_category.png\"\n }\n }\n ]\n },\n \"cg_k-12\": {\n \"teacher\": [\n {\n \"name\": \"observations\",\n \"icon\": {\n \"web\": \"assets/images/mask-image/observation_category.png\",\n \"app\": \"assets/imgs/ic_observation_category.png\"\n }\n }\n ]\n },\n \"pb_k-12\": {\n \"teacher\": [\n {\n \"name\": \"observations\",\n \"icon\": {\n \"web\": \"assets/images/mask-image/observation_category.png\",\n \"app\": \"assets/imgs/ic_observation_category.png\"\n }\n }\n ]\n }\n }\n },\n \"rootOrgId\": \"*\"\n }\n}" + }, + "description": "https://documenter.getpostman.com/view/25186239/2sA2rAxMg6#c4445f1b-3199-43a7-af63-e4a9c0712bc2" + }, + "response": [] + }, + { + "name": "Form-29 - user | personas | list | portal", + "request": { + "method": "POST", + "url": "{{host}}/api/data/v1/form/create", + "header": [ + { + "key": "Authorization", + "value": "Bearer {{apikey}}", + "description": "" + }, + { + "key": "Content-Type", + "value": "application/json", + "description": "" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"type\": \"user\",\n \"subType\": \"personas\",\n \"action\": \"list\",\n \"component\": \"portal\",\n \"framework\": \"*\",\n \"data\": {\n \"templateName\": \"defaultTemplate\",\n \"action\": \"list\",\n \"fields\": [\n {\n \"code\": \"persona\",\n \"visible\": true,\n \"editable\": true,\n \"displayProperty\": \"Editable\",\n \"dataType\": \"text\",\n \"renderingHints\": {\n \"fieldColumnWidth\": \"twelve\"\n },\n \"description\": \"Select persona\",\n \"range\": [\n {\n \"index\": 1,\n \"label\": \"Teacher\",\n \"value\": \"teacher\"\n },\n {\n \"index\": 2,\n \"label\": \"Other\",\n \"value\": \"other\"\n }\n ],\n \"index\": 1,\n \"label\": \"Persona\",\n \"required\": true,\n \"name\": \"persona\",\n \"inputType\": \"select\"\n }\n ]\n },\n \"rootOrgId\": \"*\"\n }\n}" + }, + "description": "https://documenter.getpostman.com/view/25186239/2sA2rAxMg6#485a0f74-044b-4a84-8295-ab16bff370a7" + }, + "response": [] + }, + { + "name": "Form-30 - newuseronboarding | global | onboarding | portal", + "request": { + "method": "POST", + "url": "{{host}}/api/data/v1/form/create", + "header": [ + { + "key": "Authorization", + "value": "Bearer {{apikey}}", + "description": "" + }, + { + "key": "Content-Type", + "value": "application/json", + "description": "" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"type\": \"newuseronboarding\",\n \"subType\": \"global\",\n \"action\": \"onboarding\",\n \"component\": \"portal\",\n \"framework\": \"*\",\n \"data\": {\n \"fields\": {\n \"shownewUserOnboarding\": \"true\"\n }\n },\n \"rootOrgId\": \"*\"\n }\n}" + }, + "description": "https://documenter.getpostman.com/view/25186239/2sA2rAxMg6#1313543e-e456-48ef-92e7-9b2aa1056a67" + }, + "response": [] + }, + { + "name": "Form-31 - content | course | create | *", + "request": { + "method": "POST", + "url": "{{host}}/api/data/v1/form/create", + "header": [ + { + "key": "Authorization", + "value": "Bearer {{apikey}}", + "description": "" + }, + { + "key": "Content-Type", + "value": "application/json", + "description": "" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"type\": \"content\",\n \"subType\": \"course\",\n \"action\": \"create\",\n \"component\": \"*\",\n \"framework\": \"*\",\n \"data\": {\n \"templateName\": \"defaultTemplate\",\n \"action\": \"create\",\n \"fields\": [\n {\n \"code\": \"name\",\n \"dataType\": \"text\",\n \"name\": \"Name\",\n \"label\": \"Name\",\n \"description\": \"Name\",\n \"editable\": true,\n \"placeholder\": \"Name\",\n \"inputType\": \"text\",\n \"required\": false,\n \"displayProperty\": \"Editable\",\n \"visible\": true,\n \"renderingHints\": {\n \"semanticColumnWidth\": \"twelve\"\n },\n \"index\": 1\n },\n {\n \"code\": \"description\",\n \"dataType\": \"text\",\n \"name\": \"Description\",\n \"label\": \"Description\",\n \"description\": \"description\",\n \"editable\": true,\n \"placeholder\": \"Description\",\n \"inputType\": \"text\",\n \"required\": false,\n \"displayProperty\": \"Editable\",\n \"visible\": true,\n \"renderingHints\": {\n \"semanticColumnWidth\": \"twelve\"\n },\n \"index\": 2\n }\n ]\n },\n \"rootOrgId\": \"*\"\n }\n}" + }, + "description": "Generated from Node.js script" + }, + "response": [] + }, + { + "name": "Form-32 - config | faq | reportissue | portal", + "request": { + "method": "POST", + "url": "{{host}}/api/data/v1/form/create", + "header": [ + { + "key": "Authorization", + "value": "Bearer {{apikey}}", + "description": "" + }, + { + "key": "Content-Type", + "value": "application/json", + "description": "" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"type\": \"config\",\n \"subType\": \"faq\",\n \"action\": \"reportissue\",\n \"component\": \"portal\",\n \"framework\": \"*\",\n \"data\": {\n \"templateName\": \"faqReportIssue\",\n \"action\": \"reportIssue\",\n \"fields\": [\n {\n \"code\": \"category\",\n \"type\": \"nested_select\",\n \"templateOptions\": {\n \"placeHolder\": \"Select Category\",\n \"multiple\": false,\n \"hidden\": false,\n \"options\": [\n {\n \"value\": \"content\",\n \"label\": \"Content\"\n },\n {\n \"value\": \"loginRegistration\",\n \"label\": \"Login/Registration\"\n },\n {\n \"value\": \"teacherTraining\",\n \"label\": \"Teacher Training\"\n },\n {\n \"value\": \"otherissues\",\n \"label\": \"Other Issues\",\n \"dataSrc\": {\n \"action\": \"telemetry\"\n }\n }\n ]\n },\n \"validations\": [\n {\n \"type\": \"required\"\n }\n ],\n \"children\": {\n \"otherissues\": [\n {\n \"code\": \"details\",\n \"type\": \"textarea\",\n \"context\": null,\n \"templateOptions\": {\n \"label\": \"Tell us more\",\n \"placeHolder\": \"Enter Details\"\n },\n \"validations\": [\n {\n \"type\": \"maxLength\",\n \"value\": 1000\n }\n ]\n }\n ]\n }\n },\n {\n \"code\": \"subcategory\",\n \"context\": \"category\",\n \"type\": \"nested_select\",\n \"children\": {\n \"contentquality\": [\n {\n \"code\": \"details\",\n \"type\": \"textarea\",\n \"context\": null,\n \"templateOptions\": {\n \"label\": \"Tell us more\",\n \"placeHolder\": \"Enter Details\"\n },\n \"validations\": [\n {\n \"type\": \"maxLength\",\n \"value\": 1000\n }\n ]\n }\n ],\n \"contentnotplaying\": [\n {\n \"code\": \"details\",\n \"type\": \"textarea\",\n \"context\": null,\n \"templateOptions\": {\n \"label\": \"Tell us more\",\n \"placeHolder\": \"Enter Details\"\n },\n \"validations\": [\n {\n \"type\": \"maxLength\",\n \"value\": 1000\n }\n ]\n }\n ],\n \"contentavailability\": [\n {\n \"code\": \"details\",\n \"type\": \"textarea\",\n \"context\": null,\n \"templateOptions\": {\n \"label\": \"Tell us more\",\n \"placeHolder\": \"Enter Details\"\n },\n \"validations\": [\n {\n \"type\": \"maxLength\",\n \"value\": 1000\n }\n ]\n },\n {\n \"code\": \"notify\",\n \"type\": \"checkbox\",\n \"templateOptions\": {\n \"label\": \"Notify me on availability\"\n }\n }\n ],\n \"contentotherissues\": [\n {\n \"code\": \"details\",\n \"type\": \"textarea\",\n \"context\": null,\n \"templateOptions\": {\n \"label\": \"Tell us more\",\n \"placeHolder\": \"Enter Details\"\n },\n \"validations\": [\n {\n \"type\": \"maxLength\",\n \"value\": 1000\n }\n ]\n }\n ],\n \"otpissue\": [\n {\n \"code\": \"details\",\n \"type\": \"textarea\",\n \"context\": null,\n \"templateOptions\": {\n \"label\": \"Tell us more\",\n \"placeHolder\": \"Enter Details\"\n },\n \"validations\": [\n {\n \"type\": \"maxLength\",\n \"value\": 1000\n }\n ]\n }\n ],\n \"profilevalidation\": [\n {\n \"code\": \"details\",\n \"type\": \"textarea\",\n \"context\": null,\n \"templateOptions\": {\n \"label\": \"Tell us more\",\n \"placeHolder\": \"Enter Details\"\n },\n \"validations\": [\n {\n \"type\": \"maxLength\",\n \"value\": 1000\n }\n ]\n }\n ],\n \"profiledetails\": [\n {\n \"code\": \"details\",\n \"type\": \"textarea\",\n \"context\": null,\n \"templateOptions\": {\n \"label\": \"Tell us more\",\n \"placeHolder\": \"Enter Details\"\n },\n \"validations\": [\n {\n \"type\": \"maxLength\",\n \"value\": 1000\n }\n ]\n }\n ],\n \"certificate\": [\n {\n \"code\": \"details\",\n \"type\": \"textarea\",\n \"context\": null,\n \"templateOptions\": {\n \"label\": \"Tell us more\",\n \"placeHolder\": \"Enter Details\"\n },\n \"validations\": [\n {\n \"type\": \"maxLength\",\n \"value\": 1000\n }\n ]\n }\n ],\n \"teacherid\": [\n {\n \"code\": \"details\",\n \"type\": \"textarea\",\n \"context\": null,\n \"templateOptions\": {\n \"label\": \"Tell us more\",\n \"placeHolder\": \"Enter Details\"\n },\n \"validations\": [\n {\n \"type\": \"maxLength\",\n \"value\": 1000\n }\n ]\n }\n ],\n \"profileotherissues\": [\n {\n \"code\": \"details\",\n \"type\": \"textarea\",\n \"context\": null,\n \"templateOptions\": {\n \"label\": \"Tell us more\",\n \"placeHolder\": \"Enter Details\"\n },\n \"validations\": [\n {\n \"type\": \"maxLength\",\n \"value\": 1000\n }\n ]\n }\n ],\n \"teacherotherissues\": [\n {\n \"code\": \"details\",\n \"type\": \"textarea\",\n \"context\": null,\n \"templateOptions\": {\n \"label\": \"Tell us more\",\n \"placeHolder\": \"Enter Details\"\n },\n \"validations\": [\n {\n \"type\": \"maxLength\",\n \"value\": 1000\n }\n ]\n }\n ]\n },\n \"templateOptions\": {\n \"placeHolder\": \"Select Subcategory\",\n \"multiple\": false,\n \"hidden\": false,\n \"options\": {\n \"loginRegistration\": [\n {\n \"value\": \"otpissue\",\n \"label\": \"OTP Issue\",\n \"dataSrc\": {\n \"action\": \"telemetry\"\n }\n },\n {\n \"value\": \"profilevalidation\",\n \"label\": \"Profile validation/No green tick on my profile\",\n \"dataSrc\": {\n \"action\": \"contactBoard\"\n }\n },\n {\n \"value\": \"profiledetails\",\n \"label\": \"Profile details incorrect\",\n \"dataSrc\": {\n \"action\": \"contactBoard\"\n }\n },\n {\n \"value\": \"certificate\",\n \"label\": \"Certificate related\",\n \"dataSrc\": {\n \"action\": \"contactBoard\"\n }\n },\n {\n \"value\": \"teacherid\",\n \"label\": \"Teacher id\",\n \"dataSrc\": {\n \"action\": \"contactBoard\"\n }\n },\n {\n \"value\": \"profileotherissues\",\n \"label\": \"Other issues\",\n \"dataSrc\": {\n \"action\": \"contactBoard\"\n }\n }\n ],\n \"content\": [\n {\n \"value\": \"contentquality\",\n \"label\": \"Content Quality\",\n \"dataSrc\": {\n \"action\": \"telemetry\"\n }\n },\n {\n \"value\": \"contentnotplaying\",\n \"label\": \"Content not playing/downloading\",\n \"dataSrc\": {\n \"action\": \"telemetry\"\n }\n },\n {\n \"value\": \"contentavailability\",\n \"label\": \"Content availability\",\n \"dataSrc\": {\n \"action\": \"telemetry\"\n }\n },\n {\n \"value\": \"contentotherissues\",\n \"label\": \"Other Issues\",\n \"dataSrc\": {\n \"action\": \"telemetry\"\n }\n }\n ],\n \"teacherTraining\": [\n {\n \"value\": \"profilevalidation\",\n \"label\": \"Profile validation/No green tick on my profile\",\n \"dataSrc\": {\n \"action\": \"contactBoard\"\n }\n },\n {\n \"value\": \"profiledetails\",\n \"label\": \"Profile details incorrect\",\n \"dataSrc\": {\n \"action\": \"contactBoard\"\n }\n },\n {\n \"value\": \"certificate\",\n \"label\": \"Certificate related\",\n \"dataSrc\": {\n \"action\": \"contactBoard\"\n }\n },\n {\n \"value\": \"teacherotherissues\",\n \"label\": \"Other issues\",\n \"dataSrc\": {\n \"action\": \"contactBoard\"\n }\n }\n ]\n }\n }\n }\n ]\n },\n \"rootOrgId\": \"*\"\n }\n}" + }, + "description": "https://documenter.getpostman.com/view/25186239/2sA2rAxMg6#56d75403-8143-4044-ac56-a5a5724fabe3" + }, + "response": [] + }, + { + "name": "Form-33 - group | activities | list | portal", + "request": { + "method": "POST", + "url": "{{host}}/api/data/v1/form/create", + "header": [ + { + "key": "Authorization", + "value": "Bearer {{apikey}}", + "description": "" + }, + { + "key": "Content-Type", + "value": "application/json", + "description": "" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"type\": \"group\",\n \"subType\": \"activities\",\n \"action\": \"list\",\n \"component\": \"portal\",\n \"framework\": \"*\",\n \"data\": {\n \"templateName\": \"activities\",\n \"action\": \"list\",\n \"fields\": [\n {\n \"isEnabled\": true,\n \"index\": 0,\n \"filters\": {\n \"contentType\": [\n \"Course\"\n ]\n },\n \"title\": \"ACTIVITY_COURSE_TITLE\",\n \"activityType\": \"Content\",\n \"desc\": \"ACTIVITY_COURSE_DESC\"\n },\n {\n \"isEnabled\": false,\n \"index\": 1,\n \"filters\": {\n \"contentType\": [\n \"TextBook\"\n ]\n },\n \"title\": \"ACTIVITY_TEXTBOOK_TITLE\",\n \"activityType\": \"Content\",\n \"desc\": \"ACTIVITY_TEXTBOOK_DESC\"\n }\n ]\n },\n \"rootOrgId\": \"*\"\n }\n}" + }, + "description": "https://documenter.getpostman.com/view/25186239/2sA2rAxMg6#266ee6cc-02c1-483b-bab8-315fcb2380fa" + }, + "response": [] + }, + { + "name": "Form-34 - content | published | search | *", + "request": { + "method": "POST", + "url": "{{host}}/api/data/v1/form/create", + "header": [ + { + "key": "Authorization", + "value": "Bearer {{apikey}}", + "description": "" + }, + { + "key": "Content-Type", + "value": "application/json", + "description": "" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"type\": \"content\",\n \"subType\": \"published\",\n \"action\": \"search\",\n \"component\": \"*\",\n \"framework\": \"*\",\n \"data\": {\n \"templateName\": \"defaultTemplate\",\n \"action\": \"search\",\n \"fields\": [\n {\n \"code\": \"board\",\n \"visible\": true,\n \"editable\": true,\n \"displayProperty\": \"Editable\",\n \"dataType\": \"text\",\n \"renderingHints\": {\n \"semanticColumnWidth\": \"four\"\n },\n \"name\": \"Board\",\n \"description\": \"Education Board (Like MP Board, NCERT, etc)\",\n \"index\": 1,\n \"inputType\": \"select\",\n \"label\": \"Board\",\n \"required\": false\n },\n {\n \"code\": \"gradeLevel\",\n \"visible\": true,\n \"editable\": true,\n \"displayProperty\": \"Editable\",\n \"dataType\": \"text\",\n \"renderingHints\": {\n \"semanticColumnWidth\": \"four\"\n },\n \"name\": \"Class\",\n \"description\": \"Grade\",\n \"index\": 3,\n \"inputType\": \"select\",\n \"label\": \"Grade\",\n \"required\": false\n },\n {\n \"code\": \"medium\",\n \"visible\": true,\n \"editable\": true,\n \"displayProperty\": \"Editable\",\n \"dataType\": \"text\",\n \"renderingHints\": {\n \"semanticColumnWidth\": \"four\"\n },\n \"name\": \"Medium\",\n \"description\": \"Medium of instruction\",\n \"index\": 2,\n \"inputType\": \"select\",\n \"label\": \"Medium\",\n \"required\": false\n },\n {\n \"code\": \"subject\",\n \"visible\": true,\n \"editable\": true,\n \"displayProperty\": \"Editable\",\n \"dataType\": \"text\",\n \"renderingHints\": {\n \"semanticColumnWidth\": \"four\"\n },\n \"name\": \"Subject\",\n \"description\": \"Subject of the Content to use to teach\",\n \"index\": 4,\n \"inputType\": \"select\",\n \"label\": \"Subject\",\n \"required\": false\n },\n {\n \"code\": \"primaryCategory\",\n \"dataType\": \"text\",\n \"name\": \"Content Type\",\n \"label\": \"Content Type\",\n \"description\": \"Content Type\",\n \"editable\": true,\n \"inputType\": \"select\",\n \"required\": false,\n \"displayProperty\": \"Editable\",\n \"visible\": true,\n \"range\": [\n {\n \"name\": \"Course\"\n },\n {\n \"name\": \"Digital Textbook\"\n },\n {\n \"name\": \"Content Playlist\"\n },\n {\n \"name\": \"Explanation Content\"\n },\n {\n \"name\": \"Learning Resource\"\n },\n {\n \"name\": \"Practice Question Set\"\n },\n {\n \"name\": \"eTextbook\"\n },\n {\n \"name\": \"Teacher Resource\"\n }\n ],\n \"renderingHints\": {\n \"semanticColumnWidth\": \"four\"\n },\n \"index\": 5\n }\n ]\n },\n \"rootOrgId\": \"*\"\n }\n}" + }, + "description": "Generated from Node.js script" + }, + "response": [] + }, + { + "name": "Form-35 - questionset | editor | display | *", + "request": { + "method": "POST", + "url": "{{host}}/api/data/v1/form/create", + "header": [ + { + "key": "Authorization", + "value": "Bearer {{apikey}}", + "description": "" + }, + { + "key": "Content-Type", + "value": "application/json", + "description": "" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"type\": \"questionset\",\n \"subType\": \"editor\",\n \"action\": \"display\",\n \"component\": \"*\",\n \"framework\": \"*\",\n \"data\": {\n \"templateName\": \"defaultTemplate\",\n \"action\": \"display\",\n \"fields\": [\n {\n \"type\": \"questionset\",\n \"display\": false\n }\n ]\n },\n \"rootOrgId\": \"*\"\n }\n}" + }, + "description": "Generated from Node.js script" + }, + "response": [] + }, + { + "name": "Form-36 - framework | framework-code | search | *", + "request": { + "method": "POST", + "url": "{{host}}/api/data/v1/form/create", + "header": [ + { + "key": "Authorization", + "value": "Bearer {{apikey}}", + "description": "" + }, + { + "key": "Content-Type", + "value": "application/json", + "description": "" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"type\": \"framework\",\n \"subType\": \"framework-code\",\n \"action\": \"search\",\n \"component\": \"*\",\n \"framework\": \"*\",\n \"data\": {\n \"templateName\": \"defaultTemplate\",\n \"action\": \"search\",\n \"fields\": [\n {\n \"framework\": \"TPD\"\n }\n ]\n },\n \"rootOrgId\": \"*\"\n }\n}" + }, + "description": "https://documenter.getpostman.com/view/25186239/2sA2rAxMg6#a53c1dc3-63d5-442f-8075-d76cc5be5ceb" + }, + "response": [] + }, + { + "name": "Form-37 - content | all | ownership | *", + "request": { + "method": "POST", + "url": "{{host}}/api/data/v1/form/create", + "header": [ + { + "key": "Authorization", + "value": "Bearer {{apikey}}", + "description": "" + }, + { + "key": "Content-Type", + "value": "application/json", + "description": "" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"type\": \"content\",\n \"subType\": \"all\",\n \"action\": \"ownership\",\n \"component\": \"*\",\n \"framework\": \"*\",\n \"data\": {\n \"templateName\": \"defaultTemplate\",\n \"action\": \"ownership\",\n \"fields\": [\n {\n \"ownershipType\": [\n \"createdBy\",\n \"createdFor\"\n ]\n }\n ]\n },\n \"rootOrgId\": \"*\"\n }\n}" + }, + "description": "Generated from Node.js script" + }, + "response": [] + }, + { + "name": "Form-38 - generaliseresourcebundles | global | list | portal", + "request": { + "method": "POST", + "url": "{{host}}/api/data/v1/form/create", + "header": [ + { + "key": "Authorization", + "value": "Bearer {{apikey}}", + "description": "" + }, + { + "key": "Content-Type", + "value": "application/json", + "description": "" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"type\": \"generaliseresourcebundles\",\n \"subType\": \"global\",\n \"action\": \"list\",\n \"component\": \"portal\",\n \"framework\": \"*\",\n \"data\": {\n \"templateName\": \"collectionResourceBundles\",\n \"action\": \"list\",\n \"fields\": [\n {\n \"textbook\": {\n \"trackable\": {\n \"hi\": \"all_labels_hi.json\",\n \"te\": \"all_labels_te.json\",\n \"kn\": \"all_labels_kn.json\",\n \"mr\": \"all_labels_mr.json\",\n \"en\": \"all_labels_en.json\",\n \"bn\": \"all_labels_bn.json\",\n \"ta\": \"all_labels_ta.json\",\n \"ur\": \"all_labels_ur.json\"\n },\n \"nontrackable\": {\n \"hi\": \"all_labels_hi.json\",\n \"te\": \"all_labels_te.json\",\n \"kn\": \"all_labels_kn.json\",\n \"mr\": \"all_labels_mr.json\",\n \"en\": \"all_labels_en.json\",\n \"bn\": \"all_labels_bn.json\",\n \"ta\": \"all_labels_ta.json\",\n \"ur\": \"all_labels_ur.json\"\n },\n \"key\": \"tbk\"\n },\n \"tvclass\": {\n \"trackable\": {\n \"hi\": \"all_labels_hi.json\",\n \"te\": \"all_labels_te.json\",\n \"kn\": \"all_labels_kn.json\",\n \"mr\": \"all_labels_mr.json\",\n \"en\": \"all_labels_en.json\",\n \"bn\": \"all_labels_bn.json\",\n \"ta\": \"all_labels_ta.json\",\n \"ur\": \"all_labels_ur.json\"\n },\n \"nontrackable\": {\n \"hi\": \"all_labels_hi.json\",\n \"te\": \"all_labels_te.json\",\n \"kn\": \"all_labels_kn.json\",\n \"mr\": \"all_labels_mr.json\",\n \"en\": \"all_labels_en.json\",\n \"bn\": \"all_labels_bn.json\",\n \"ta\": \"all_labels_ta.json\",\n \"ur\": \"all_labels_ur.json\"\n },\n \"key\": \"tvc\"\n },\n \"default\": {\n \"trackable\": {\n \"hi\": \"all_labels_hi.json\",\n \"te\": \"all_labels_te.json\",\n \"kn\": \"all_labels_kn.json\",\n \"mr\": \"all_labels_mr.json\",\n \"en\": \"all_labels_en.json\",\n \"bn\": \"all_labels_bn.json\",\n \"ta\": \"all_labels_ta.json\",\n \"ur\": \"all_labels_ur.json\"\n },\n \"nontrackable\": {\n \"hi\": \"all_labels_hi.json\",\n \"te\": \"all_labels_te.json\",\n \"kn\": \"all_labels_kn.json\",\n \"mr\": \"all_labels_mr.json\",\n \"en\": \"all_labels_en.json\",\n \"bn\": \"all_labels_bn.json\",\n \"ta\": \"all_labels_ta.json\",\n \"ur\": \"all_labels_ur.json\"\n },\n \"key\": \"dflt\"\n },\n \"course\": {\n \"trackable\": {\n \"hi\": \"all_labels_hi.json\",\n \"te\": \"all_labels_te.json\",\n \"kn\": \"all_labels_kn.json\",\n \"mr\": \"all_labels_mr.json\",\n \"en\": \"all_labels_en.json\",\n \"bn\": \"all_labels_bn.json\",\n \"ta\": \"all_labels_ta.json\",\n \"ur\": \"all_labels_ur.json\"\n },\n \"nontrackable\": {\n \"hi\": \"all_labels_hi.json\",\n \"te\": \"all_labels_te.json\",\n \"kn\": \"all_labels_kn.json\",\n \"mr\": \"all_labels_mr.json\",\n \"en\": \"all_labels_en.json\",\n \"bn\": \"all_labels_bn.json\",\n \"ta\": \"all_labels_ta.json\",\n \"ur\": \"all_labels_ur.json\"\n },\n \"key\": \"crs\"\n }\n }\n ]\n },\n \"rootOrgId\": \"*\"\n }\n}" + }, + "description": "https://documenter.getpostman.com/view/25186239/2sA2rAxMg6#70b771c3-95c7-4ad3-a418-38c5779a8ec2" + }, + "response": [] + }, + { + "name": "Form-39 - schemas | search | get | *", + "request": { + "method": "POST", + "url": "{{host}}/api/data/v1/form/create", + "header": [ + { + "key": "Authorization", + "value": "Bearer {{apikey}}", + "description": "" + }, + { + "key": "Content-Type", + "value": "application/json", + "description": "" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"type\": \"schemas\",\n \"subType\": \"search\",\n \"action\": \"get\",\n \"component\": \"*\",\n \"framework\": \"*\",\n \"data\": {\n \"templateName\": \"defaultTemplate\",\n \"action\": \"get\",\n \"fields\": [\n {\n \"id\": \"content\",\n \"schema\": {\n \"properties\": [\n \"name\",\n \"code\",\n \"createdOn\",\n \"lastUpdatedOn\",\n \"status\",\n \"channel\",\n \"mimeType\",\n \"osId\",\n \"contentEncoding\",\n \"contentDisposition\",\n \"mediaType\",\n \"os\",\n \"minOsVersion\",\n \"compatibilityLevel\",\n \"minGenieVersion\",\n \"minSupportedVersion\",\n \"filter\",\n \"variants\",\n \"config\",\n \"visibility\",\n \"audience\",\n \"posterImage\",\n \"badgeAssertions\",\n \"targets\",\n \"contentCredits\",\n \"appIcon\",\n \"grayScaleAppIcon\",\n \"thumbnail\",\n \"screenshots\",\n \"format\",\n \"duration\",\n \"size\",\n \"idealScreenSize\",\n \"idealScreenDensity\",\n \"releaseNotes\",\n \"pkgVersion\",\n \"semanticVersion\",\n \"versionKey\",\n \"resources\",\n \"downloadUrl\",\n \"artifactUrl\",\n \"previewUrl\",\n \"streamingUrl\",\n \"objects\",\n \"organization\",\n \"createdFor\",\n \"developer\",\n \"source\",\n \"notes\",\n \"pageNumber\",\n \"publication\",\n \"edition\",\n \"publisher\",\n \"author\",\n \"owner\",\n \"attributions\",\n \"collaborators\",\n \"creators\",\n \"contributors\",\n \"voiceCredits\",\n \"soundCredits\",\n \"imageCredits\",\n \"copyright\",\n \"license\",\n \"language\",\n \"words\",\n \"text\",\n \"forkable\",\n \"translatable\",\n \"ageGroup\",\n \"interactivityLevel\",\n \"contentType\",\n \"resourceType\",\n \"category\",\n \"templateType\",\n \"genre\",\n \"theme\",\n \"themes\",\n \"rating\",\n \"rating_a\",\n \"quality\",\n \"genieScore\",\n \"authoringScore\",\n \"popularity\",\n \"downloads\",\n \"launchUrl\",\n \"activity_class\",\n \"draftImage\",\n \"scaffolding\",\n \"feedback\",\n \"feedbackType\",\n \"teachingMode\",\n \"skills\",\n \"keywords\",\n \"domain\",\n \"dialcodes\",\n \"optStatus\",\n \"description\",\n \"instructions\",\n \"body\",\n \"oldBody\",\n \"stageIcons\",\n \"editorState\",\n \"data\",\n \"loadingMessage\",\n \"checksum\",\n \"learningObjective\",\n \"createdBy\",\n \"creator\",\n \"reviewer\",\n \"lastUpdatedBy\",\n \"lastSubmittedBy\",\n \"lastSubmittedOn\",\n \"lastPublishedBy\",\n \"lastPublishedOn\",\n \"versionDate\",\n \"origin\",\n \"originData\",\n \"versionCreatedBy\",\n \"me_totalSessionsCount\",\n \"me_creationSessions\",\n \"me_creationTimespent\",\n \"me_totalTimespent\",\n \"me_totalInteractions\",\n \"me_averageInteractionsPerMin\",\n \"me_averageSessionsPerDevice\",\n \"me_totalDevices\",\n \"me_averageTimespentPerSession\",\n \"me_averageRating\",\n \"me_totalDownloads\",\n \"me_totalSideloads\",\n \"me_totalRatings\",\n \"me_totalComments\",\n \"me_totalUsage\",\n \"me_totalLiveContentUsage\",\n \"me_usageLastWeek\",\n \"me_deletionsLastWeek\",\n \"me_lastUsedOn\",\n \"me_lastRemovedOn\",\n \"me_hierarchyLevel\",\n \"me_totalDialcodeAttached\",\n \"me_totalDialcodeLinkedToContent\",\n \"me_totalDialcode\",\n \"flagReasons\",\n \"flaggedBy\",\n \"flags\",\n \"lastFlaggedOn\",\n \"tempData\",\n \"copyType\",\n \"pragma\",\n \"publishChecklist\",\n \"publishComment\",\n \"rejectReasons\",\n \"rejectComment\",\n \"totalQuestions\",\n \"totalScore\",\n \"ownershipType\",\n \"reservedDialcodes\",\n \"dialcodeRequired\",\n \"lockKey\",\n \"badgeAssociations\",\n \"framework\",\n \"lastStatusChangedOn\",\n \"uploadError\",\n \"appId\",\n \"s3Key\",\n \"consumerId\",\n \"organisation\",\n \"nodeType\",\n \"prevState\",\n \"publishError\",\n \"publish_type\",\n \"ownedBy\",\n \"purpose\",\n \"toc_url\",\n \"reviewError\",\n \"mimeTypesCount\",\n \"contentTypesCount\",\n \"childNodes\",\n \"leafNodesCount\",\n \"depth\",\n \"SYS_INTERNAL_LAST_UPDATED_ON\",\n \"assets\",\n \"version\",\n \"qrCodeProcessId\",\n \"migratedUrl\",\n \"totalCompressedSize\",\n \"programId\",\n \"leafNodes\",\n \"editorVersion\",\n \"unitIdentifiers\",\n \"questionCategories\",\n \"certTemplate\",\n \"subject\",\n \"medium\",\n \"gradeLevel\",\n \"topic\",\n \"subDomains\",\n \"subjectCodes\",\n \"difficultyLevel\",\n \"board\",\n \"licenseterms\",\n \"copyrightYear\",\n \"organisationId\",\n \"itemSetPreviewUrl\",\n \"textbook_name\",\n \"level1Name\",\n \"level1Concept\",\n \"level2Name\",\n \"level2Concept\",\n \"level3Name\",\n \"level3Concept\",\n \"sourceURL\",\n \"me_totalTimeSpentInSec\",\n \"me_totalPlaySessionCount\",\n \"me_totalRatingsCount\",\n \"monitorable\",\n \"userConsent\",\n \"trackable\",\n \"credentials\",\n \"processId\",\n \"primaryCategory\",\n \"additionalCategories\",\n \"prevStatus\",\n \"cloudStorageKey\",\n \"batches\",\n \"year\",\n \"plugins\",\n \"showNotification\",\n \"collectionId\",\n \"learningOutcome\",\n \"displayScore\",\n \"boardIds\",\n \"gradeLevelIds\",\n \"subjectIds\",\n \"mediumIds\",\n \"topicsIds\",\n \"targetFWIds\",\n \"targetBoardIds\",\n \"targetGradeLevelIds\",\n \"targetSubjectIds\",\n \"targetMediumIds\",\n \"targetTopicIds\",\n \"maxAttempts\",\n \"se_frameworkIds\",\n \"se_boardIds\",\n \"se_subjectIds\",\n \"se_mediumIds\",\n \"se_topicIds\",\n \"se_gradeLevelIds\",\n \"se_boards\",\n \"se_subjects\",\n \"se_mediums\",\n \"se_topics\",\n \"se_gradeLevels\",\n \"farmingtype\",\n \"farmingtypeIds\",\n \"cropcategory\",\n \"cropcategoryIds\",\n \"croptype\",\n \"croptypeIds\",\n \"cropnameIds\",\n \"cropname\"\n ]\n }\n }\n ]\n },\n \"rootOrgId\": \"*\"\n }\n}" + }, + "description": "https://documenter.getpostman.com/view/25186239/2sA2rAxMg6#9092a3b9-ea4c-490b-8997-8df008881967" + }, + "response": [] + }, + { + "name": "Form-40 - forum | batch | create | *", + "request": { + "method": "POST", + "url": "{{host}}/api/data/v1/form/create", + "header": [ + { + "key": "Authorization", + "value": "Bearer {{apikey}}", + "description": "" + }, + { + "key": "Content-Type", + "value": "application/json", + "description": "" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"type\": \"forum\",\n \"subType\": \"batch\",\n \"action\": \"create\",\n \"component\": \"*\",\n \"framework\": \"*\",\n \"data\": {\n \"templateName\": \"batch_create\",\n \"action\": \"create\",\n \"fields\": [\n {\n \"category\": {\n \"name\": \"General Discussion\",\n \"pid\": \"6\",\n \"uid\": \"1\",\n \"description\": \"\",\n \"context\": [\n {\n \"type\": \"batch\",\n \"identifier\": \"_batchId\"\n }\n ]\n }\n }\n ]\n },\n \"rootOrgId\": \"*\"\n }\n}" + }, + "description": "Generated from Node.js script" + }, + "response": [] + }, + { + "name": "Form-41 - user | externalidverification | onboarding | *", + "request": { + "method": "POST", + "url": "{{host}}/api/data/v1/form/create", + "header": [ + { + "key": "Authorization", + "value": "Bearer {{apikey}}", + "description": "" + }, + { + "key": "Content-Type", + "value": "application/json", + "description": "" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"type\": \"user\",\n \"subType\": \"externalidverification\",\n \"action\": \"onboarding\",\n \"component\": \"*\",\n \"framework\": \"*\",\n \"data\": {\n \"templateName\": \"defaultTemplate\",\n \"action\": \"onboarding\",\n \"fields\": [\n {\n \"code\": \"externalIdVerificationLabels\",\n \"name\": \"externalIdVerification\",\n \"range\": [\n {\n \"headerLabel\": \"Are you a government school teacher ?\",\n \"fieldLabel\": \"Enter your teacher ID for verification\",\n \"popupHeaderLabel\": \"User Verification\",\n \"verificationSuccessfulLabel\": \"Teacher profile verified successfully\",\n \"incorrectIDLabel\": \"The ID entered is incorrect. Enter the ID again\",\n \"verficationFailureLabel\": \"Could not verify teacher profile as the ID entered is incorrect\"\n }\n ]\n }\n ]\n },\n \"rootOrgId\": \"*\"\n }\n}" + }, + "description": "https://documenter.getpostman.com/view/25186239/2sA2rAxMg6#2228f980-a47a-4e2d-a514-eef3d34798dc" + }, + "response": [] + }, + { + "name": "Form-42 - content | alltextbooks | search | *", + "request": { + "method": "POST", + "url": "{{host}}/api/data/v1/form/create", + "header": [ + { + "key": "Authorization", + "value": "Bearer {{apikey}}", + "description": "" + }, + { + "key": "Content-Type", + "value": "application/json", + "description": "" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"type\": \"content\",\n \"subType\": \"alltextbooks\",\n \"action\": \"search\",\n \"component\": \"*\",\n \"framework\": \"*\",\n \"data\": {\n \"templateName\": \"defaultTemplate\",\n \"action\": \"search\",\n \"fields\": [\n {\n \"code\": \"status\",\n \"dataType\": \"text\",\n \"description\": \"Status\",\n \"displayProperty\": \"Editable\",\n \"editable\": true,\n \"index\": 5,\n \"inputType\": \"select\",\n \"label\": \"Status \",\n \"name\": \"Status\",\n \"range\": [\n {\n \"name\": \"Draft\"\n },\n {\n \"name\": \"FlagDraft\"\n },\n {\n \"name\": \"Review\"\n },\n {\n \"name\": \"Processing\"\n },\n {\n \"name\": \"Live\"\n },\n {\n \"name\": \"Unlisted\"\n },\n {\n \"name\": \"FlagReview\"\n }\n ],\n \"renderingHints\": {\n \"semanticColumnWidth\": \"four\"\n },\n \"required\": false,\n \"visible\": true\n },\n {\n \"code\": \"board\",\n \"dataType\": \"text\",\n \"description\": \"Education Board (Like MP Board, NCERT, etc)\",\n \"displayProperty\": \"Editable\",\n \"editable\": true,\n \"index\": 1,\n \"inputType\": \"select\",\n \"label\": \"Board\",\n \"name\": \"Board\",\n \"renderingHints\": {\n \"semanticColumnWidth\": \"four\"\n },\n \"required\": false,\n \"visible\": true\n },\n {\n \"code\": \"gradeLevel\",\n \"dataType\": \"text\",\n \"description\": \"Grade\",\n \"displayProperty\": \"Editable\",\n \"editable\": true,\n \"index\": 3,\n \"inputType\": \"select\",\n \"label\": \"Grade\",\n \"name\": \"Class\",\n \"renderingHints\": {\n \"semanticColumnWidth\": \"four\"\n },\n \"required\": false,\n \"visible\": true\n },\n {\n \"code\": \"medium\",\n \"dataType\": \"text\",\n \"description\": \"Medium of instruction\",\n \"displayProperty\": \"Editable\",\n \"editable\": true,\n \"index\": 2,\n \"inputType\": \"select\",\n \"label\": \"Medium\",\n \"name\": \"Medium\",\n \"renderingHints\": {\n \"semanticColumnWidth\": \"four\"\n },\n \"required\": false,\n \"visible\": true\n },\n {\n \"code\": \"subject\",\n \"dataType\": \"text\",\n \"description\": \"Subject of the Content to use to teach\",\n \"displayProperty\": \"Editable\",\n \"editable\": true,\n \"index\": 4,\n \"inputType\": \"select\",\n \"label\": \"Subject\",\n \"name\": \"Subject\",\n \"renderingHints\": {\n \"semanticColumnWidth\": \"four\"\n },\n \"required\": false,\n \"visible\": true\n }\n ]\n },\n \"rootOrgId\": \"*\"\n }\n}" + }, + "description": "Generated from Node.js script" + }, + "response": [] + }, + { + "name": "Form-43 - content | course | search | *", + "request": { + "method": "POST", + "url": "{{host}}/api/data/v1/form/create", + "header": [ + { + "key": "Authorization", + "value": "Bearer {{apikey}}", + "description": "" + }, + { + "key": "Content-Type", + "value": "application/json", + "description": "" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"type\": \"content\",\n \"subType\": \"course\",\n \"action\": \"search\",\n \"component\": \"*\",\n \"framework\": \"*\",\n \"data\": {\n \"templateName\": \"defaultTemplate\",\n \"action\": \"search\",\n \"fields\": [\n {\n \"code\": \"concept\",\n \"visible\": false,\n \"editable\": true,\n \"displayProperty\": \"Editable\",\n \"renderingHints\": {\n \"width\": \"four\"\n },\n \"name\": \"Concepts\",\n \"description\": \"concept\",\n \"index\": 5,\n \"inputType\": \"select \",\n \"label\": \"Concepts\",\n \"required\": false\n },\n {\n \"code\": \"board\",\n \"visible\": true,\n \"editable\": true,\n \"displayProperty\": \"Editable\",\n \"renderingHints\": {\n \"width\": \"four\"\n },\n \"name\": \"Board\",\n \"description\": \"Education Board (Like MP Board, NCERT, etc)\",\n \"index\": 1,\n \"inputType\": \"select\",\n \"label\": \"Board\",\n \"required\": false\n },\n {\n \"code\": \"medium\",\n \"visible\": true,\n \"editable\": true,\n \"displayProperty\": \"Editable\",\n \"renderingHints\": {\n \"width\": \"four\"\n },\n \"name\": \"Medium\",\n \"description\": \"Medium of instruction\",\n \"index\": 4,\n \"inputType\": \"select\",\n \"label\": \"Medium\",\n \"required\": false\n },\n {\n \"code\": \"subject\",\n \"visible\": true,\n \"editable\": true,\n \"displayProperty\": \"Editable\",\n \"renderingHints\": {\n \"width\": \"four\"\n },\n \"name\": \"Subject\",\n \"description\": \"Subject of the Content to use to teach\",\n \"index\": 2,\n \"inputType\": \"select\",\n \"label\": \"Subject\",\n \"required\": false\n }\n ]\n },\n \"rootOrgId\": \"*\"\n }\n}" + }, + "description": "Generated from Node.js script" + }, + "response": [] + }, + { + "name": "Form-44 - batch | report_types | list | *", + "request": { + "method": "POST", + "url": "{{host}}/api/data/v1/form/create", + "header": [ + { + "key": "Authorization", + "value": "Bearer {{apikey}}", + "description": "" + }, + { + "key": "Content-Type", + "value": "application/json", + "description": "" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"type\": \"batch\",\n \"subType\": \"report_types\",\n \"action\": \"list\",\n \"component\": \"*\",\n \"framework\": \"*\",\n \"data\": {\n \"templateName\": \"defaultTemplate\",\n \"action\": \"list\",\n \"fields\": [\n {\n \"lang_key\": \"frmelmnts.lbl.progressExhaustReport\",\n \"encrypt\": \"false\",\n \"title\": \" Course progress exhaust\",\n \"dataset\": \"progress-exhaust\"\n },\n {\n \"lang_key\": \"frmelmnts.lbl.userExhaustReport\",\n \"encrypt\": \"true\",\n \"title\": \"User profile exhaust\",\n \"dataset\": \"userinfo-exhaust\"\n },\n {\n \"lang_key\": \"frmelmnts.lbl.qsResponseReport\",\n \"encrypt\": \"false\",\n \"title\": \"Question set report\",\n \"dataset\": \"response-exhaust\"\n }\n ]\n },\n \"rootOrgId\": \"*\"\n }\n}" + }, + "description": "https://documenter.getpostman.com/view/25186239/2sA2rAxMg6#070421ec-4f8e-4745-9907-34697f606367" + }, + "response": [] + }, + { + "name": "Form-45 - content | lessonplan | create | *", + "request": { + "method": "POST", + "url": "{{host}}/api/data/v1/form/create", + "header": [ + { + "key": "Authorization", + "value": "Bearer {{apikey}}", + "description": "" + }, + { + "key": "Content-Type", + "value": "application/json", + "description": "" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"type\": \"content\",\n \"subType\": \"lessonplan\",\n \"action\": \"create\",\n \"component\": \"*\",\n \"framework\": \"*\",\n \"data\": {\n \"templateName\": \"defaultTemplate\",\n \"action\": \"create\",\n \"fields\": [\n {\n \"code\": \"name\",\n \"dataType\": \"text\",\n \"name\": \"Name\",\n \"label\": \"Name\",\n \"description\": \"Name\",\n \"editable\": true,\n \"placeholder\": \"Name\",\n \"inputType\": \"text\",\n \"required\": false,\n \"displayProperty\": \"Editable\",\n \"visible\": true,\n \"renderingHints\": {\n \"semanticColumnWidth\": \"twelve\"\n },\n \"index\": 1\n },\n {\n \"code\": \"board\",\n \"dataType\": \"text\",\n \"name\": \"Board\",\n \"label\": \"Board\",\n \"description\": \"Education Board (Like MP Board, NCERT, etc)\",\n \"editable\": true,\n \"placeholder\": \"Board\",\n \"inputType\": \"select\",\n \"required\": false,\n \"displayProperty\": \"Editable\",\n \"visible\": true,\n \"renderingHints\": {\n \"semanticColumnWidth\": \"six\"\n },\n \"index\": 2,\n \"depends\": [\n \"gradeLevel\"\n ]\n },\n {\n \"code\": \"gradeLevel\",\n \"dataType\": \"text\",\n \"name\": \"Grade\",\n \"label\": \"Grade\",\n \"description\": \"Grade\",\n \"editable\": true,\n \"placeholder\": \"Grade\",\n \"inputType\": \"multiSelect\",\n \"required\": false,\n \"displayProperty\": \"Editable\",\n \"visible\": true,\n \"renderingHints\": {\n \"semanticColumnWidth\": \"six\"\n },\n \"index\": 3,\n \"depends\": [\n \"subject\"\n ]\n },\n {\n \"code\": \"subject\",\n \"dataType\": \"text\",\n \"name\": \"Subject\",\n \"label\": \"Subject\",\n \"description\": \"Subject of the Content to use to teach\",\n \"editable\": true,\n \"placeholder\": \"Grade\",\n \"inputType\": \"select\",\n \"required\": false,\n \"displayProperty\": \"Editable\",\n \"visible\": true,\n \"renderingHints\": {\n \"semanticColumnWidth\": \"six\"\n },\n \"index\": 4\n },\n {\n \"code\": \"medium\",\n \"dataType\": \"text\",\n \"name\": \"Medium\",\n \"label\": \"Medium\",\n \"description\": \"Medium of instruction\",\n \"editable\": true,\n \"placeholder\": \"Medium\",\n \"inputType\": \"select\",\n \"required\": false,\n \"displayProperty\": \"Editable\",\n \"visible\": true,\n \"renderingHints\": {\n \"semanticColumnWidth\": \"six\"\n },\n \"index\": 5\n }\n ]\n },\n \"rootOrgId\": \"*\"\n }\n}" + }, + "description": "Generated from Node.js script" + }, + "response": [] + }, + { + "name": "Form-46 - workspace | categories | get | *", + "request": { + "method": "POST", + "url": "{{host}}/api/data/v1/form/create", + "header": [ + { + "key": "Authorization", + "value": "Bearer {{apikey}}", + "description": "" + }, + { + "key": "Content-Type", + "value": "application/json", + "description": "" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"type\": \"workspace\",\n \"subType\": \"categories\",\n \"action\": \"get\",\n \"component\": \"*\",\n \"framework\": \"*\",\n \"data\": {\n \"templateName\": \"defaultTemplate\",\n \"action\": \"display\",\n \"fields\": [\n {\n \"code\": \"book\",\n \"name\": \"Book\",\n \"visible\": true\n },\n {\n \"code\": \"course\",\n \"name\": \"Course\",\n \"visible\": true\n },\n {\n \"code\": \"resource\",\n \"name\": \"Resource\",\n \"visible\": true\n },\n {\n \"code\": \"collection\",\n \"name\": \"Collection\",\n \"visible\": true\n },\n {\n \"code\": \"lessonPlan\",\n \"name\": \"Lesson Plan\",\n \"visible\": true\n },\n {\n \"code\": \"contentupload\",\n \"name\": \"Upload Content\",\n \"visible\": true\n },\n {\n \"code\": \"contentuploadlarge\",\n \"name\": \"Upload Large Videos(>50MB)\",\n \"visible\": true\n },\n {\n \"code\": \"assessment\",\n \"name\": \"Cource Assesment\",\n \"visible\": true\n },\n {\n \"code\": \"questionsets\",\n \"name\": \"Questionsets\",\n \"visible\": true\n }\n ]\n },\n \"rootOrgId\": \"*\"\n }\n}" + }, + "description": "Generated from Node.js script" + }, + "response": [] + }, + { + "name": "Form-47 - content | resourcebundle | search | *", + "request": { + "method": "POST", + "url": "{{host}}/api/data/v1/form/create", + "header": [ + { + "key": "Authorization", + "value": "Bearer {{apikey}}", + "description": "" + }, + { + "key": "Content-Type", + "value": "application/json", + "description": "" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"type\": \"content\",\n \"subType\": \"resourcebundle\",\n \"action\": \"search\",\n \"component\": \"*\",\n \"framework\": \"*\",\n \"data\": {\n \"templateName\": \"defaultTemplate\",\n \"action\": \"search\",\n \"fields\": [\n {\n \"code\": \"portalLanguage\",\n \"dataType\": \"text\",\n \"name\": \"Portal Language\",\n \"label\": \"Portal Language\",\n \"description\": \"Language that should be displayed on portal (Like English, Hindi etc)\",\n \"editable\": true,\n \"inputType\": \"select\",\n \"required\": false,\n \"displayProperty\": \"Editable\",\n \"visible\": true,\n \"renderingHints\": {\n \"semanticColumnWidth\": \"four\"\n },\n \"range\": [\n {\n \"value\": \"en\",\n \"label\": \"English\",\n \"dir\": \"ltr\",\n \"accessibleText\": \"English\"\n },\n {\n \"value\": \"hi\",\n \"label\": \"हिंदी\",\n \"dir\": \"ltr\",\n \"accessibleText\": \"Hindi\"\n },\n {\n \"value\": \"kn\",\n \"label\": \"ಕನ್ನಡ\",\n \"dir\": \"ltr\",\n \"accessibleText\": \"Kannada\"\n },\n {\n \"value\": \"mr\",\n \"label\": \"मराठी\",\n \"dir\": \"ltr\",\n \"accessibleText\": \"Marathi\"\n },\n {\n \"value\": \"bn\",\n \"label\": \"বাংলা\",\n \"dir\": \"ltr\",\n \"accessibleText\": \"Bengali\"\n },\n {\n \"value\": \"ta\",\n \"label\": \"தமிழ்\",\n \"dir\": \"ltr\",\n \"accessibleText\": \"Tamil\"\n },\n {\n \"value\": \"te\",\n \"label\": \"తెలుగు\",\n \"dir\": \"ltr\",\n \"accessibleText\": \"Telugu\"\n },\n {\n \"value\": \"ur\",\n \"label\": \"اردو\",\n \"dir\": \"rtl\",\n \"accessibleText\": \"Urdu\"\n },\n {\n \"value\": \"as\",\n \"label\": \"অসমীয়া\",\n \"dir\": \"ltr\",\n \"accessibleText\": \"Assamese\"\n },\n {\n \"value\": \"or\",\n \"label\": \"ଓଡ଼ିଆ\",\n \"dir\": \"ltr\",\n \"accessibleText\": \"Odia\"\n },\n {\n \"value\": \"gu\",\n \"label\": \"ગુજરાતી\",\n \"dir\": \"ltr\",\n \"accessibleText\": \"Gujarati\"\n },\n {\n \"value\": \"pa\",\n \"label\": \"ਪੰਜਾਬੀ\",\n \"dir\": \"ltr\",\n \"accessibleText\": \"Punjabi\"\n }\n ]\n }\n ]\n },\n \"rootOrgId\": \"*\"\n }\n}" + }, + "description": "https://documenter.getpostman.com/view/25186239/2sA2rAxMg6#66cfaf00-ae22-489b-b1a7-d5006f988761" + }, + "response": [] + }, + { + "name": "Form-48 - config | debugmode | get | portal", + "request": { + "method": "POST", + "url": "{{host}}/api/data/v1/form/create", + "header": [ + { + "key": "Authorization", + "value": "Bearer {{apikey}}", + "description": "" + }, + { + "key": "Content-Type", + "value": "application/json", + "description": "" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"type\": \"config\",\n \"subType\": \"debugmode\",\n \"action\": \"get\",\n \"component\": \"portal\",\n \"framework\": \"*\",\n \"data\": {\n \"templateName\": \"debugMode\",\n \"action\": \"get\",\n \"fields\": [\n {\n \"timeInterval\": \"900000\"\n }\n ]\n },\n \"rootOrgId\": \"*\"\n }\n}" + }, + "description": "https://documenter.getpostman.com/view/25186239/2sA2rAxMg6#c22481da-9b8f-4dc2-9553-3b524b38c90c" + }, + "response": [] + }, + { + "name": "Form-49 - content | explore | search | *", + "request": { + "method": "POST", + "url": "{{host}}/api/data/v1/form/create", + "header": [ + { + "key": "Authorization", + "value": "Bearer {{apikey}}", + "description": "" + }, + { + "key": "Content-Type", + "value": "application/json", + "description": "" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"type\": \"content\",\n \"subType\": \"explore\",\n \"action\": \"search\",\n \"component\": \"*\",\n \"framework\": \"*\",\n \"data\": {\n \"templateName\": \"defaultTemplate\",\n \"action\": \"search\",\n \"fields\": [\n {\n \"code\": \"board\",\n \"dataType\": \"text\",\n \"name\": \"Board\",\n \"label\": \"Board\",\n \"description\": \"Education Board (Like MP Board, NCERT, etc)\",\n \"editable\": true,\n \"inputType\": \"select\",\n \"required\": false,\n \"displayProperty\": \"Editable\",\n \"visible\": true,\n \"renderingHints\": {\n \"semanticColumnWidth\": \"three\"\n },\n \"index\": 1\n },\n {\n \"code\": \"medium\",\n \"dataType\": \"text\",\n \"name\": \"Medium\",\n \"label\": \"Medium\",\n \"description\": \"Medium of instruction\",\n \"editable\": true,\n \"inputType\": \"select\",\n \"required\": false,\n \"displayProperty\": \"Editable\",\n \"visible\": true,\n \"renderingHints\": {\n \"semanticColumnWidth\": \"three\"\n },\n \"index\": 2\n },\n {\n \"code\": \"subject\",\n \"dataType\": \"text\",\n \"name\": \"Subject\",\n \"label\": \"Subject\",\n \"description\": \"Subject of the Content to use to teach\",\n \"editable\": true,\n \"inputType\": \"select\",\n \"required\": false,\n \"displayProperty\": \"Editable\",\n \"visible\": true,\n \"renderingHints\": {\n \"semanticColumnWidth\": \"three\"\n },\n \"index\": 4\n },\n {\n \"code\": \"gradeLevel\",\n \"dataType\": \"text\",\n \"name\": \"Class\",\n \"label\": \"Class\",\n \"description\": \"Grade\",\n \"editable\": true,\n \"inputType\": \"select\",\n \"required\": false,\n \"displayProperty\": \"Editable\",\n \"visible\": true,\n \"renderingHints\": {\n \"semanticColumnWidth\": \"three\"\n },\n \"index\": 3\n }\n ]\n },\n \"rootOrgId\": \"*\"\n }\n}" + }, + "description": "Generated from Node.js script" + }, + "response": [] + }, + { + "name": "Form-50 - content | player | play | *", + "request": { + "method": "POST", + "url": "{{host}}/api/data/v1/form/create", + "header": [ + { + "key": "Authorization", + "value": "Bearer {{apikey}}", + "description": "" + }, + { + "key": "Content-Type", + "value": "application/json", + "description": "" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"type\": \"content\",\n \"subType\": \"player\",\n \"action\": \"play\",\n \"component\": \"*\",\n \"framework\": \"*\",\n \"data\": {\n \"templateName\": \"defaultTemplate\",\n \"action\": \"play\",\n \"fields\": [\n {\n \"type\": \"video-player\",\n \"version\": 2,\n \"mimeType\": [\n \"video/mp4\",\n \"video/webm\"\n ]\n },\n {\n \"type\": \"pdf-player\",\n \"version\": 2,\n \"mimeType\": [\n \"application/pdf\"\n ]\n },\n {\n \"type\": \"epub-player\",\n \"version\": 2,\n \"mimeType\": [\n \"application/epub\"\n ]\n },\n {\n \"type\": \"quml-player\",\n \"version\": 2,\n \"threshold\": 3,\n \"mimeType\": [\n \"application/vnd.sunbird.questionset\"\n ]\n }\n ]\n },\n \"rootOrgId\": \"*\"\n }\n}" + }, + "description": "Generated from Node.js script" + }, + "response": [] + }, + { + "name": "Form-51 - customresourcebundles | global | list | *", + "request": { + "method": "POST", + "url": "{{host}}/api/data/v1/form/create", + "header": [ + { + "key": "Authorization", + "value": "Bearer {{apikey}}", + "description": "" + }, + { + "key": "Content-Type", + "value": "application/json", + "description": "" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"type\": \"customresourcebundles\",\n \"subType\": \"global\",\n \"action\": \"list\",\n \"component\": \"*\",\n \"framework\": \"*\",\n \"data\": {\n \"defaultLanguage\": \"en\",\n \"en\": {\n \"frameworkCategory1\": \"Board\",\n \"frameworkCategory2\": \"Medium\",\n \"frameworkCategory3\": \"Grade\",\n \"frameworkCategory4\": \"Subject\"\n },\n \"hi\": {\n \"frameworkCategory1\": \"संगठन\",\n \"frameworkCategory2\": \"भूमिका\"\n }\n },\n \"rootOrgId\": \"*\"\n }\n}" + }, + "description": "https://documenter.getpostman.com/view/25186239/2sA2rAxMg6#82aab728-c477-4cfa-b081-b174db622cd0" + }, + "response": [] + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/postman-collection/ED-release700/Easy-Installer-7.0.postman_collection.json b/postman-collection/ED-release700/Easy-Installer-7.0.postman_collection.json new file mode 100644 index 0000000..20428fa --- /dev/null +++ b/postman-collection/ED-release700/Easy-Installer-7.0.postman_collection.json @@ -0,0 +1,49 @@ +{ + "info": { + "_postman_id": "6bcfc6f6-cc1c-4ea2-b072-13da772e0d97", + "name": "Easy-Installer-7.0", + "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", + "_exporter_id": "4214340", + "_collection_link": "https://knowlg-sunbird.postman.co/workspace/Sunbrid-ED~33366c22-8008-4247-9728-2b2df868bfef/collection/4214340-6bcfc6f6-cc1c-4ea2-b072-13da772e0d97?action=share&source=collection_link&creator=4214340" + }, + "item": [ + { + "name": "Consumption", + "item": [ + { + "name": "Portal", + "item": [] + }, + { + "name": "App", + "item": [] + } + ] + }, + { + "name": "Editors", + "item": [ + { + "name": "Question-Set-Editor", + "item": [] + }, + { + "name": "Interactive-Editor", + "item": [] + }, + { + "name": "File-Upload-Editor", + "item": [] + }, + { + "name": "Collection-Editor", + "item": [] + }, + { + "name": "Workspace", + "item": [] + } + ] + } + ] +} \ No newline at end of file diff --git a/postman-collection/collectionrelease600.json b/postman-collection/collectionrelease700.json similarity index 80% rename from postman-collection/collectionrelease600.json rename to postman-collection/collectionrelease700.json index ef46d97..5487acf 100644 --- a/postman-collection/collectionrelease600.json +++ b/postman-collection/collectionrelease700.json @@ -1,9 +1,9 @@ { "info": { - "_postman_id": "0331b2cb-883a-4cce-a325-974f0fc04463", - "name": "Oneclick Installer Release 6.0.0 - Daylight Release", + "_postman_id": "a7791ba9-e6b6-40b2-a846-727ecaffd087", + "name": "Oneclick Installer Release 7.0.0 - Daylight Release", "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", - "_exporter_id": "29559784" + "_exporter_id": "7237779" }, "item": [ { @@ -1229,7 +1229,7 @@ ], "body": { "mode": "raw", - "raw": "{\n \"request\": {\n \"id\": \"groupsTnc\",\n \"field\": \"groupsTnc\",\n \"value\": \"{\\\"latestVersion\\\":\\\"3.5.0\\\",\\\"3.5.0\\\":{\\\"url\\\":\\\"https:\\/\\/sunbirdstagingpublic.blob.core.windows.net\\/termsandcondtions\\/terms-and-conditions-v9.html#groupGuidelines\\\"}}\"\n }\n\n}" + "raw": "{\n \"request\": {\n \"id\": \"groupsTnc\",\n \"field\": \"groupsTnc\",\n \"value\": \"{\\\"latestVersion\\\":\\\"3.5.0\\\",\\\"3.5.0\\\":{\\\"url\\\":\\\"https:\\/\\/{{blob_store_path}}.blob.core.windows.net\\/termsandcondtions\\/terms-and-conditions-v9.html#groupGuidelines\\\"}}\"\n }\n\n}" }, "url": { "raw": "{{host}}/api/data/v1/system/settings/set", @@ -1361,6 +1361,54 @@ } }, "response": [] + }, + { + "name": "23 - System Settings - TncConfig", + "request": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "X-Authenticated-User-Token", + "value": "{{access_token}}" + }, + { + "key": "Authorization", + "value": "Bearer {{apikey}}" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"id\": \"tncConfig\",\n \"field\": \"tncConfig\",\n \"value\": \"{\\\"latestVersion\\\":\\\"3.5.0\\\",\\\"3.5.0\\\":{\\\"url\\\":\\\"https:\\/\\/{{blob_store_path}}.blob.core.windows.net\\/terms-and-conditions\\/terms-and-conditions-v9.html#termsOfUse\\\"}}\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{host}}/api/data/v1/system/settings/set", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "data", + "v1", + "system", + "settings", + "set" + ] + } + }, + "response": [] } ] }, @@ -3112,6 +3160,216 @@ "description": "This is used as default for all asset types. Even for image updaload as well. \n\n \nTodo: This has to fix" }, "response": [] + }, + { + "name": "ObjectCategory - Practise Question Set", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{apikey}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"objectCategory\": {\n \"name\": \"Practice Question Set\",\n \"description\":\"Practice Question Set\"\n }\n }\n}" + }, + "url": { + "raw": "{{host}}/api/object/category/v1/create", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "object", + "category", + "v1", + "create" + ] + } + }, + "response": [] + }, + { + "name": "ObjectCategory - Multiple Choice Question", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{apikey}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"objectCategory\": {\n \"name\": \"Multiple Choice Question\",\n \"description\": \"Multiple Choice Question\"\n }\n }\n}" + }, + "url": { + "raw": "{{host}}/api/object/category/v1/create", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "object", + "category", + "v1", + "create" + ] + } + }, + "response": [] + }, + { + "name": "ObjectCategory - Subjective Question", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{apikey}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"objectCategory\": {\n \"name\": \"Subjective Question\",\n \"description\": \"Subjective Question\"\n }\n }\n}" + }, + "url": { + "raw": "{{host}}/api/object/category/v1/create", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "object", + "category", + "v1", + "create" + ] + } + }, + "response": [] + }, + { + "name": "ObjectCategory - Question Paper", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{apikey}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"objectCategory\": {\n \"name\": \"Question Paper\",\n \"description\": \"Question Paper\"\n }\n }\n}" + }, + "url": { + "raw": "{{host}}/api/object/category/v1/create", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "object", + "category", + "v1", + "create" + ] + } + }, + "response": [] + }, + { + "name": "ObjectCategory - Lesson Plan Unit", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{apikey}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"objectCategory\": {\n \"name\": \"Question Paper\",\n \"description\": \"Question Paper\"\n }\n }\n}" + }, + "url": { + "raw": "{{host}}/api/object/category/v1/create", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "object", + "category", + "v1", + "create" + ] + } + }, + "response": [] + }, + { + "name": "ObjectCategory - Exam Question", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{apikey}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"objectCategory\": {\n \"name\": \"Exam Question\",\n \"description\": \"Exam Question\"\n }\n }\n}" + }, + "url": { + "raw": "{{host}}/api/object/category/v1/create", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "object", + "category", + "v1", + "create" + ] + } + }, + "response": [] } ], "description": "[https://github.com/project-sunbird/knowledge-platform/blob/master/scripts/definition-scripts/master_category_create](https://github.com/project-sunbird/knowledge-platform/blob/master/scripts/definition-scripts/master_category_create)" @@ -3172,7 +3430,7 @@ ], "body": { "mode": "raw", - "raw": "{\n \"request\": {\n \"objectCategoryDefinition\": {\n \"categoryId\": \"obj-cat:content-playlist\",\n \"targetObjectType\": \"Collection\",\n \"objectMetadata\": {\n \"config\": {},\n \"schema\": {}\n }\n }\n }\n}" + "raw": "{\n \"request\": {\n \"objectCategoryDefinition\": {\n \"categoryId\": \"obj-cat:content-playlist\",\n \"targetObjectType\": \"Collection\",\n \"objectMetadata\": {\n \"config\": {\n \"sourcingSettings\": {\n \"collection\": {\n \"maxDepth\": 4,\n \"objectType\": \"Collection\",\n \"primaryCategory\": \"Content Playlist\",\n \"isRoot\": true,\n \"iconClass\": \"fa fa-book\",\n \"children\": {},\n \"hierarchy\": {\n \"level1\": {\n \"children\": {\n \"Content\": []\n },\n \"contentType\": \"Collection\",\n \"iconClass\": \"fa fa-folder-o\",\n \"mimeType\": \"application/vnd.ekstep.content-collection\",\n \"name\": \"Collection Unit\",\n \"primaryCategory\": \"Content Playlist\"\n },\n \"level2\": {\n \"children\": {\n \"Content\": []\n },\n \"contentType\": \"Collection\",\n \"iconClass\": \"fa fa-folder-o\",\n \"mimeType\": \"application/vnd.ekstep.content-collection\",\n \"name\": \"Collection Unit\",\n \"primaryCategory\": \"Content Playlist\"\n },\n \"level3\": {\n \"children\": {\n \"Content\": []\n },\n \"contentType\": \"Collection\",\n \"iconClass\": \"fa fa-folder-o\",\n \"mimeType\": \"application/vnd.ekstep.content-collection\",\n \"name\": \"Collection Unit\",\n \"primaryCategory\": \"Content Playlist\"\n },\n \"level4\": {\n \"children\": {\n \"Content\": []\n },\n \"contentType\": \"Collection\",\n \"iconClass\": \"fa fa-folder-o\",\n \"mimeType\": \"application/vnd.ekstep.content-collection\",\n \"name\": \"Collection Unit\",\n \"primaryCategory\": \"Content Playlist\"\n }\n }\n }\n }\n },\n \"schema\": {\n \"properties\": {\n \"generateDIALCodes\": {\n \"type\": \"string\",\n \"enum\": [\n \"Yes\",\n \"No\"\n ],\n \"default\": \"Yes\"\n },\n \"trackable\": {\n \"type\": \"object\",\n \"properties\": {\n \"enabled\": {\n \"type\": \"string\",\n \"enum\": [\n \"Yes\",\n \"No\"\n ],\n \"default\": \"No\"\n },\n \"autoBatch\": {\n \"type\": \"string\",\n \"enum\": [\n \"Yes\",\n \"No\"\n ],\n \"default\": \"No\"\n }\n },\n \"default\": {\n \"enabled\": \"No\",\n \"autoBatch\": \"No\"\n },\n \"additionalProperties\": false\n },\n \"monitorable\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"string\",\n \"enum\": [\n \"progress-report\",\n \"score-report\"\n ]\n }\n },\n \"credentials\": {\n \"type\": \"object\",\n \"properties\": {\n \"enabled\": {\n \"type\": \"string\",\n \"enum\": [\n \"Yes\",\n \"No\"\n ],\n \"default\": \"No\"\n }\n },\n \"default\": {\n \"enabled\": \"No\"\n },\n \"additionalProperties\": false\n },\n \"userConsent\": {\n \"type\": \"string\",\n \"enum\": [\n \"Yes\",\n \"No\"\n ],\n \"default\": \"No\"\n },\n \"mimeType\": {\n \"type\": \"string\",\n \"enum\": [\n \"application/vnd.ekstep.content-collection\"\n ]\n }\n }\n }\n },\n \"forms\": {\n \"childMetadata\": {\n \"templateName\": \"\",\n \"required\": [],\n \"properties\": [\n {\n \"code\": \"name\",\n \"editable\": true,\n \"displayProperty\": \"Editable\",\n \"dataType\": \"text\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1 required\"\n },\n \"description\": \"Name\",\n \"index\": 1,\n \"label\": \"Name\",\n \"required\": true,\n \"name\": \"Name\",\n \"inputType\": \"text\",\n \"placeholder\": \"Name\",\n \"validations\": [\n {\n \"type\": \"maxLength\",\n \"value\": \"50\",\n \"message\": \"Input is Exceeded\"\n },\n {\n \"type\": \"required\",\n \"message\": \"Name is required\"\n }\n ]\n },\n {\n \"code\": \"description\",\n \"dataType\": \"text\",\n \"description\": \"Description of the content\",\n \"editable\": true,\n \"inputType\": \"textarea\",\n \"label\": \"Description\",\n \"name\": \"Description\",\n \"placeholder\": \"Description\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"required\": false,\n \"visible\": true\n },\n {\n \"code\": \"primaryCategory\",\n \"dataType\": \"text\",\n \"description\": \"Type\",\n \"editable\": false,\n \"renderingHints\": {},\n \"inputType\": \"select\",\n \"label\": \"Category\",\n \"name\": \"Type\",\n \"placeholder\": \"\",\n \"required\": true,\n \"visible\": true,\n \"validations\": []\n },\n {\n \"code\": \"additionalCategories\",\n \"visible\": true,\n \"editable\": true,\n \"displayProperty\": \"Editable\",\n \"dataType\": \"list\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"description\": \"Subject of the Content to use to teach\",\n \"index\": 7,\n \"label\": \"Content Additional Categories\",\n \"required\": false,\n \"name\": \"additionalCategories\",\n \"inputType\": \"nestedselect\",\n \"placeholder\": \"Content Additional Categories\"\n },\n {\n \"code\": \"subjectIds\",\n \"visible\": true,\n \"depends\": [],\n \"editable\": false,\n \"dataType\": \"list\",\n \"sourceCategory\": \"subject\",\n \"output\": \"identifier\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"description\": \"\",\n \"label\": \"Subjects covered in the course\",\n \"required\": true,\n \"name\": \"Subject\",\n \"inputType\": \"nestedselect\",\n \"placeholder\": \"Select Subject\"\n },\n {\n \"code\": \"topicsIds\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"list\",\n \"depends\": [\n \"subjectIds\"\n ],\n \"sourceCategory\": \"topic\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"name\": \"Topic\",\n \"description\": \"Choose a Topics\",\n \"inputType\": \"topicselector\",\n \"label\": \"Topic(s)\",\n \"placeholder\": \"Choose Topics\",\n \"required\": false,\n \"output\": \"identifier\"\n },\n {\n \"code\": \"copyright\",\n \"dataType\": \"text\",\n \"description\": \"Copyright\",\n \"editable\": true,\n \"index\": 4,\n \"inputType\": \"text\",\n \"label\": \"Copyright and Year:\",\n \"name\": \"Copyright\",\n \"placeholder\": \"Enter Copyright and Year\",\n \"tooltip\": \"If you are an individual, creating original content, you are the copyright holder. If you are creating this course content on behalf of an organisation, the organisation may be the copyright holder. \",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1 required\"\n },\n \"required\": true,\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"Copyright is required\"\n }\n ]\n },\n {\n \"code\": \"license\",\n \"visible\": true,\n \"editable\": true,\n \"displayProperty\": \"Editable\",\n \"dataType\": \"text\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1 required\"\n },\n \"description\": \"Subject of the Content to use to teach\",\n \"index\": 6,\n \"label\": \"License:\",\n \"required\": true,\n \"name\": \"license\",\n \"inputType\": \"select\",\n \"placeholder\": \"license\",\n \"tooltip\": \"Choose the more appropriate Creative commons license for this Content. \",\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"License is required\"\n }\n ]\n },\n {\n \"code\": \"author\",\n \"dataType\": \"text\",\n \"description\": \"Author\",\n \"editable\": true,\n \"index\": 5,\n \"inputType\": \"text\",\n \"label\": \"Author:\",\n \"name\": \"Author\",\n \"placeholder\": \"Author\",\n \"tooltip\": \"Provide name of creator of this content.\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"required\": true,\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"Author is required\"\n }\n ]\n },\n {\n \"code\": \"attributions\",\n \"dataType\": \"list\",\n \"description\": \"Attributions\",\n \"editable\": true,\n \"index\": 3,\n \"inputType\": \"text\",\n \"label\": \"Attributions :\",\n \"name\": \"attribution\",\n \"placeholder\": \"\",\n \"tooltip\": \"If you have relied on another work to create this content, provide the name of that creator and the source of that work.\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"required\": false\n },\n {\n \"code\": \"contentPolicyCheck\",\n \"visible\": true,\n \"editable\": true,\n \"displayProperty\": \"Editable\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1 required\"\n },\n \"description\": \"Content Policy check\",\n \"index\": 7,\n \"labelHtml\": \"

I agree that by submitting / publishing this Content, I confirm that this Content complies with prescribed guidelines, including the Terms of Use and Content Policy and that I consent to publish it under the Creative Commons Framework in accordance with the Content Policy. I have made sure that I do not violate others' copyright or privacy rights.

\",\n \"required\": true,\n \"name\": \"contentPolicyCheck\",\n \"inputType\": \"checkbox\",\n \"placeholder\": \"Content Policy Check\",\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"Content Policy Check is required\"\n }\n ]\n }\n ]\n },\n \"create\": {\n \"templateName\": \"\",\n \"required\": [],\n \"properties\": [\n {\n \"name\": \"First Section\",\n \"fields\": [\n {\n \"code\": \"appIcon\",\n \"dataType\": \"text\",\n \"description\": \"appIcon of the content\",\n \"editable\": true,\n \"inputType\": \"appIcon\",\n \"label\": \"Icon\",\n \"name\": \"Icon\",\n \"placeholder\": \"Icon\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1 required\"\n },\n \"required\": true,\n \"visible\": true\n },\n {\n \"code\": \"name\",\n \"dataType\": \"text\",\n \"description\": \"Name of the content\",\n \"editable\": true,\n \"inputType\": \"text\",\n \"label\": \"Title\",\n \"name\": \"Name\",\n \"placeholder\": \"Title\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1 required\"\n },\n \"required\": true,\n \"visible\": true,\n \"validations\": [\n {\n \"type\": \"maxLength\",\n \"value\": \"120\",\n \"message\": \"Input is Exceeded\"\n },\n {\n \"type\": \"required\",\n \"message\": \"Title is required\"\n }\n ]\n },\n {\n \"code\": \"description\",\n \"dataType\": \"text\",\n \"description\": \"Description of the content\",\n \"editable\": true,\n \"inputType\": \"textarea\",\n \"label\": \"Description\",\n \"name\": \"Description\",\n \"placeholder\": \"Description\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"required\": false,\n \"visible\": true,\n \"validations\": [\n {\n \"type\": \"maxLength\",\n \"value\": \"256\",\n \"message\": \"Input is Exceeded\"\n }\n ]\n },\n {\n \"code\": \"keywords\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"list\",\n \"name\": \"Keywords\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"description\": \"Keywords for the content\",\n \"inputType\": \"keywords\",\n \"label\": \"Keywords\",\n \"placeholder\": \"Input the keyword and PRESS enter\",\n \"required\": false,\n \"validations\": []\n }\n ]\n },\n {\n \"name\": \"Second Section\",\n \"fields\": [\n {\n \"code\": \"dialcodeRequired\",\n \"dataType\": \"text\",\n \"description\": \"QR CODE REQUIRED\",\n \"editable\": true,\n \"default\": \"No\",\n \"index\": 5,\n \"inputType\": \"radio\",\n \"label\": \"QR code required\",\n \"name\": \"dialcodeRequired\",\n \"placeholder\": \"QR code required\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"range\": [\n \"Yes\",\n \"No\"\n ],\n \"required\": false,\n \"visible\": true\n },\n {\n \"code\": \"dialcodes\",\n \"depends\": [\n \"dialcodeRequired\"\n ],\n \"dataType\": \"list\",\n \"description\": \"Digital Infrastructure for Augmented Learning\",\n \"editable\": true,\n \"inputType\": \"dialcode\",\n \"label\": \"QR code\",\n \"name\": \"dialcode\",\n \"placeholder\": \"Enter code here\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"required\": true,\n \"visible\": true,\n \"validations\": [\n {\n \"type\": \"minLength\",\n \"value\": \"2\"\n },\n {\n \"type\": \"maxLength\",\n \"value\": \"20\"\n }\n ]\n }\n ]\n },\n {\n \"name\": \"Second Section\",\n \"fields\": [\n {\n \"code\": \"primaryCategory\",\n \"dataType\": \"text\",\n \"description\": \"Type\",\n \"editable\": false,\n \"renderingHints\": {},\n \"inputType\": \"select\",\n \"label\": \"Category\",\n \"name\": \"Type\",\n \"placeholder\": \"\",\n \"required\": true,\n \"visible\": true,\n \"validations\": []\n },\n {\n \"code\": \"additionalCategories\",\n \"dataType\": \"list\",\n \"depends\": [\n \"primaryCategory\"\n ],\n \"description\": \"Additonal Category of the Content\",\n \"editable\": true,\n \"inputType\": \"nestedselect\",\n \"label\": \"Additional Category\",\n \"name\": \"Additional Category\",\n \"placeholder\": \"Select Additional Category\",\n \"renderingHints\": {},\n \"required\": false,\n \"visible\": true\n }\n ]\n },\n {\n \"name\": \"Org Framework Terms\",\n \"fields\": [\n {\n \"code\": \"audience\",\n \"dataType\": \"list\",\n \"description\": \"Audience\",\n \"editable\": true,\n \"inputType\": \"nestedselect\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"label\": \"Audience Type\",\n \"name\": \"Audience Type\",\n \"placeholder\": \"Select Audience Type\",\n \"required\": false,\n \"visible\": true,\n \"range\": [\n \"Student\",\n \"Teacher\",\n \"Parent\",\n \"Administrator\"\n ]\n },\n {\n \"code\": \"boardIds\",\n \"visible\": true,\n \"depends\": [],\n \"editable\": true,\n \"dataType\": \"list\",\n \"sourceCategory\": \"board\",\n \"output\": \"identifier\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1 required\"\n },\n \"description\": \"Board\",\n \"label\": \"Board/Syllabus Covered in the Content playlist\",\n \"required\": true,\n \"name\": \"Board/Syllabus\",\n \"inputType\": \"select\",\n \"placeholder\": \"Select Board/Syllabus\",\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"Board is required\"\n }\n ]\n },\n {\n \"code\": \"mediumIds\",\n \"visible\": true,\n \"depends\": [\n \"boardIds\"\n ],\n \"editable\": true,\n \"dataType\": \"list\",\n \"sourceCategory\": \"medium\",\n \"output\": \"identifier\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1 required\"\n },\n \"description\": \"\",\n \"label\": \"Medium(s) Covered in the Content playlist\",\n \"required\": true,\n \"name\": \"Medium\",\n \"inputType\": \"nestedselect\",\n \"placeholder\": \"Select Medium\",\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"Medium is required\"\n }\n ]\n },\n {\n \"code\": \"gradeLevelIds\",\n \"visible\": true,\n \"depends\": [\n \"boardIds\",\n \"mediumIds\"\n ],\n \"editable\": true,\n \"dataType\": \"list\",\n \"sourceCategory\": \"gradeLevel\",\n \"output\": \"identifier\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1 required\"\n },\n \"description\": \"Class\",\n \"label\": \"Class(es) Covered in the Content playlist\",\n \"required\": true,\n \"name\": \"Class\",\n \"inputType\": \"nestedselect\",\n \"placeholder\": \"Select Class\",\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"Class is required\"\n }\n ]\n },\n {\n \"code\": \"subjectIds\",\n \"visible\": true,\n \"depends\": [\n \"boardIds\",\n \"mediumIds\",\n \"gradeLevelIds\"\n ],\n \"editable\": true,\n \"dataType\": \"list\",\n \"sourceCategory\": \"subject\",\n \"output\": \"identifier\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1 required\"\n },\n \"description\": \"\",\n \"label\": \"Subject(s) Covered in the Content playlist\",\n \"required\": true,\n \"name\": \"Subject\",\n \"inputType\": \"nestedselect\",\n \"placeholder\": \"Select Subject\",\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"Subject is required\"\n }\n ]\n }\n ]\n },\n {\n \"name\": \"Fourth Section\",\n \"fields\": [\n {\n \"code\": \"author\",\n \"dataType\": \"text\",\n \"description\": \"Author of the content\",\n \"editable\": true,\n \"inputType\": \"text\",\n \"label\": \"Author\",\n \"name\": \"Author\",\n \"placeholder\": \"Author\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"required\": false,\n \"visible\": true\n },\n {\n \"code\": \"attributions\",\n \"dataType\": \"text\",\n \"description\": \"Attributions\",\n \"editable\": true,\n \"inputType\": \"text\",\n \"label\": \"Attributions\",\n \"name\": \"Attributions\",\n \"placeholder\": \"Attributions\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"required\": false,\n \"visible\": true\n },\n {\n \"code\": \"copyright\",\n \"dataType\": \"text\",\n \"description\": \"Copyright\",\n \"editable\": true,\n \"inputType\": \"text\",\n \"label\": \"Copyright\",\n \"name\": \"Copyright & year\",\n \"placeholder\": \"Copyright\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1 required\"\n },\n \"required\": true,\n \"visible\": true,\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"Copyright is required\"\n }\n ]\n },\n {\n \"code\": \"copyrightYear\",\n \"dataType\": \"number\",\n \"description\": \"Year\",\n \"editable\": true,\n \"inputType\": \"text\",\n \"label\": \"Copyright Year\",\n \"name\": \"Copyright Year\",\n \"placeholder\": \"Copyright Year\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1 required\"\n },\n \"required\": true,\n \"visible\": true,\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"Copyright Year is required\"\n }\n ]\n },\n {\n \"code\": \"license\",\n \"dataType\": \"text\",\n \"description\": \"license\",\n \"editable\": true,\n \"inputType\": \"select\",\n \"label\": \"License\",\n \"name\": \"license\",\n \"placeholder\": \"Select License\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1 required\"\n },\n \"required\": true,\n \"visible\": true,\n \"defaultValue\": \"CC BY 4.0\",\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"License is required\"\n }\n ]\n }\n ]\n }\n ]\n },\n \"delete\": {},\n \"publish\": {},\n \"publishchecklist\": {\n \"templateName\": \"\",\n \"required\": [],\n \"properties\": [\n {\n \"name\": \"Appropriateness\",\n \"renderingHints\": {\n \"class\": \"d-grid-inline-3 display-sectionName\"\n },\n \"fields\": [\n {\n \"code\": \"appropriatenessOne\",\n \"name\": \"No Hate speech, Abuse, Violence, Profanity\",\n \"label\": \"No Hate speech, Abuse, Violence, Profanity\",\n \"dataType\": \"boolean\",\n \"inputType\": \"checkbox\",\n \"editable\": true,\n \"required\": false,\n \"visible\": true,\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"\"\n }\n ],\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n }\n },\n {\n \"code\": \"appropriatenessTwo\",\n \"name\": \"No Sexual content, Nudity or Vulgarity\",\n \"label\": \"No Sexual content, Nudity or Vulgarity\",\n \"dataType\": \"boolean\",\n \"inputType\": \"checkbox\",\n \"editable\": true,\n \"required\": false,\n \"visible\": true,\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"\"\n }\n ],\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n }\n },\n {\n \"code\": \"appropriatenessThree\",\n \"name\": \"No Discrimination or Defamation\",\n \"label\": \"No Discrimination or Defamation\",\n \"dataType\": \"boolean\",\n \"inputType\": \"checkbox\",\n \"editable\": true,\n \"required\": false,\n \"visible\": true,\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"\"\n }\n ],\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n }\n },\n {\n \"code\": \"appropriatenessFour\",\n \"name\": \"Is suitable for children\",\n \"label\": \"Is suitable for children\",\n \"dataType\": \"boolean\",\n \"inputType\": \"checkbox\",\n \"editable\": true,\n \"required\": false,\n \"visible\": true,\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"\"\n }\n ],\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n }\n }\n ]\n },\n {\n \"name\": \"Content details\",\n \"renderingHints\": {\n \"class\": \"d-grid-inline-3 display-sectionName\"\n },\n \"fields\": [\n {\n \"code\": \"contentdetailsOne\",\n \"name\": \"Appropriate Title, Description\",\n \"label\": \"Appropriate Title, Description\",\n \"dataType\": \"boolean\",\n \"inputType\": \"checkbox\",\n \"editable\": true,\n \"required\": false,\n \"visible\": true,\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"\"\n }\n ],\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n }\n },\n {\n \"code\": \"contentdetailsTwo\",\n \"name\": \"Correct Board, Grade, Subject, Medium\",\n \"label\": \"Correct Board, Grade, Subject, Medium\",\n \"dataType\": \"boolean\",\n \"inputType\": \"checkbox\",\n \"editable\": true,\n \"required\": false,\n \"visible\": true,\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"\"\n }\n ],\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n }\n },\n {\n \"code\": \"contentdetailsThree\",\n \"name\": \"Appropriate tags such as Resource Type, Concepts\",\n \"label\": \"Appropriate tags such as Resource Type, Concepts\",\n \"dataType\": \"boolean\",\n \"inputType\": \"checkbox\",\n \"editable\": true,\n \"required\": false,\n \"visible\": true,\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"\"\n }\n ],\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n }\n },\n {\n \"code\": \"contentdetailsFour\",\n \"name\": \"Relevant Keywords\",\n \"label\": \"Relevant Keywords\",\n \"dataType\": \"boolean\",\n \"inputType\": \"checkbox\",\n \"editable\": true,\n \"required\": false,\n \"visible\": true,\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"\"\n }\n ],\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n }\n }\n ]\n },\n {\n \"name\": \"Usability\",\n \"renderingHints\": {\n \"class\": \"d-grid-inline-3 display-sectionName\"\n },\n \"fields\": [\n {\n \"code\": \"usabilityOne\",\n \"name\": \"Content plays correctly\",\n \"label\": \"Content plays correctly\",\n \"dataType\": \"boolean\",\n \"inputType\": \"checkbox\",\n \"editable\": true,\n \"required\": false,\n \"visible\": true,\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"\"\n }\n ],\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n }\n },\n {\n \"code\": \"usabilityTwo\",\n \"name\": \"Can see the content clearly on Desktop and App\",\n \"label\": \"Can see the content clearly on Desktop and App\",\n \"dataType\": \"boolean\",\n \"inputType\": \"checkbox\",\n \"editable\": true,\n \"required\": false,\n \"visible\": true,\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"\"\n }\n ],\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n }\n },\n {\n \"code\": \"usabilityThree\",\n \"name\": \"Audio (if any) is clear and easy to understand\",\n \"label\": \"Audio (if any) is clear and easy to understand\",\n \"dataType\": \"boolean\",\n \"inputType\": \"checkbox\",\n \"editable\": true,\n \"required\": false,\n \"visible\": true,\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"\"\n }\n ],\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n }\n },\n {\n \"code\": \"usabilityFour\",\n \"name\": \"No Spelling mistakes in the text\",\n \"label\": \"No Spelling mistakes in the text\",\n \"dataType\": \"boolean\",\n \"inputType\": \"checkbox\",\n \"editable\": true,\n \"required\": false,\n \"visible\": true,\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"\"\n }\n ],\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n }\n },\n {\n \"code\": \"usabilityFive\",\n \"name\": \"Language is simple to understand\",\n \"label\": \"Language is simple to understand\",\n \"dataType\": \"boolean\",\n \"inputType\": \"checkbox\",\n \"editable\": true,\n \"required\": false,\n \"visible\": true,\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"\"\n }\n ],\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n }\n }\n ]\n }\n ]\n },\n \"review\": {},\n \"search\": {\n \"templateName\": \"\",\n \"required\": [],\n \"properties\": [\n {\n \"code\": \"primaryCategory\",\n \"dataType\": \"list\",\n \"description\": \"Type\",\n \"editable\": true,\n \"default\": [],\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"inputType\": \"nestedselect\",\n \"label\": \"Content Type(s)\",\n \"name\": \"Type\",\n \"placeholder\": \"Select ContentType\",\n \"required\": false,\n \"visible\": true\n },\n {\n \"code\": \"board\",\n \"visible\": true,\n \"depends\": [],\n \"editable\": true,\n \"dataType\": \"list\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"description\": \"Board\",\n \"label\": \"Board\",\n \"required\": false,\n \"name\": \"Board\",\n \"inputType\": \"select\",\n \"placeholder\": \"Select Board\",\n \"output\": \"name\"\n },\n {\n \"code\": \"medium\",\n \"visible\": true,\n \"depends\": [\n \"board\"\n ],\n \"editable\": true,\n \"dataType\": \"list\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"description\": \"\",\n \"label\": \"Medium(s)\",\n \"required\": false,\n \"name\": \"Medium\",\n \"inputType\": \"nestedselect\",\n \"placeholder\": \"Select Medium\",\n \"output\": \"name\"\n },\n {\n \"code\": \"gradeLevel\",\n \"visible\": true,\n \"depends\": [\n \"board\",\n \"medium\"\n ],\n \"editable\": true,\n \"default\": \"\",\n \"dataType\": \"list\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"description\": \"Class\",\n \"label\": \"Class(es)\",\n \"required\": false,\n \"name\": \"Class\",\n \"inputType\": \"nestedselect\",\n \"placeholder\": \"Select Class\",\n \"output\": \"name\"\n },\n {\n \"code\": \"subject\",\n \"visible\": true,\n \"depends\": [\n \"board\",\n \"medium\",\n \"gradeLevel\"\n ],\n \"editable\": true,\n \"default\": \"\",\n \"dataType\": \"list\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"description\": \"\",\n \"label\": \"Subject(s)\",\n \"required\": false,\n \"name\": \"Subject\",\n \"inputType\": \"nestedselect\",\n \"placeholder\": \"Select Subject\",\n \"output\": \"name\"\n },\n {\n \"code\": \"topic\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"list\",\n \"depends\": [\n \"board\",\n \"medium\",\n \"gradeLevel\",\n \"subject\"\n ],\n \"default\": \"\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"name\": \"Topic\",\n \"description\": \"Choose a Topics\",\n \"inputType\": \"topicselector\",\n \"label\": \"Topic(s)\",\n \"placeholder\": \"Choose Topics\",\n \"required\": false\n }\n ]\n },\n \"unitMetadata\": {\n \"templateName\": \"\",\n \"required\": [],\n \"properties\": [\n {\n \"name\": \"First Section\",\n \"fields\": [\n {\n \"code\": \"name\",\n \"dataType\": \"text\",\n \"description\": \"Name of the content\",\n \"editable\": true,\n \"inputType\": \"text\",\n \"label\": \"Title\",\n \"name\": \"Title\",\n \"placeholder\": \"Title\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1 required\"\n },\n \"required\": true,\n \"visible\": true,\n \"validations\": [\n {\n \"type\": \"maxLength\",\n \"value\": \"120\",\n \"message\": \"Input is Exceeded\"\n },\n {\n \"type\": \"required\",\n \"message\": \"Title is required\"\n }\n ]\n },\n {\n \"code\": \"description\",\n \"dataType\": \"text\",\n \"description\": \"Description of the content\",\n \"editable\": true,\n \"inputType\": \"textarea\",\n \"label\": \"Description\",\n \"name\": \"Description\",\n \"placeholder\": \"Description\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"required\": false,\n \"visible\": true,\n \"validations\": [\n {\n \"type\": \"maxLength\",\n \"value\": \"256\",\n \"message\": \"Input is Exceeded\"\n }\n ]\n },\n {\n \"code\": \"keywords\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"list\",\n \"name\": \"Keywords\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"description\": \"Keywords for the content\",\n \"inputType\": \"keywords\",\n \"label\": \"Keywords\",\n \"placeholder\": \"Input the keyword and PRESS enter\",\n \"required\": false,\n \"validations\": []\n },\n {\n \"code\": \"topic\",\n \"visible\": true,\n \"depends\": [],\n \"editable\": true,\n \"dataType\": \"list\",\n \"renderingHints\": {},\n \"name\": \"Topic\",\n \"description\": \"Choose a Topics\",\n \"index\": 11,\n \"inputType\": \"topicselector\",\n \"label\": \"Topics\",\n \"placeholder\": \"Choose Topics\",\n \"required\": false,\n \"validations\": []\n },\n {\n \"code\": \"dialcodeRequired\",\n \"dataType\": \"text\",\n \"description\": \"QR CODE REQUIRED\",\n \"editable\": true,\n \"default\": \"No\",\n \"index\": 5,\n \"inputType\": \"radio\",\n \"label\": \"QR code required\",\n \"name\": \"dialcodeRequired\",\n \"placeholder\": \"QR code required\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"range\": [\n \"Yes\",\n \"No\"\n ],\n \"required\": false,\n \"visible\": true\n },\n {\n \"code\": \"dialcodes\",\n \"depends\": [\n \"dialcodeRequired\"\n ],\n \"dataType\": \"list\",\n \"description\": \"Digital Infrastructure for Augmented Learning\",\n \"editable\": true,\n \"inputType\": \"dialcode\",\n \"label\": \"QR code\",\n \"name\": \"dialcode\",\n \"placeholder\": \"Enter code here\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"required\": true,\n \"visible\": true,\n \"validations\": [\n {\n \"type\": \"minLength\",\n \"value\": \"2\"\n },\n {\n \"type\": \"maxLength\",\n \"value\": \"20\"\n }\n ]\n }\n ]\n }\n ]\n },\n \"update\": {}\n }\n }\n }\n}" }, "url": { "raw": "{{host}}/api/object/category/definition/v1/create", @@ -3574,28 +3832,274 @@ "response": [] }, { - "name": "ObjectCategoryDefinition - Course - read", + "name": "ObjectCategoryDefinition - Lesson Plan Unit", "request": { - "method": "GET", + "method": "POST", "header": [ { "key": "Content-Type", - "value": "application/json", - "type": "text" + "value": "application/json" }, { "key": "Authorization", "value": "Bearer {{apikey}}", "type": "text" - }, - { - "key": "X-Authenticated-User-token", - "value": "", - "type": "text", - "disabled": true } ], - "url": { + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"objectCategoryDefinition\": {\n \"categoryId\": \"obj-cat:learning-resource\",\n \"targetObjectType\": \"Content\",\n \"objectMetadata\": {\n \"config\": {},\n \"schema\": {}\n }\n }\n }\n}" + }, + "url": { + "raw": "{{host}}/api/object/category/definition/v1/create", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "object", + "category", + "definition", + "v1", + "create" + ] + } + }, + "response": [] + }, + { + "name": "ObjectCategoryDefinition - Practice Question Set", + "request": { + "method": "POST", + "header": [ + { + "key": "Authorization", + "value": "Bearer {{apikey}}" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"objectCategoryDefinition\": {\n \"categoryId\": \"obj-cat:practice-question-set\",\n \"targetObjectType\": \"QuestionSet\",\n \"objectMetadata\": {\n \"config\": {\n \"sourcingSettings\": {\n \"collection\": {\n \"maxDepth\": 1,\n \"objectType\": \"QuestionSet\",\n \"primaryCategory\": \"Practice Question Set\",\n \"isRoot\": true,\n \"iconClass\": \"fa fa-book\",\n \"children\": {},\n \"hierarchy\": {\n \"level1\": {\n \"name\": \"Section\",\n \"type\": \"Unit\",\n \"mimeType\": \"application/vnd.sunbird.questionset\",\n \"primaryCategory\": \"Practice Question Set\",\n \"iconClass\": \"fa fa-folder-o\",\n \"children\": {\n \"Question\": [\n \"Multiple Choice Question\",\n \"Subjective Question\"\n ]\n }\n }\n }\n }\n }\n },\n \"schema\": {\n \"properties\": {\n \"mimeType\": {\n \"type\": \"string\",\n \"enum\": [\n \"application/vnd.sunbird.questionset\"\n ]\n }\n }\n }\n },\n \"forms\": {\n \"childMetadata\": {\n \"templateName\": \"\",\n \"required\": [],\n \"properties\": [\n {\n \"code\": \"name\",\n \"dataType\": \"text\",\n \"description\": \"Name of the content\",\n \"editable\": true,\n \"inputType\": \"text\",\n \"label\": \"Title\",\n \"name\": \"Title\",\n \"placeholder\": \"Title\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1 required\"\n },\n \"required\": true,\n \"visible\": true,\n \"validations\": [\n {\n \"type\": \"max\",\n \"value\": \"100\",\n \"message\": \"Input is Exceeded\"\n },\n {\n \"type\": \"required\",\n \"message\": \"Title is required\"\n }\n ]\n },\n {\n \"code\": \"board\",\n \"default\": \"\",\n \"visible\": true,\n \"editable\": false,\n \"dataType\": \"text\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"description\": \"Board\",\n \"label\": \"Board/Syllabus\",\n \"required\": false,\n \"name\": \"Board/Syllabus\",\n \"inputType\": \"select\",\n \"placeholder\": \"Select Board/Syllabus\"\n },\n {\n \"code\": \"medium\",\n \"visible\": true,\n \"editable\": true,\n \"default\": \"\",\n \"dataType\": \"list\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"description\": \"\",\n \"label\": \"Medium\",\n \"required\": false,\n \"name\": \"Medium\",\n \"inputType\": \"select\",\n \"placeholder\": \"Select Medium\"\n },\n {\n \"code\": \"gradeLevel\",\n \"visible\": true,\n \"editable\": true,\n \"default\": \"\",\n \"dataType\": \"list\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"description\": \"Class\",\n \"label\": \"Class\",\n \"required\": false,\n \"name\": \"Class\",\n \"inputType\": \"select\",\n \"placeholder\": \"Select Class\"\n },\n {\n \"code\": \"subject\",\n \"visible\": true,\n \"editable\": true,\n \"default\": \"\",\n \"dataType\": \"list\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"description\": \"\",\n \"label\": \"Subject\",\n \"required\": false,\n \"name\": \"Subject\",\n \"inputType\": \"select\",\n \"placeholder\": \"Select Subject\"\n },\n {\n \"code\": \"maxScore\",\n \"dataType\": \"number\",\n \"description\": \"Marks\",\n \"editable\": true,\n \"inputType\": \"text\",\n \"label\": \"Marks:\",\n \"name\": \"Marks\",\n \"placeholder\": \"Marks\",\n \"tooltip\": \"Provide marks of this question.\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1 required\"\n },\n \"validations\": [\n {\n \"type\": \"pattern\",\n \"value\": \"^[1-9]{1}[0-9]*$\",\n \"message\": \"Input should be numeric\"\n },\n {\n \"type\": \"required\",\n \"message\": \"Marks is required\"\n }\n ]\n }\n ]\n },\n \"create\": {\n \"templateName\": \"\",\n \"required\": [],\n \"properties\": [\n {\n \"name\": \"Basic details\",\n \"fields\": [\n {\n \"code\": \"appIcon\",\n \"name\": \"Icon\",\n \"label\": \"Icon\",\n \"placeholder\": \"Icon\",\n \"description\": \"Icon for the question set\",\n \"dataType\": \"text\",\n \"inputType\": \"appIcon\",\n \"editable\": true,\n \"required\": true,\n \"visible\": true,\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1 required\"\n }\n },\n {\n \"code\": \"name\",\n \"name\": \"Name\",\n \"label\": \"Name\",\n \"placeholder\": \"Name\",\n \"description\": \"Name of the QuestionSet\",\n \"dataType\": \"text\",\n \"inputType\": \"text\",\n \"editable\": true,\n \"required\": true,\n \"visible\": true,\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1 required\"\n },\n \"validations\": [\n {\n \"type\": \"max\",\n \"value\": \"120\",\n \"message\": \"Input is Exceeded\"\n },\n {\n \"type\": \"required\",\n \"message\": \"Name is required\"\n }\n ]\n },\n {\n \"code\": \"description\",\n \"name\": \"Description\",\n \"label\": \"Description\",\n \"placeholder\": \"Description\",\n \"description\": \"Description of the content\",\n \"dataType\": \"text\",\n \"inputType\": \"textarea\",\n \"editable\": true,\n \"required\": true,\n \"visible\": true,\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1 required\"\n },\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"description is required\"\n }\n ]\n },\n {\n \"code\": \"keywords\",\n \"name\": \"Keywords\",\n \"label\": \"keywords\",\n \"placeholder\": \"Enter Keywords\",\n \"description\": \"Keywords for the Question Set\",\n \"dataType\": \"list\",\n \"inputType\": \"keywords\",\n \"editable\": true,\n \"required\": false,\n \"visible\": true,\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n }\n },\n {\n \"code\": \"instructions\",\n \"name\": \"Instructions\",\n \"label\": \"Instructions\",\n \"placeholder\": \"Enter Instructions\",\n \"description\": \"Instructions for the question set\",\n \"dataType\": \"text\",\n \"inputType\": \"richtext\",\n \"editable\": true,\n \"required\": false,\n \"visible\": true,\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-2\"\n },\n \"validations\": [\n {\n \"type\": \"maxLength\",\n \"value\": \"500\",\n \"message\": \"Input is Exceeded\"\n }\n ]\n },\n {\n \"code\": \"primaryCategory\",\n \"name\": \"Type\",\n \"label\": \"Type\",\n \"placeholder\": \"\",\n \"description\": \"Type or Category of the Question Set\",\n \"dataType\": \"text\",\n \"inputType\": \"text\",\n \"editable\": false,\n \"required\": false,\n \"visible\": true,\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n }\n }\n ]\n },\n {\n \"name\": \"Framework details\",\n \"fields\": [\n {\n \"code\": \"board\",\n \"name\": \"Board/Syllabus\",\n \"label\": \"Board/Syllabus\",\n \"placeholder\": \"Select Board/Syllabus\",\n \"description\": \"Board or Syallbus of the Question Set\",\n \"default\": \"\",\n \"dataType\": \"text\",\n \"inputType\": \"select\",\n \"editable\": true,\n \"required\": true,\n \"visible\": true,\n \"depends\": [],\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1 required\"\n },\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"Board is required\"\n }\n ]\n },\n {\n \"code\": \"medium\",\n \"name\": \"Medium\",\n \"label\": \"Medium\",\n \"placeholder\": \"Select Medium\",\n \"description\": \"Medium of Instruction for the Question Set\",\n \"default\": \"\",\n \"dataType\": \"list\",\n \"inputType\": \"select\",\n \"editable\": true,\n \"required\": true,\n \"visible\": true,\n \"depends\": [\n \"board\"\n ],\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1 required\"\n },\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"Medium is required\"\n }\n ]\n },\n {\n \"code\": \"gradeLevel\",\n \"name\": \"Class\",\n \"label\": \"Class\",\n \"placeholder\": \"Select Class\",\n \"description\": \"Class of the Question Set\",\n \"default\": \"\",\n \"dataType\": \"list\",\n \"inputType\": \"select\",\n \"editable\": true,\n \"required\": true,\n \"visible\": true,\n \"depends\": [\n \"board\",\n \"medium\"\n ],\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1 required\"\n },\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"Class is required\"\n }\n ]\n },\n {\n \"code\": \"subject\",\n \"name\": \"Subject\",\n \"label\": \"Subject\",\n \"placeholder\": \"Select Subject\",\n \"description\": \"Subject of the Question Set\",\n \"default\": \"\",\n \"dataType\": \"list\",\n \"inputType\": \"select\",\n \"editable\": true,\n \"required\": true,\n \"visible\": true,\n \"depends\": [\n \"board\",\n \"medium\",\n \"gradeLevel\"\n ],\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1 required\"\n },\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"Subject is required\"\n }\n ]\n },\n {\n \"code\": \"audience\",\n \"name\": \"Audience\",\n \"label\": \"Audience\",\n \"placeholder\": \"Select Audience\",\n \"description\": \"Audience of the Question Set\",\n \"dataType\": \"list\",\n \"inputType\": \"select\",\n \"editable\": true,\n \"required\": true,\n \"visible\": true,\n \"range\": [\n \"Student\",\n \"Teacher\",\n \"Administrator\"\n ],\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1 required\"\n },\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"Audience is required\"\n }\n ]\n }\n ]\n },\n {\n \"name\": \"Question set behaviour\",\n \"fields\": [\n {\n \"code\": \"maxTime\",\n \"name\": \"MaxTimer\",\n \"label\": \"Set Maximum Time\",\n \"placeholder\": \"HH:mm:ss\",\n \"description\": \"This is the maximum time allowed for the users to complete the assessment\",\n \"default\": \"3600\",\n \"dataType\": \"text\",\n \"inputType\": \"timer\",\n \"editable\": true,\n \"required\": true,\n \"visible\": true,\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"validations\": [\n {\n \"type\": \"time\",\n \"message\": \"Please enter in hh:mm:ss\",\n \"value\": \"HH:mm:ss\"\n },\n {\n \"type\": \"max\",\n \"value\": \"05:59:59\",\n \"message\": \"max time should be less than 05:59:59\"\n }\n ]\n },\n {\n \"code\": \"showTimer\",\n \"name\": \"show Timer\",\n \"label\": \"show Timer\",\n \"placeholder\": \"show Timer\",\n \"description\": \"show Timer\",\n \"default\": false,\n \"dataType\": \"boolean\",\n \"inputType\": \"checkbox\",\n \"editable\": true,\n \"required\": false,\n \"visible\": true,\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n }\n },\n {\n \"code\": \"requiresSubmit\",\n \"name\": \"Submit Confirmation\",\n \"label\": \"Submit Confirmation Page\",\n \"placeholder\": \"Select Submit Confirmation\",\n \"description\": \"Allows users to review and submit the assessment\",\n \"dataType\": \"text\",\n \"inputType\": \"select\",\n \"output\": \"identifier\",\n \"range\": [\n {\n \"identifier\": \"Yes\",\n \"label\": \"Enable\"\n },\n {\n \"identifier\": \"No\",\n \"label\": \"Disable\"\n }\n ],\n \"editable\": true,\n \"required\": false,\n \"visible\": true,\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n }\n },\n {\n \"code\": \"maxAttempts\",\n \"name\": \"Max Attempts\",\n \"label\": \"Max Attempts\",\n \"placeholder\": \"Max Attempts\",\n \"description\": \"Max Attempts\",\n \"dataType\": \"number\",\n \"inputType\": \"select\",\n \"editable\": true,\n \"required\": false,\n \"visible\": true,\n \"range\": [\n 1,\n 2,\n 3,\n 4,\n 5,\n 6,\n 7,\n 8,\n 9,\n 10,\n 11,\n 12,\n 13,\n 14,\n 15,\n 16,\n 17,\n 18,\n 19,\n 20,\n 21,\n 22,\n 23,\n 24,\n 25\n ],\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n }\n },\n {\n \"code\": \"summaryType\",\n \"name\": \"summaryType\",\n \"label\": \"Summary Type\",\n \"placeholder\": \"Select Summary Type\",\n \"description\": \"summaryType\",\n \"dataType\": \"text\",\n \"inputType\": \"select\",\n \"editable\": true,\n \"required\": false,\n \"visible\": true,\n \"range\": [\n \"Complete\",\n \"Score\",\n \"Duration\",\n \"Score & Duration\"\n ],\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n }\n }\n ]\n }\n ]\n },\n \"search\": {\n \"templateName\": \"\",\n \"required\": [],\n \"properties\": [\n {\n \"code\": \"primaryCategory\",\n \"dataType\": \"list\",\n \"description\": \"Type\",\n \"editable\": true,\n \"default\": [],\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"inputType\": \"nestedselect\",\n \"label\": \"Question Type(s)\",\n \"name\": \"Type\",\n \"placeholder\": \"Select QuestionType\",\n \"required\": false,\n \"visible\": true\n },\n {\n \"code\": \"board\",\n \"visible\": true,\n \"depends\": [],\n \"editable\": true,\n \"dataType\": \"list\",\n \"description\": \"Board\",\n \"label\": \"Board\",\n \"required\": false,\n \"name\": \"Board\",\n \"inputType\": \"select\",\n \"placeholder\": \"Select Board\",\n \"output\": \"name\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n }\n },\n {\n \"code\": \"medium\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"list\",\n \"description\": \"Medium of Question\",\n \"label\": \"Medium(s)\",\n \"required\": false,\n \"name\": \"Medium\",\n \"inputType\": \"nestedselect\",\n \"placeholder\": \"Select Medium\",\n \"output\": \"name\",\n \"depends\": [\n \"board\"\n ],\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n }\n },\n {\n \"code\": \"gradeLevel\",\n \"visible\": true,\n \"depends\": [\n \"board\",\n \"medium\"\n ],\n \"editable\": true,\n \"default\": \"\",\n \"dataType\": \"list\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"description\": \"Class\",\n \"label\": \"Class(es)\",\n \"required\": false,\n \"name\": \"Class\",\n \"inputType\": \"nestedselect\",\n \"placeholder\": \"Select Class\",\n \"output\": \"name\"\n },\n {\n \"code\": \"subject\",\n \"visible\": true,\n \"depends\": [\n \"board\",\n \"medium\",\n \"gradeLevel\"\n ],\n \"editable\": true,\n \"default\": \"\",\n \"dataType\": \"list\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"description\": \"Subject of the Question\",\n \"label\": \"Subject(s)\",\n \"required\": false,\n \"name\": \"Subject\",\n \"inputType\": \"nestedselect\",\n \"placeholder\": \"Select Subject\",\n \"output\": \"name\"\n }\n ]\n },\n \"unitMetadata\": {\n \"templateName\": \"\",\n \"required\": [],\n \"properties\": [\n {\n \"code\": \"name\",\n \"dataType\": \"text\",\n \"description\": \"Name of the content\",\n \"editable\": true,\n \"inputType\": \"text\",\n \"label\": \"Title\",\n \"name\": \"Title\",\n \"placeholder\": \"Title\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1 required\"\n },\n \"required\": true,\n \"visible\": true,\n \"validations\": [\n {\n \"type\": \"max\",\n \"value\": \"120\",\n \"message\": \"Input is Exceeded\"\n },\n {\n \"type\": \"required\",\n \"message\": \"Title is required\"\n }\n ]\n },\n {\n \"code\": \"description\",\n \"dataType\": \"text\",\n \"description\": \"Description of the content\",\n \"editable\": true,\n \"inputType\": \"textarea\",\n \"label\": \"Description\",\n \"name\": \"Description\",\n \"placeholder\": \"Description\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1 required\"\n },\n \"required\": true,\n \"visible\": true,\n \"validations\": [\n {\n \"type\": \"max\",\n \"value\": \"500\",\n \"message\": \"Input is Exceeded\"\n }\n ]\n },\n {\n \"code\": \"instructions\",\n \"name\": \"Instructions\",\n \"label\": \"Instructions\",\n \"placeholder\": \"Enter Instructions\",\n \"description\": \"Instructions for the section\",\n \"dataType\": \"text\",\n \"inputType\": \"richtext\",\n \"editable\": true,\n \"required\": false,\n \"visible\": true,\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-2 required\"\n },\n \"validations\": [\n {\n \"type\": \"maxLength\",\n \"value\": \"500\",\n \"message\": \"Input is Exceeded\"\n }\n ]\n },\n {\n \"code\": \"maxQuestions\",\n \"name\": \"Show Questions\",\n \"label\": \"Count of questions to be displayed in this section\",\n \"placeholder\": \"Input count of questions to be displayed\",\n \"description\": \"By default all questions are shown unless specific count is entered.\",\n \"default\": \"\",\n \"dataType\": \"number\",\n \"inputType\": \"select\",\n \"editable\": true,\n \"required\": false,\n \"visible\": true,\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n }\n },\n {\n \"code\": \"shuffle\",\n \"name\": \"Shuffle Questions\",\n \"label\": \"Shuffle Questions\",\n \"placeholder\": \"Shuffle Questions\",\n \"description\": \"If shuffle questions is selected, users are presented with questions in a random order whenever they attempt the assessment\",\n \"default\": \"false\",\n \"dataType\": \"boolean\",\n \"inputType\": \"checkbox\",\n \"editable\": true,\n \"required\": false,\n \"visible\": true,\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n }\n },\n {\n \"code\": \"showFeedback\",\n \"name\": \"Show Feedback\",\n \"label\": \"Show Question Feedback\",\n \"placeholder\": \"Select Option\",\n \"description\": \"If feedback is selected, users are informed whether they have correctly answered question or not\",\n \"dataType\": \"boolean\",\n \"inputType\": \"checkbox\",\n \"editable\": true,\n \"required\": false,\n \"visible\": true,\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n }\n },\n {\n \"code\": \"showSolutions\",\n \"name\": \"Show Solution\",\n \"label\": \"Show Solution\",\n \"placeholder\": \"Select Option\",\n \"description\": \"If show solution is selected then solutions for each question will be shown to the user\",\n \"dataType\": \"boolean\",\n \"inputType\": \"checkbox\",\n \"editable\": true,\n \"required\": false,\n \"visible\": true,\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n }\n }\n ]\n }\n }\n }\n }\n}" + }, + "url": { + "raw": "{{host}}/api/object/category/definition/v1/create", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "object", + "category", + "definition", + "v1", + "create" + ] + } + }, + "response": [] + }, + { + "name": "ObjectCategoryDefinition - Subjective Question", + "request": { + "method": "POST", + "header": [ + { + "key": "Authorization", + "value": "Bearer {{apikey}}" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"objectCategoryDefinition\": {\n \"categoryId\": \"obj-cat:subjective-question\",\n \"targetObjectType\": \"Question\",\n \"objectMetadata\": {\n \"config\": {},\n \"schema\": {\n \"properties\": {\n \"mimeType\": {\n \"type\": \"string\",\n \"enum\": [\n \"application/vnd.sunbird.question\"\n ]\n }\n }\n }\n }\n }\n }\n}" + }, + "url": { + "raw": "{{host}}/api/object/category/definition/v1/create", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "object", + "category", + "definition", + "v1", + "create" + ] + } + }, + "response": [] + }, + { + "name": "ObjectCategoryDefinition - Multiple Choice Question", + "request": { + "method": "POST", + "header": [ + { + "key": "Authorization", + "value": "Bearer {{apikey}}" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"objectCategoryDefinition\": {\n \"categoryId\": \"obj-cat:multiple-choice-question\",\n \"targetObjectType\": \"Question\",\n \"objectMetadata\": {\n \"config\": {},\n \"schema\": {\n \"properties\": {\n \"mimeType\": {\n \"type\": \"string\",\n \"enum\": [\n \"application/vnd.sunbird.question\"\n ]\n },\n \"interactionTypes\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"string\",\n \"enum\": [\n \"choice\"\n ]\n }\n }\n }\n }\n },\n \"forms\": {}\n }\n }\n}" + }, + "url": { + "raw": "{{host}}/api/object/category/definition/v1/create", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "object", + "category", + "definition", + "v1", + "create" + ] + } + }, + "response": [] + }, + { + "name": "ObjectCategoryDefinition - Question Paper", + "request": { + "method": "POST", + "header": [ + { + "key": "Authorization", + "value": "Bearer {{apikey}}" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"objectCategoryDefinition\": {\n \"categoryId\": \"obj-cat:question-paper\",\n \"targetObjectType\": \"Collection\",\n \"objectMetadata\": {\n \"config\": {\n \"sourcingSettings\": {\n \"collection\": {\n \"maxDepth\": 4,\n \"objectType\": \"Collection\",\n \"primaryCategory\": \"Question Paper\",\n \"isRoot\": true,\n \"iconClass\": \"fa fa-book\",\n \"children\": {},\n \"hierarchy\": {\n \"level1\": {\n \"children\": {\n \"Content\": []\n },\n \"contentType\": \"Collection\",\n \"iconClass\": \"fa fa-folder-o\",\n \"mimeType\": \"application/vnd.ekstep.content-collection\",\n \"name\": \"Collection Unit\",\n \"primaryCategory\": \"Question Paper\"\n },\n \"level2\": {\n \"children\": {\n \"Content\": []\n },\n \"contentType\": \"Collection\",\n \"iconClass\": \"fa fa-folder-o\",\n \"mimeType\": \"application/vnd.ekstep.content-collection\",\n \"name\": \"Collection Unit\",\n \"primaryCategory\": \"Question Paper\"\n },\n \"level3\": {\n \"children\": {\n \"Content\": []\n },\n \"contentType\": \"Collection\",\n \"iconClass\": \"fa fa-folder-o\",\n \"mimeType\": \"application/vnd.ekstep.content-collection\",\n \"name\": \"Collection Unit\",\n \"primaryCategory\": \"Question Paper\"\n },\n \"level4\": {\n \"children\": {\n \"Content\": []\n },\n \"contentType\": \"Collection\",\n \"iconClass\": \"fa fa-folder-o\",\n \"mimeType\": \"application/vnd.ekstep.content-collection\",\n \"name\": \"Collection Unit\",\n \"primaryCategory\": \"Question Paper\"\n }\n }\n }\n }\n },\n \"schema\": {\n \"properties\": {\n \"generateDIALCodes\": {\n \"type\": \"string\",\n \"enum\": [\n \"Yes\",\n \"No\"\n ],\n \"default\": \"Yes\"\n },\n \"trackable\": {\n \"type\": \"object\",\n \"properties\": {\n \"enabled\": {\n \"type\": \"string\",\n \"enum\": [\n \"Yes\",\n \"No\"\n ],\n \"default\": \"No\"\n },\n \"autoBatch\": {\n \"type\": \"string\",\n \"enum\": [\n \"Yes\",\n \"No\"\n ],\n \"default\": \"No\"\n }\n },\n \"default\": {\n \"enabled\": \"No\",\n \"autoBatch\": \"No\"\n },\n \"additionalProperties\": false\n },\n \"monitorable\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"string\",\n \"enum\": [\n \"progress-report\",\n \"score-report\"\n ]\n }\n },\n \"credentials\": {\n \"type\": \"object\",\n \"properties\": {\n \"enabled\": {\n \"type\": \"string\",\n \"enum\": [\n \"Yes\",\n \"No\"\n ],\n \"default\": \"No\"\n }\n },\n \"default\": {\n \"enabled\": \"No\"\n },\n \"additionalProperties\": false\n },\n \"userConsent\": {\n \"type\": \"string\",\n \"enum\": [\n \"Yes\",\n \"No\"\n ],\n \"default\": \"No\"\n },\n \"mimeType\": {\n \"type\": \"string\",\n \"enum\": [\n \"application/vnd.ekstep.content-collection\"\n ]\n }\n }\n }\n },\n \"forms\": {\n \"blueprintCreate\": {\n \"templateName\": \"\",\n \"required\": [],\n \"properties\": [\n {\n \"code\": \"topics\",\n \"dataType\": \"list\",\n \"description\": \"\",\n \"editable\": true,\n \"index\": 0,\n \"inputType\": \"multiSelect\",\n \"label\": \"Chapters\",\n \"name\": \"Chapters\",\n \"placeholder\": \"Please select chapters\",\n \"renderingHints\": {},\n \"required\": true\n },\n {\n \"code\": \"learningOutcomes\",\n \"dataType\": \"list\",\n \"description\": \"\",\n \"editable\": true,\n \"index\": 1,\n \"inputType\": \"multiSelect\",\n \"label\": \"Competencies\",\n \"name\": \"Competencies\",\n \"placeholder\": \"Please select Competencies\",\n \"depends\": [\n \"chapters\"\n ],\n \"renderingHints\": {},\n \"required\": true\n },\n {\n \"code\": \"learningLevels\",\n \"editable\": true,\n \"displayProperty\": \"Editable\",\n \"dataType\": \"text\",\n \"renderingHints\": {\n \"semanticColumnWidth\": \"twelve\"\n },\n \"label\": \"Skills Tested\",\n \"required\": true,\n \"name\": \"Learning Levels\",\n \"index\": 2,\n \"inputType\": \"select\",\n \"placeholder\": \"\",\n \"default\": 0,\n \"options\": [\n 0,\n 1,\n 2,\n 3,\n 4,\n 5\n ],\n \"children\": [\n {\n \"type\": \"learningLevel\",\n \"label\": \"Knowledge\",\n \"code\": \"remember\"\n },\n {\n \"type\": \"learningLevel\",\n \"label\": \"Understanding\",\n \"code\": \"understand\"\n },\n {\n \"type\": \"learningLevel\",\n \"label\": \"Application\",\n \"code\": \"apply\"\n }\n ]\n },\n {\n \"code\": \"questionTypes\",\n \"editable\": true,\n \"displayProperty\": \"Editable\",\n \"dataType\": \"text\",\n \"renderingHints\": {\n \"semanticColumnWidth\": \"twelve\"\n },\n \"description\": \"Question Types\",\n \"index\": 2,\n \"label\": \"Question Types\",\n \"default\": 0,\n \"required\": true,\n \"name\": \"Question Types\",\n \"inputType\": \"select\",\n \"children\": [\n {\n \"type\": \"questionType\",\n \"label\": \"Objective\",\n \"code\": \"Objective\"\n },\n {\n \"type\": \"questionType\",\n \"label\": \"Very Short Answer\",\n \"code\": \"VSA\"\n },\n {\n \"type\": \"questionType\",\n \"label\": \"Short Answer\",\n \"code\": \"SA\"\n },\n {\n \"type\": \"questionType\",\n \"label\": \"Long Answer\",\n \"code\": \"LA\"\n }\n ],\n \"options\": [\n 0,\n 1,\n 2,\n 3,\n 4,\n 5\n ],\n \"placeholder\": \"Question Types\"\n },\n {\n \"code\": \"totalMarks\",\n \"editable\": true,\n \"displayProperty\": \"Editable\",\n \"dataType\": \"text\",\n \"renderingHints\": {\n \"semanticColumnWidth\": \"three\"\n },\n \"description\": \"Total Marks\",\n \"index\": 4,\n \"label\": \"Total Marks\",\n \"required\": true,\n \"default\": 0,\n \"name\": \"Total Marks\",\n \"inputType\": \"text\",\n \"placeholder\": \"\"\n }\n ]\n },\n \"childMetadata\": {\n \"templateName\": \"\",\n \"required\": [],\n \"properties\": [\n {\n \"code\": \"name\",\n \"editable\": true,\n \"displayProperty\": \"Editable\",\n \"dataType\": \"text\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1 required\"\n },\n \"description\": \"Name\",\n \"index\": 1,\n \"label\": \"Name\",\n \"required\": true,\n \"name\": \"Name\",\n \"inputType\": \"text\",\n \"placeholder\": \"Name\",\n \"validations\": [\n {\n \"type\": \"maxLength\",\n \"value\": \"50\",\n \"message\": \"Input is Exceeded\"\n },\n {\n \"type\": \"required\",\n \"message\": \"Name is required\"\n }\n ]\n },\n {\n \"code\": \"description\",\n \"dataType\": \"text\",\n \"description\": \"Description of the content\",\n \"editable\": true,\n \"inputType\": \"textarea\",\n \"label\": \"Description\",\n \"name\": \"Description\",\n \"placeholder\": \"Description\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"required\": false,\n \"visible\": true\n },\n {\n \"code\": \"primaryCategory\",\n \"dataType\": \"text\",\n \"description\": \"Type\",\n \"editable\": false,\n \"renderingHints\": {},\n \"inputType\": \"select\",\n \"label\": \"Category\",\n \"name\": \"Type\",\n \"placeholder\": \"\",\n \"required\": true,\n \"visible\": true,\n \"validations\": []\n },\n {\n \"code\": \"additionalCategories\",\n \"visible\": true,\n \"editable\": true,\n \"displayProperty\": \"Editable\",\n \"dataType\": \"list\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"description\": \"croptype\",\n \"index\": 7,\n \"label\": \"Content Additional Categories\",\n \"required\": false,\n \"name\": \"additionalCategories\",\n \"inputType\": \"nestedselect\",\n \"placeholder\": \"Content Additional Categories\"\n },\n {\n \"code\": \"cropTypeIds\",\n \"visible\": true,\n \"depends\": [],\n \"editable\": false,\n \"dataType\": \"list\",\n \"sourceCategory\": \"cropType\",\n \"output\": \"identifier\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"description\": \"\",\n \"label\": \"Crop Type\",\n \"required\": true,\n \"name\": \"Crop Type\",\n \"inputType\": \"nestedselect\",\n \"placeholder\": \"Select Crop Type\"\n },\n {\n \"code\": \"topicsIds\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"list\",\n \"depends\": [\n \"cropTypeIds\"\n ],\n \"sourceCategory\": \"topic\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"name\": \"Topic\",\n \"description\": \"Choose a Topics\",\n \"inputType\": \"topicselector\",\n \"label\": \"Topic(s)\",\n \"placeholder\": \"Choose Topics\",\n \"required\": false,\n \"output\": \"identifier\"\n },\n {\n \"code\": \"copyright\",\n \"dataType\": \"text\",\n \"description\": \"Copyright\",\n \"editable\": true,\n \"index\": 4,\n \"inputType\": \"text\",\n \"label\": \"Copyright and Year:\",\n \"name\": \"Copyright\",\n \"placeholder\": \"Enter Copyright and Year\",\n \"tooltip\": \"If you are an individual, creating original content, you are the copyright holder. If you are creating this course content on behalf of an organisation, the organisation may be the copyright holder. \",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1 required\"\n },\n \"required\": true,\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"Copyright is required\"\n }\n ]\n },\n {\n \"code\": \"license\",\n \"visible\": true,\n \"editable\": true,\n \"displayProperty\": \"Editable\",\n \"dataType\": \"text\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1 required\"\n },\n \"description\": \"Subject of the Content to use to teach\",\n \"index\": 6,\n \"label\": \"License:\",\n \"required\": true,\n \"name\": \"license\",\n \"inputType\": \"select\",\n \"placeholder\": \"license\",\n \"tooltip\": \"Choose the more appropriate Creative commons license for this Content. \",\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"License is required\"\n }\n ]\n },\n {\n \"code\": \"author\",\n \"dataType\": \"text\",\n \"description\": \"Author\",\n \"editable\": true,\n \"index\": 5,\n \"inputType\": \"text\",\n \"label\": \"Author:\",\n \"name\": \"Author\",\n \"placeholder\": \"Author\",\n \"tooltip\": \"Provide name of creator of this content.\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"required\": true,\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"Author is required\"\n }\n ]\n },\n {\n \"code\": \"attributions\",\n \"dataType\": \"list\",\n \"description\": \"Attributions\",\n \"editable\": true,\n \"index\": 3,\n \"inputType\": \"text\",\n \"label\": \"Attributions :\",\n \"name\": \"attribution\",\n \"placeholder\": \"\",\n \"tooltip\": \"If you have relied on another work to create this content, provide the name of that creator and the source of that work.\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"required\": false\n },\n {\n \"code\": \"contentPolicyCheck\",\n \"visible\": true,\n \"editable\": true,\n \"displayProperty\": \"Editable\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1 required\"\n },\n \"description\": \"Content Policy check\",\n \"index\": 7,\n \"labelHtml\": \"

I agree that by submitting / publishing this Content, I confirm that this Content complies with prescribed guidelines, including the Terms of Use and Content Policy and that I consent to publish it under the Creative Commons Framework in accordance with the Content Policy. I have made sure that I do not violate others' copyright or privacy rights.

\",\n \"required\": true,\n \"name\": \"contentPolicyCheck\",\n \"inputType\": \"checkbox\",\n \"placeholder\": \"Content Policy Check\",\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"Content Policy Check is required\"\n }\n ]\n }\n ]\n },\n \"create\": {\n \"templateName\": \"\",\n \"required\": [],\n \"properties\": [\n {\n \"name\": \"First Section\",\n \"fields\": [\n {\n \"code\": \"appIcon\",\n \"dataType\": \"text\",\n \"description\": \"appIcon of the content\",\n \"editable\": true,\n \"inputType\": \"appIcon\",\n \"label\": \"Icon\",\n \"name\": \"Icon\",\n \"placeholder\": \"Icon\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1 required\"\n },\n \"required\": true,\n \"visible\": true\n },\n {\n \"code\": \"name\",\n \"dataType\": \"text\",\n \"description\": \"Name of the content\",\n \"editable\": true,\n \"inputType\": \"text\",\n \"label\": \"Title\",\n \"name\": \"Name\",\n \"placeholder\": \"Title\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1 required\"\n },\n \"required\": true,\n \"visible\": true,\n \"validations\": [\n {\n \"type\": \"maxLength\",\n \"value\": \"120\",\n \"message\": \"Input is Exceeded\"\n },\n {\n \"type\": \"required\",\n \"message\": \"Title is required\"\n }\n ]\n },\n {\n \"code\": \"description\",\n \"dataType\": \"text\",\n \"description\": \"Description of the content\",\n \"editable\": true,\n \"inputType\": \"textarea\",\n \"label\": \"Description\",\n \"name\": \"Description\",\n \"placeholder\": \"Description\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"required\": false,\n \"visible\": true,\n \"validations\": [\n {\n \"type\": \"maxLength\",\n \"value\": \"256\",\n \"message\": \"Input is Exceeded\"\n }\n ]\n },\n {\n \"code\": \"keywords\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"list\",\n \"name\": \"Keywords\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"description\": \"Keywords for the content\",\n \"inputType\": \"keywords\",\n \"label\": \"Keywords\",\n \"placeholder\": \"Input the keyword and PRESS enter\",\n \"required\": false,\n \"validations\": []\n }\n ]\n },\n {\n \"name\": \"Second Section\",\n \"fields\": [\n {\n \"code\": \"dialcodeRequired\",\n \"dataType\": \"text\",\n \"description\": \"QR CODE REQUIRED\",\n \"editable\": true,\n \"default\": \"No\",\n \"index\": 5,\n \"inputType\": \"radio\",\n \"label\": \"QR code required\",\n \"name\": \"dialcodeRequired\",\n \"placeholder\": \"QR code required\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"range\": [\n \"Yes\",\n \"No\"\n ],\n \"required\": false,\n \"visible\": true\n },\n {\n \"code\": \"dialcodes\",\n \"depends\": [\n \"dialcodeRequired\"\n ],\n \"dataType\": \"list\",\n \"description\": \"Digital Infrastructure for Augmented Learning\",\n \"editable\": true,\n \"inputType\": \"dialcode\",\n \"label\": \"QR code\",\n \"name\": \"dialcode\",\n \"placeholder\": \"Enter code here\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"required\": true,\n \"visible\": true,\n \"validations\": [\n {\n \"type\": \"minLength\",\n \"value\": \"2\"\n },\n {\n \"type\": \"maxLength\",\n \"value\": \"20\"\n }\n ]\n }\n ]\n },\n {\n \"name\": \"Second Section\",\n \"fields\": [\n {\n \"code\": \"primaryCategory\",\n \"dataType\": \"text\",\n \"description\": \"Type\",\n \"editable\": false,\n \"renderingHints\": {},\n \"inputType\": \"select\",\n \"label\": \"Category\",\n \"name\": \"Type\",\n \"placeholder\": \"\",\n \"required\": true,\n \"visible\": true,\n \"validations\": []\n },\n {\n \"code\": \"additionalCategories\",\n \"dataType\": \"list\",\n \"depends\": [\n \"primaryCategory\"\n ],\n \"description\": \"Additonal Category of the Content\",\n \"editable\": true,\n \"inputType\": \"nestedselect\",\n \"label\": \"Additional Category\",\n \"name\": \"Additional Category\",\n \"placeholder\": \"Select Additional Category\",\n \"renderingHints\": {},\n \"required\": false,\n \"visible\": true\n }\n ]\n },\n {\n \"name\": \"Org Framework Terms\",\n \"fields\": [\n {\n \"code\": \"audience\",\n \"dataType\": \"list\",\n \"description\": \"Audience\",\n \"editable\": true,\n \"inputType\": \"nestedselect\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"label\": \"Audience Type\",\n \"name\": \"Audience Type\",\n \"placeholder\": \"Select Audience Type\",\n \"required\": false,\n \"visible\": true,\n \"range\": [\n \"Administrator\",\n \"Others\"\n ]\n },\n {\n \"code\": \"boardIds\",\n \"visible\": true,\n \"depends\": [],\n \"editable\": true,\n \"dataType\": \"list\",\n \"sourceCategory\": \"board\",\n \"output\": \"identifier\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1 required\"\n },\n \"description\": \"Framework\",\n \"label\": \"Framework\",\n \"required\": true,\n \"name\": \"Framework\",\n \"inputType\": \"select\",\n \"placeholder\": \"Select Framework\",\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"Framework is required\"\n }\n ]\n },\n {\n \"code\": \"farmingTypeIds\",\n \"visible\": true,\n \"depends\": [\n \"boardIds\"\n ],\n \"editable\": true,\n \"dataType\": \"list\",\n \"sourceCategory\": \"farmingType\",\n \"output\": \"identifier\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1 required\"\n },\n \"description\": \"\",\n \"label\": \"Farming Type\",\n \"required\": true,\n \"name\": \"Farming Type\",\n \"inputType\": \"nestedselect\",\n \"placeholder\": \"Select Farming Type\",\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"Farming Type is required\"\n }\n ]\n },\n {\n \"code\": \"cropCategoryIds\",\n \"visible\": true,\n \"depends\": [\n \"boardIds\",\n \"farmingTypeIds\"\n ],\n \"editable\": true,\n \"dataType\": \"list\",\n \"sourceCategory\": \"cropCategory\",\n \"output\": \"identifier\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1 required\"\n },\n \"description\": \"Crop Category\",\n \"label\": \"Crop Category\",\n \"required\": true,\n \"name\": \"Crop Category\",\n \"inputType\": \"nestedselect\",\n \"placeholder\": \"Select Crop Category\",\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"Crop Category is required\"\n }\n ]\n },\n {\n \"code\": \"cropTypeIds\",\n \"visible\": true,\n \"depends\": [\n \"boardIds\",\n \"farmingTypeIds\",\n \"cropCategoryIds\"\n ],\n \"editable\": true,\n \"dataType\": \"list\",\n \"sourceCategory\": \"cropType\",\n \"output\": \"identifier\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1 required\"\n },\n \"description\": \"\",\n \"label\": \"cropType\",\n \"required\": true,\n \"name\": \"Crop Type\",\n \"inputType\": \"nestedselect\",\n \"placeholder\": \"Select Crop Type\",\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"Crop Type is required\"\n }\n ]\n }\n ]\n },\n {\n \"name\": \"Fourth Section\",\n \"fields\": [\n {\n \"code\": \"author\",\n \"dataType\": \"text\",\n \"description\": \"Author of the content\",\n \"editable\": true,\n \"inputType\": \"text\",\n \"label\": \"Author\",\n \"name\": \"Author\",\n \"placeholder\": \"Author\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"required\": false,\n \"visible\": true\n },\n {\n \"code\": \"attributions\",\n \"dataType\": \"text\",\n \"description\": \"Attributions\",\n \"editable\": true,\n \"inputType\": \"text\",\n \"label\": \"Attributions\",\n \"name\": \"Attributions\",\n \"placeholder\": \"Attributions\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"required\": false,\n \"visible\": true\n },\n {\n \"code\": \"copyright\",\n \"dataType\": \"text\",\n \"description\": \"Copyright\",\n \"editable\": true,\n \"inputType\": \"text\",\n \"label\": \"Copyright\",\n \"name\": \"Copyright & year\",\n \"placeholder\": \"Copyright\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1 required\"\n },\n \"required\": true,\n \"visible\": true,\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"Copyright is required\"\n }\n ]\n },\n {\n \"code\": \"copyrightYear\",\n \"dataType\": \"number\",\n \"description\": \"Year\",\n \"editable\": true,\n \"inputType\": \"text\",\n \"label\": \"Copyright Year\",\n \"name\": \"Copyright Year\",\n \"placeholder\": \"Copyright Year\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1 required\"\n },\n \"required\": true,\n \"visible\": true,\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"Copyright Year is required\"\n }\n ]\n },\n {\n \"code\": \"license\",\n \"dataType\": \"text\",\n \"description\": \"license\",\n \"editable\": true,\n \"inputType\": \"select\",\n \"label\": \"License\",\n \"name\": \"license\",\n \"placeholder\": \"Select License\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1 required\"\n },\n \"required\": true,\n \"visible\": true,\n \"defaultValue\": \"CC BY 4.0\",\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"License is required\"\n }\n ]\n }\n ]\n }\n ]\n },\n \"delete\": {},\n \"publish\": {},\n \"publishchecklist\": {\n \"templateName\": \"\",\n \"required\": [],\n \"properties\": [\n {\n \"name\": \"Appropriateness\",\n \"renderingHints\": {\n \"class\": \"d-grid-inline-3 display-sectionName\"\n },\n \"fields\": [\n {\n \"code\": \"appropriatenessOne\",\n \"name\": \"No Hate speech, Abuse, Violence, Profanity\",\n \"label\": \"No Hate speech, Abuse, Violence, Profanity\",\n \"dataType\": \"boolean\",\n \"inputType\": \"checkbox\",\n \"editable\": true,\n \"required\": false,\n \"visible\": true,\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"\"\n }\n ],\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n }\n },\n {\n \"code\": \"appropriatenessTwo\",\n \"name\": \"No Sexual content, Nudity or Vulgarity\",\n \"label\": \"No Sexual content, Nudity or Vulgarity\",\n \"dataType\": \"boolean\",\n \"inputType\": \"checkbox\",\n \"editable\": true,\n \"required\": false,\n \"visible\": true,\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"\"\n }\n ],\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n }\n },\n {\n \"code\": \"appropriatenessThree\",\n \"name\": \"No Discrimination or Defamation\",\n \"label\": \"No Discrimination or Defamation\",\n \"dataType\": \"boolean\",\n \"inputType\": \"checkbox\",\n \"editable\": true,\n \"required\": false,\n \"visible\": true,\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"\"\n }\n ],\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n }\n },\n {\n \"code\": \"appropriatenessFour\",\n \"name\": \"Is suitable for children\",\n \"label\": \"Is suitable for children\",\n \"dataType\": \"boolean\",\n \"inputType\": \"checkbox\",\n \"editable\": true,\n \"required\": false,\n \"visible\": true,\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"\"\n }\n ],\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n }\n }\n ]\n },\n {\n \"name\": \"Content details\",\n \"renderingHints\": {\n \"class\": \"d-grid-inline-3 display-sectionName\"\n },\n \"fields\": [\n {\n \"code\": \"contentdetailsOne\",\n \"name\": \"Appropriate Title, Description\",\n \"label\": \"Appropriate Title, Description\",\n \"dataType\": \"boolean\",\n \"inputType\": \"checkbox\",\n \"editable\": true,\n \"required\": false,\n \"visible\": true,\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"\"\n }\n ],\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n }\n },\n {\n \"code\": \"contentdetailsTwo\",\n \"name\": \"Correct Board, Grade, Subject, Medium\",\n \"label\": \"Correct Board, Grade, Subject, Medium\",\n \"dataType\": \"boolean\",\n \"inputType\": \"checkbox\",\n \"editable\": true,\n \"required\": false,\n \"visible\": true,\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"\"\n }\n ],\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n }\n },\n {\n \"code\": \"contentdetailsThree\",\n \"name\": \"Appropriate tags such as Resource Type, Concepts\",\n \"label\": \"Appropriate tags such as Resource Type, Concepts\",\n \"dataType\": \"boolean\",\n \"inputType\": \"checkbox\",\n \"editable\": true,\n \"required\": false,\n \"visible\": true,\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"\"\n }\n ],\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n }\n },\n {\n \"code\": \"contentdetailsFour\",\n \"name\": \"Relevant Keywords\",\n \"label\": \"Relevant Keywords\",\n \"dataType\": \"boolean\",\n \"inputType\": \"checkbox\",\n \"editable\": true,\n \"required\": false,\n \"visible\": true,\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"\"\n }\n ],\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n }\n }\n ]\n },\n {\n \"name\": \"Usability\",\n \"renderingHints\": {\n \"class\": \"d-grid-inline-3 display-sectionName\"\n },\n \"fields\": [\n {\n \"code\": \"usabilityOne\",\n \"name\": \"Content plays correctly\",\n \"label\": \"Content plays correctly\",\n \"dataType\": \"boolean\",\n \"inputType\": \"checkbox\",\n \"editable\": true,\n \"required\": false,\n \"visible\": true,\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"\"\n }\n ],\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n }\n },\n {\n \"code\": \"usabilityTwo\",\n \"name\": \"Can see the content clearly on Desktop and App\",\n \"label\": \"Can see the content clearly on Desktop and App\",\n \"dataType\": \"boolean\",\n \"inputType\": \"checkbox\",\n \"editable\": true,\n \"required\": false,\n \"visible\": true,\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"\"\n }\n ],\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n }\n },\n {\n \"code\": \"usabilityThree\",\n \"name\": \"Audio (if any) is clear and easy to understand\",\n \"label\": \"Audio (if any) is clear and easy to understand\",\n \"dataType\": \"boolean\",\n \"inputType\": \"checkbox\",\n \"editable\": true,\n \"required\": false,\n \"visible\": true,\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"\"\n }\n ],\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n }\n },\n {\n \"code\": \"usabilityFour\",\n \"name\": \"No Spelling mistakes in the text\",\n \"label\": \"No Spelling mistakes in the text\",\n \"dataType\": \"boolean\",\n \"inputType\": \"checkbox\",\n \"editable\": true,\n \"required\": false,\n \"visible\": true,\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"\"\n }\n ],\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n }\n },\n {\n \"code\": \"usabilityFive\",\n \"name\": \"Language is simple to understand\",\n \"label\": \"Language is simple to understand\",\n \"dataType\": \"boolean\",\n \"inputType\": \"checkbox\",\n \"editable\": true,\n \"required\": false,\n \"visible\": true,\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"\"\n }\n ],\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n }\n }\n ]\n }\n ]\n },\n \"review\": {},\n \"search\": {\n \"templateName\": \"\",\n \"required\": [],\n \"properties\": [\n {\n \"code\": \"primaryCategory\",\n \"dataType\": \"list\",\n \"description\": \"Type\",\n \"editable\": true,\n \"default\": [],\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"inputType\": \"nestedselect\",\n \"label\": \"Content Type(s)\",\n \"name\": \"Type\",\n \"placeholder\": \"Select ContentType\",\n \"required\": false,\n \"visible\": true\n },\n {\n \"code\": \"board\",\n \"visible\": true,\n \"depends\": [],\n \"editable\": true,\n \"dataType\": \"list\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"description\": \"Board\",\n \"label\": \"Framework\",\n \"required\": false,\n \"name\": \"Board\",\n \"inputType\": \"select\",\n \"placeholder\": \"Select Framework\",\n \"output\": \"name\"\n },\n {\n \"code\": \"farmingtype\",\n \"visible\": true,\n \"depends\": [\n \"board\"\n ],\n \"editable\": true,\n \"dataType\": \"list\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"description\": \"\",\n \"label\": \"Farming Type\",\n \"required\": false,\n \"name\": \"Farming Type\",\n \"inputType\": \"nestedselect\",\n \"placeholder\": \"Select Farming Type\",\n \"output\": \"name\"\n },\n {\n \"code\": \"cropcategory\",\n \"visible\": true,\n \"depends\": [\n \"board\",\n \"farmingtype\"\n ],\n \"editable\": true,\n \"default\": \"\",\n \"dataType\": \"list\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"description\": \"cropcategory\",\n \"label\": \"Crop Category\",\n \"required\": false,\n \"name\": \"Crop Category\",\n \"inputType\": \"nestedselect\",\n \"placeholder\": \"Select Crop Category\",\n \"output\": \"name\"\n },\n {\n \"code\": \"croptype\",\n \"visible\": true,\n \"depends\": [\n \"board\",\n \"farmingtype\",\n \"cropcategory\"\n ],\n \"editable\": true,\n \"default\": \"\",\n \"dataType\": \"list\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"description\": \"\",\n \"label\": \"Crop Type\",\n \"required\": false,\n \"name\": \"Crop Type\",\n \"inputType\": \"nestedselect\",\n \"placeholder\": \"Select Crop Type\",\n \"output\": \"name\"\n },\n {\n \"code\": \"topic\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"list\",\n \"depends\": [\n \"board\",\n \"farmingtype\",\n \"cropcategory\",\n \"croptype\"\n ],\n \"default\": \"\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"name\": \"Topic\",\n \"description\": \"Choose a Topics\",\n \"inputType\": \"topicselector\",\n \"label\": \"Topic(s)\",\n \"placeholder\": \"Choose Topics\",\n \"required\": false\n }\n ]\n },\n \"unitMetadata\": {\n \"templateName\": \"\",\n \"required\": [],\n \"properties\": [\n {\n \"name\": \"First Section\",\n \"fields\": [\n {\n \"code\": \"name\",\n \"dataType\": \"text\",\n \"description\": \"Name of the content\",\n \"editable\": true,\n \"inputType\": \"text\",\n \"label\": \"Title\",\n \"name\": \"Title\",\n \"placeholder\": \"Title\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1 required\"\n },\n \"required\": true,\n \"visible\": true,\n \"validations\": [\n {\n \"type\": \"maxLength\",\n \"value\": \"120\",\n \"message\": \"Input is Exceeded\"\n },\n {\n \"type\": \"required\",\n \"message\": \"Title is required\"\n }\n ]\n },\n {\n \"code\": \"description\",\n \"dataType\": \"text\",\n \"description\": \"Description of the content\",\n \"editable\": true,\n \"inputType\": \"textarea\",\n \"label\": \"Description\",\n \"name\": \"Description\",\n \"placeholder\": \"Description\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"required\": false,\n \"visible\": true,\n \"validations\": [\n {\n \"type\": \"maxLength\",\n \"value\": \"256\",\n \"message\": \"Input is Exceeded\"\n }\n ]\n },\n {\n \"code\": \"keywords\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"list\",\n \"name\": \"Keywords\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"description\": \"Keywords for the content\",\n \"inputType\": \"keywords\",\n \"label\": \"Keywords\",\n \"placeholder\": \"Input the keyword and PRESS enter\",\n \"required\": false,\n \"validations\": []\n },\n {\n \"code\": \"topic\",\n \"visible\": true,\n \"depends\": [],\n \"editable\": true,\n \"dataType\": \"list\",\n \"renderingHints\": {},\n \"name\": \"Topic\",\n \"description\": \"Choose a Topics\",\n \"index\": 11,\n \"inputType\": \"topicselector\",\n \"label\": \"Topics\",\n \"placeholder\": \"Choose Topics\",\n \"required\": false,\n \"validations\": []\n },\n {\n \"code\": \"dialcodeRequired\",\n \"dataType\": \"text\",\n \"description\": \"QR CODE REQUIRED\",\n \"editable\": true,\n \"default\": \"No\",\n \"index\": 5,\n \"inputType\": \"radio\",\n \"label\": \"QR code required\",\n \"name\": \"dialcodeRequired\",\n \"placeholder\": \"QR code required\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"range\": [\n \"Yes\",\n \"No\"\n ],\n \"required\": false,\n \"visible\": true\n },\n {\n \"code\": \"dialcodes\",\n \"depends\": [\n \"dialcodeRequired\"\n ],\n \"dataType\": \"list\",\n \"description\": \"Digital Infrastructure for Augmented Learning\",\n \"editable\": true,\n \"inputType\": \"dialcode\",\n \"label\": \"QR code\",\n \"name\": \"dialcode\",\n \"placeholder\": \"Enter code here\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"required\": true,\n \"visible\": true,\n \"validations\": [\n {\n \"type\": \"minLength\",\n \"value\": \"2\"\n },\n {\n \"type\": \"maxLength\",\n \"value\": \"20\"\n }\n ]\n }\n ]\n }\n ]\n },\n \"update\": {}\n }\n }\n }\n}" + }, + "url": { + "raw": "{{host}}/api/object/category/definition/v1/create", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "object", + "category", + "definition", + "v1", + "create" + ] + } + }, + "response": [] + }, + { + "name": "ObjectCategoryDefinition - Lesson Plan Unit", + "request": { + "method": "POST", + "header": [ + { + "key": "Authorization", + "value": "Bearer {{apikey}}" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"objectCategoryDefinition\": {\n \"categoryId\": \"obj-cat:question-paper\",\n \"targetObjectType\": \"Collection\",\n \"objectMetadata\": {\n \"config\": {\n \"sourcingSettings\": {\n \"collection\": {\n \"maxDepth\": 4,\n \"objectType\": \"Collection\",\n \"primaryCategory\": \"Question Paper\",\n \"isRoot\": true,\n \"iconClass\": \"fa fa-book\",\n \"children\": {},\n \"hierarchy\": {\n \"level1\": {\n \"children\": {\n \"Content\": []\n },\n \"contentType\": \"Collection\",\n \"iconClass\": \"fa fa-folder-o\",\n \"mimeType\": \"application/vnd.ekstep.content-collection\",\n \"name\": \"Collection Unit\",\n \"primaryCategory\": \"Question Paper\"\n },\n \"level2\": {\n \"children\": {\n \"Content\": []\n },\n \"contentType\": \"Collection\",\n \"iconClass\": \"fa fa-folder-o\",\n \"mimeType\": \"application/vnd.ekstep.content-collection\",\n \"name\": \"Collection Unit\",\n \"primaryCategory\": \"Question Paper\"\n },\n \"level3\": {\n \"children\": {\n \"Content\": []\n },\n \"contentType\": \"Collection\",\n \"iconClass\": \"fa fa-folder-o\",\n \"mimeType\": \"application/vnd.ekstep.content-collection\",\n \"name\": \"Collection Unit\",\n \"primaryCategory\": \"Question Paper\"\n },\n \"level4\": {\n \"children\": {\n \"Content\": []\n },\n \"contentType\": \"Collection\",\n \"iconClass\": \"fa fa-folder-o\",\n \"mimeType\": \"application/vnd.ekstep.content-collection\",\n \"name\": \"Collection Unit\",\n \"primaryCategory\": \"Question Paper\"\n }\n }\n }\n }\n },\n \"schema\": {\n \"properties\": {\n \"generateDIALCodes\": {\n \"type\": \"string\",\n \"enum\": [\n \"Yes\",\n \"No\"\n ],\n \"default\": \"Yes\"\n },\n \"trackable\": {\n \"type\": \"object\",\n \"properties\": {\n \"enabled\": {\n \"type\": \"string\",\n \"enum\": [\n \"Yes\",\n \"No\"\n ],\n \"default\": \"No\"\n },\n \"autoBatch\": {\n \"type\": \"string\",\n \"enum\": [\n \"Yes\",\n \"No\"\n ],\n \"default\": \"No\"\n }\n },\n \"default\": {\n \"enabled\": \"No\",\n \"autoBatch\": \"No\"\n },\n \"additionalProperties\": false\n },\n \"monitorable\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"string\",\n \"enum\": [\n \"progress-report\",\n \"score-report\"\n ]\n }\n },\n \"credentials\": {\n \"type\": \"object\",\n \"properties\": {\n \"enabled\": {\n \"type\": \"string\",\n \"enum\": [\n \"Yes\",\n \"No\"\n ],\n \"default\": \"No\"\n }\n },\n \"default\": {\n \"enabled\": \"No\"\n },\n \"additionalProperties\": false\n },\n \"userConsent\": {\n \"type\": \"string\",\n \"enum\": [\n \"Yes\",\n \"No\"\n ],\n \"default\": \"No\"\n },\n \"mimeType\": {\n \"type\": \"string\",\n \"enum\": [\n \"application/vnd.ekstep.content-collection\"\n ]\n }\n }\n }\n },\n \"forms\": {\n \"blueprintCreate\": {\n \"templateName\": \"\",\n \"required\": [],\n \"properties\": [\n {\n \"code\": \"topics\",\n \"dataType\": \"list\",\n \"description\": \"\",\n \"editable\": true,\n \"index\": 0,\n \"inputType\": \"multiSelect\",\n \"label\": \"Chapters\",\n \"name\": \"Chapters\",\n \"placeholder\": \"Please select chapters\",\n \"renderingHints\": {},\n \"required\": true\n },\n {\n \"code\": \"learningOutcomes\",\n \"dataType\": \"list\",\n \"description\": \"\",\n \"editable\": true,\n \"index\": 1,\n \"inputType\": \"multiSelect\",\n \"label\": \"Competencies\",\n \"name\": \"Competencies\",\n \"placeholder\": \"Please select Competencies\",\n \"depends\": [\n \"chapters\"\n ],\n \"renderingHints\": {},\n \"required\": true\n },\n {\n \"code\": \"learningLevels\",\n \"editable\": true,\n \"displayProperty\": \"Editable\",\n \"dataType\": \"text\",\n \"renderingHints\": {\n \"semanticColumnWidth\": \"twelve\"\n },\n \"label\": \"Skills Tested\",\n \"required\": true,\n \"name\": \"Learning Levels\",\n \"index\": 2,\n \"inputType\": \"select\",\n \"placeholder\": \"\",\n \"default\": 0,\n \"options\": [\n 0,\n 1,\n 2,\n 3,\n 4,\n 5\n ],\n \"children\": [\n {\n \"type\": \"learningLevel\",\n \"label\": \"Knowledge\",\n \"code\": \"remember\"\n },\n {\n \"type\": \"learningLevel\",\n \"label\": \"Understanding\",\n \"code\": \"understand\"\n },\n {\n \"type\": \"learningLevel\",\n \"label\": \"Application\",\n \"code\": \"apply\"\n }\n ]\n },\n {\n \"code\": \"questionTypes\",\n \"editable\": true,\n \"displayProperty\": \"Editable\",\n \"dataType\": \"text\",\n \"renderingHints\": {\n \"semanticColumnWidth\": \"twelve\"\n },\n \"description\": \"Question Types\",\n \"index\": 2,\n \"label\": \"Question Types\",\n \"default\": 0,\n \"required\": true,\n \"name\": \"Question Types\",\n \"inputType\": \"select\",\n \"children\": [\n {\n \"type\": \"questionType\",\n \"label\": \"Objective\",\n \"code\": \"Objective\"\n },\n {\n \"type\": \"questionType\",\n \"label\": \"Very Short Answer\",\n \"code\": \"VSA\"\n },\n {\n \"type\": \"questionType\",\n \"label\": \"Short Answer\",\n \"code\": \"SA\"\n },\n {\n \"type\": \"questionType\",\n \"label\": \"Long Answer\",\n \"code\": \"LA\"\n }\n ],\n \"options\": [\n 0,\n 1,\n 2,\n 3,\n 4,\n 5\n ],\n \"placeholder\": \"Question Types\"\n },\n {\n \"code\": \"totalMarks\",\n \"editable\": true,\n \"displayProperty\": \"Editable\",\n \"dataType\": \"text\",\n \"renderingHints\": {\n \"semanticColumnWidth\": \"three\"\n },\n \"description\": \"Total Marks\",\n \"index\": 4,\n \"label\": \"Total Marks\",\n \"required\": true,\n \"default\": 0,\n \"name\": \"Total Marks\",\n \"inputType\": \"text\",\n \"placeholder\": \"\"\n }\n ]\n },\n \"childMetadata\": {\n \"templateName\": \"\",\n \"required\": [],\n \"properties\": [\n {\n \"code\": \"name\",\n \"editable\": true,\n \"displayProperty\": \"Editable\",\n \"dataType\": \"text\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1 required\"\n },\n \"description\": \"Name\",\n \"index\": 1,\n \"label\": \"Name\",\n \"required\": true,\n \"name\": \"Name\",\n \"inputType\": \"text\",\n \"placeholder\": \"Name\",\n \"validations\": [\n {\n \"type\": \"maxLength\",\n \"value\": \"50\",\n \"message\": \"Input is Exceeded\"\n },\n {\n \"type\": \"required\",\n \"message\": \"Name is required\"\n }\n ]\n },\n {\n \"code\": \"description\",\n \"dataType\": \"text\",\n \"description\": \"Description of the content\",\n \"editable\": true,\n \"inputType\": \"textarea\",\n \"label\": \"Description\",\n \"name\": \"Description\",\n \"placeholder\": \"Description\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"required\": false,\n \"visible\": true\n },\n {\n \"code\": \"primaryCategory\",\n \"dataType\": \"text\",\n \"description\": \"Type\",\n \"editable\": false,\n \"renderingHints\": {},\n \"inputType\": \"select\",\n \"label\": \"Category\",\n \"name\": \"Type\",\n \"placeholder\": \"\",\n \"required\": true,\n \"visible\": true,\n \"validations\": []\n },\n {\n \"code\": \"additionalCategories\",\n \"visible\": true,\n \"editable\": true,\n \"displayProperty\": \"Editable\",\n \"dataType\": \"list\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"description\": \"croptype\",\n \"index\": 7,\n \"label\": \"Content Additional Categories\",\n \"required\": false,\n \"name\": \"additionalCategories\",\n \"inputType\": \"nestedselect\",\n \"placeholder\": \"Content Additional Categories\"\n },\n {\n \"code\": \"cropTypeIds\",\n \"visible\": true,\n \"depends\": [],\n \"editable\": false,\n \"dataType\": \"list\",\n \"sourceCategory\": \"cropType\",\n \"output\": \"identifier\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"description\": \"\",\n \"label\": \"Crop Type\",\n \"required\": true,\n \"name\": \"Crop Type\",\n \"inputType\": \"nestedselect\",\n \"placeholder\": \"Select Crop Type\"\n },\n {\n \"code\": \"topicsIds\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"list\",\n \"depends\": [\n \"cropTypeIds\"\n ],\n \"sourceCategory\": \"topic\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"name\": \"Topic\",\n \"description\": \"Choose a Topics\",\n \"inputType\": \"topicselector\",\n \"label\": \"Topic(s)\",\n \"placeholder\": \"Choose Topics\",\n \"required\": false,\n \"output\": \"identifier\"\n },\n {\n \"code\": \"copyright\",\n \"dataType\": \"text\",\n \"description\": \"Copyright\",\n \"editable\": true,\n \"index\": 4,\n \"inputType\": \"text\",\n \"label\": \"Copyright and Year:\",\n \"name\": \"Copyright\",\n \"placeholder\": \"Enter Copyright and Year\",\n \"tooltip\": \"If you are an individual, creating original content, you are the copyright holder. If you are creating this course content on behalf of an organisation, the organisation may be the copyright holder. \",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1 required\"\n },\n \"required\": true,\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"Copyright is required\"\n }\n ]\n },\n {\n \"code\": \"license\",\n \"visible\": true,\n \"editable\": true,\n \"displayProperty\": \"Editable\",\n \"dataType\": \"text\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1 required\"\n },\n \"description\": \"Subject of the Content to use to teach\",\n \"index\": 6,\n \"label\": \"License:\",\n \"required\": true,\n \"name\": \"license\",\n \"inputType\": \"select\",\n \"placeholder\": \"license\",\n \"tooltip\": \"Choose the more appropriate Creative commons license for this Content. \",\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"License is required\"\n }\n ]\n },\n {\n \"code\": \"author\",\n \"dataType\": \"text\",\n \"description\": \"Author\",\n \"editable\": true,\n \"index\": 5,\n \"inputType\": \"text\",\n \"label\": \"Author:\",\n \"name\": \"Author\",\n \"placeholder\": \"Author\",\n \"tooltip\": \"Provide name of creator of this content.\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"required\": true,\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"Author is required\"\n }\n ]\n },\n {\n \"code\": \"attributions\",\n \"dataType\": \"list\",\n \"description\": \"Attributions\",\n \"editable\": true,\n \"index\": 3,\n \"inputType\": \"text\",\n \"label\": \"Attributions :\",\n \"name\": \"attribution\",\n \"placeholder\": \"\",\n \"tooltip\": \"If you have relied on another work to create this content, provide the name of that creator and the source of that work.\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"required\": false\n },\n {\n \"code\": \"contentPolicyCheck\",\n \"visible\": true,\n \"editable\": true,\n \"displayProperty\": \"Editable\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1 required\"\n },\n \"description\": \"Content Policy check\",\n \"index\": 7,\n \"labelHtml\": \"

I agree that by submitting / publishing this Content, I confirm that this Content complies with prescribed guidelines, including the Terms of Use and Content Policy and that I consent to publish it under the Creative Commons Framework in accordance with the Content Policy. I have made sure that I do not violate others' copyright or privacy rights.

\",\n \"required\": true,\n \"name\": \"contentPolicyCheck\",\n \"inputType\": \"checkbox\",\n \"placeholder\": \"Content Policy Check\",\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"Content Policy Check is required\"\n }\n ]\n }\n ]\n },\n \"create\": {\n \"templateName\": \"\",\n \"required\": [],\n \"properties\": [\n {\n \"name\": \"First Section\",\n \"fields\": [\n {\n \"code\": \"appIcon\",\n \"dataType\": \"text\",\n \"description\": \"appIcon of the content\",\n \"editable\": true,\n \"inputType\": \"appIcon\",\n \"label\": \"Icon\",\n \"name\": \"Icon\",\n \"placeholder\": \"Icon\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1 required\"\n },\n \"required\": true,\n \"visible\": true\n },\n {\n \"code\": \"name\",\n \"dataType\": \"text\",\n \"description\": \"Name of the content\",\n \"editable\": true,\n \"inputType\": \"text\",\n \"label\": \"Title\",\n \"name\": \"Name\",\n \"placeholder\": \"Title\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1 required\"\n },\n \"required\": true,\n \"visible\": true,\n \"validations\": [\n {\n \"type\": \"maxLength\",\n \"value\": \"120\",\n \"message\": \"Input is Exceeded\"\n },\n {\n \"type\": \"required\",\n \"message\": \"Title is required\"\n }\n ]\n },\n {\n \"code\": \"description\",\n \"dataType\": \"text\",\n \"description\": \"Description of the content\",\n \"editable\": true,\n \"inputType\": \"textarea\",\n \"label\": \"Description\",\n \"name\": \"Description\",\n \"placeholder\": \"Description\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"required\": false,\n \"visible\": true,\n \"validations\": [\n {\n \"type\": \"maxLength\",\n \"value\": \"256\",\n \"message\": \"Input is Exceeded\"\n }\n ]\n },\n {\n \"code\": \"keywords\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"list\",\n \"name\": \"Keywords\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"description\": \"Keywords for the content\",\n \"inputType\": \"keywords\",\n \"label\": \"Keywords\",\n \"placeholder\": \"Input the keyword and PRESS enter\",\n \"required\": false,\n \"validations\": []\n }\n ]\n },\n {\n \"name\": \"Second Section\",\n \"fields\": [\n {\n \"code\": \"dialcodeRequired\",\n \"dataType\": \"text\",\n \"description\": \"QR CODE REQUIRED\",\n \"editable\": true,\n \"default\": \"No\",\n \"index\": 5,\n \"inputType\": \"radio\",\n \"label\": \"QR code required\",\n \"name\": \"dialcodeRequired\",\n \"placeholder\": \"QR code required\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"range\": [\n \"Yes\",\n \"No\"\n ],\n \"required\": false,\n \"visible\": true\n },\n {\n \"code\": \"dialcodes\",\n \"depends\": [\n \"dialcodeRequired\"\n ],\n \"dataType\": \"list\",\n \"description\": \"Digital Infrastructure for Augmented Learning\",\n \"editable\": true,\n \"inputType\": \"dialcode\",\n \"label\": \"QR code\",\n \"name\": \"dialcode\",\n \"placeholder\": \"Enter code here\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"required\": true,\n \"visible\": true,\n \"validations\": [\n {\n \"type\": \"minLength\",\n \"value\": \"2\"\n },\n {\n \"type\": \"maxLength\",\n \"value\": \"20\"\n }\n ]\n }\n ]\n },\n {\n \"name\": \"Second Section\",\n \"fields\": [\n {\n \"code\": \"primaryCategory\",\n \"dataType\": \"text\",\n \"description\": \"Type\",\n \"editable\": false,\n \"renderingHints\": {},\n \"inputType\": \"select\",\n \"label\": \"Category\",\n \"name\": \"Type\",\n \"placeholder\": \"\",\n \"required\": true,\n \"visible\": true,\n \"validations\": []\n },\n {\n \"code\": \"additionalCategories\",\n \"dataType\": \"list\",\n \"depends\": [\n \"primaryCategory\"\n ],\n \"description\": \"Additonal Category of the Content\",\n \"editable\": true,\n \"inputType\": \"nestedselect\",\n \"label\": \"Additional Category\",\n \"name\": \"Additional Category\",\n \"placeholder\": \"Select Additional Category\",\n \"renderingHints\": {},\n \"required\": false,\n \"visible\": true\n }\n ]\n },\n {\n \"name\": \"Org Framework Terms\",\n \"fields\": [\n {\n \"code\": \"audience\",\n \"dataType\": \"list\",\n \"description\": \"Audience\",\n \"editable\": true,\n \"inputType\": \"nestedselect\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"label\": \"Audience Type\",\n \"name\": \"Audience Type\",\n \"placeholder\": \"Select Audience Type\",\n \"required\": false,\n \"visible\": true,\n \"range\": [\n \"Administrator\",\n \"Others\"\n ]\n },\n {\n \"code\": \"boardIds\",\n \"visible\": true,\n \"depends\": [],\n \"editable\": true,\n \"dataType\": \"list\",\n \"sourceCategory\": \"board\",\n \"output\": \"identifier\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1 required\"\n },\n \"description\": \"Framework\",\n \"label\": \"Framework\",\n \"required\": true,\n \"name\": \"Framework\",\n \"inputType\": \"select\",\n \"placeholder\": \"Select Framework\",\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"Framework is required\"\n }\n ]\n },\n {\n \"code\": \"farmingTypeIds\",\n \"visible\": true,\n \"depends\": [\n \"boardIds\"\n ],\n \"editable\": true,\n \"dataType\": \"list\",\n \"sourceCategory\": \"farmingType\",\n \"output\": \"identifier\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1 required\"\n },\n \"description\": \"\",\n \"label\": \"Farming Type\",\n \"required\": true,\n \"name\": \"Farming Type\",\n \"inputType\": \"nestedselect\",\n \"placeholder\": \"Select Farming Type\",\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"Farming Type is required\"\n }\n ]\n },\n {\n \"code\": \"cropCategoryIds\",\n \"visible\": true,\n \"depends\": [\n \"boardIds\",\n \"farmingTypeIds\"\n ],\n \"editable\": true,\n \"dataType\": \"list\",\n \"sourceCategory\": \"cropCategory\",\n \"output\": \"identifier\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1 required\"\n },\n \"description\": \"Crop Category\",\n \"label\": \"Crop Category\",\n \"required\": true,\n \"name\": \"Crop Category\",\n \"inputType\": \"nestedselect\",\n \"placeholder\": \"Select Crop Category\",\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"Crop Category is required\"\n }\n ]\n },\n {\n \"code\": \"cropTypeIds\",\n \"visible\": true,\n \"depends\": [\n \"boardIds\",\n \"farmingTypeIds\",\n \"cropCategoryIds\"\n ],\n \"editable\": true,\n \"dataType\": \"list\",\n \"sourceCategory\": \"cropType\",\n \"output\": \"identifier\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1 required\"\n },\n \"description\": \"\",\n \"label\": \"cropType\",\n \"required\": true,\n \"name\": \"Crop Type\",\n \"inputType\": \"nestedselect\",\n \"placeholder\": \"Select Crop Type\",\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"Crop Type is required\"\n }\n ]\n }\n ]\n },\n {\n \"name\": \"Fourth Section\",\n \"fields\": [\n {\n \"code\": \"author\",\n \"dataType\": \"text\",\n \"description\": \"Author of the content\",\n \"editable\": true,\n \"inputType\": \"text\",\n \"label\": \"Author\",\n \"name\": \"Author\",\n \"placeholder\": \"Author\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"required\": false,\n \"visible\": true\n },\n {\n \"code\": \"attributions\",\n \"dataType\": \"text\",\n \"description\": \"Attributions\",\n \"editable\": true,\n \"inputType\": \"text\",\n \"label\": \"Attributions\",\n \"name\": \"Attributions\",\n \"placeholder\": \"Attributions\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"required\": false,\n \"visible\": true\n },\n {\n \"code\": \"copyright\",\n \"dataType\": \"text\",\n \"description\": \"Copyright\",\n \"editable\": true,\n \"inputType\": \"text\",\n \"label\": \"Copyright\",\n \"name\": \"Copyright & year\",\n \"placeholder\": \"Copyright\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1 required\"\n },\n \"required\": true,\n \"visible\": true,\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"Copyright is required\"\n }\n ]\n },\n {\n \"code\": \"copyrightYear\",\n \"dataType\": \"number\",\n \"description\": \"Year\",\n \"editable\": true,\n \"inputType\": \"text\",\n \"label\": \"Copyright Year\",\n \"name\": \"Copyright Year\",\n \"placeholder\": \"Copyright Year\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1 required\"\n },\n \"required\": true,\n \"visible\": true,\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"Copyright Year is required\"\n }\n ]\n },\n {\n \"code\": \"license\",\n \"dataType\": \"text\",\n \"description\": \"license\",\n \"editable\": true,\n \"inputType\": \"select\",\n \"label\": \"License\",\n \"name\": \"license\",\n \"placeholder\": \"Select License\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1 required\"\n },\n \"required\": true,\n \"visible\": true,\n \"defaultValue\": \"CC BY 4.0\",\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"License is required\"\n }\n ]\n }\n ]\n }\n ]\n },\n \"delete\": {},\n \"publish\": {},\n \"publishchecklist\": {\n \"templateName\": \"\",\n \"required\": [],\n \"properties\": [\n {\n \"name\": \"Appropriateness\",\n \"renderingHints\": {\n \"class\": \"d-grid-inline-3 display-sectionName\"\n },\n \"fields\": [\n {\n \"code\": \"appropriatenessOne\",\n \"name\": \"No Hate speech, Abuse, Violence, Profanity\",\n \"label\": \"No Hate speech, Abuse, Violence, Profanity\",\n \"dataType\": \"boolean\",\n \"inputType\": \"checkbox\",\n \"editable\": true,\n \"required\": false,\n \"visible\": true,\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"\"\n }\n ],\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n }\n },\n {\n \"code\": \"appropriatenessTwo\",\n \"name\": \"No Sexual content, Nudity or Vulgarity\",\n \"label\": \"No Sexual content, Nudity or Vulgarity\",\n \"dataType\": \"boolean\",\n \"inputType\": \"checkbox\",\n \"editable\": true,\n \"required\": false,\n \"visible\": true,\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"\"\n }\n ],\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n }\n },\n {\n \"code\": \"appropriatenessThree\",\n \"name\": \"No Discrimination or Defamation\",\n \"label\": \"No Discrimination or Defamation\",\n \"dataType\": \"boolean\",\n \"inputType\": \"checkbox\",\n \"editable\": true,\n \"required\": false,\n \"visible\": true,\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"\"\n }\n ],\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n }\n },\n {\n \"code\": \"appropriatenessFour\",\n \"name\": \"Is suitable for children\",\n \"label\": \"Is suitable for children\",\n \"dataType\": \"boolean\",\n \"inputType\": \"checkbox\",\n \"editable\": true,\n \"required\": false,\n \"visible\": true,\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"\"\n }\n ],\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n }\n }\n ]\n },\n {\n \"name\": \"Content details\",\n \"renderingHints\": {\n \"class\": \"d-grid-inline-3 display-sectionName\"\n },\n \"fields\": [\n {\n \"code\": \"contentdetailsOne\",\n \"name\": \"Appropriate Title, Description\",\n \"label\": \"Appropriate Title, Description\",\n \"dataType\": \"boolean\",\n \"inputType\": \"checkbox\",\n \"editable\": true,\n \"required\": false,\n \"visible\": true,\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"\"\n }\n ],\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n }\n },\n {\n \"code\": \"contentdetailsTwo\",\n \"name\": \"Correct Board, Grade, Subject, Medium\",\n \"label\": \"Correct Board, Grade, Subject, Medium\",\n \"dataType\": \"boolean\",\n \"inputType\": \"checkbox\",\n \"editable\": true,\n \"required\": false,\n \"visible\": true,\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"\"\n }\n ],\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n }\n },\n {\n \"code\": \"contentdetailsThree\",\n \"name\": \"Appropriate tags such as Resource Type, Concepts\",\n \"label\": \"Appropriate tags such as Resource Type, Concepts\",\n \"dataType\": \"boolean\",\n \"inputType\": \"checkbox\",\n \"editable\": true,\n \"required\": false,\n \"visible\": true,\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"\"\n }\n ],\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n }\n },\n {\n \"code\": \"contentdetailsFour\",\n \"name\": \"Relevant Keywords\",\n \"label\": \"Relevant Keywords\",\n \"dataType\": \"boolean\",\n \"inputType\": \"checkbox\",\n \"editable\": true,\n \"required\": false,\n \"visible\": true,\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"\"\n }\n ],\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n }\n }\n ]\n },\n {\n \"name\": \"Usability\",\n \"renderingHints\": {\n \"class\": \"d-grid-inline-3 display-sectionName\"\n },\n \"fields\": [\n {\n \"code\": \"usabilityOne\",\n \"name\": \"Content plays correctly\",\n \"label\": \"Content plays correctly\",\n \"dataType\": \"boolean\",\n \"inputType\": \"checkbox\",\n \"editable\": true,\n \"required\": false,\n \"visible\": true,\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"\"\n }\n ],\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n }\n },\n {\n \"code\": \"usabilityTwo\",\n \"name\": \"Can see the content clearly on Desktop and App\",\n \"label\": \"Can see the content clearly on Desktop and App\",\n \"dataType\": \"boolean\",\n \"inputType\": \"checkbox\",\n \"editable\": true,\n \"required\": false,\n \"visible\": true,\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"\"\n }\n ],\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n }\n },\n {\n \"code\": \"usabilityThree\",\n \"name\": \"Audio (if any) is clear and easy to understand\",\n \"label\": \"Audio (if any) is clear and easy to understand\",\n \"dataType\": \"boolean\",\n \"inputType\": \"checkbox\",\n \"editable\": true,\n \"required\": false,\n \"visible\": true,\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"\"\n }\n ],\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n }\n },\n {\n \"code\": \"usabilityFour\",\n \"name\": \"No Spelling mistakes in the text\",\n \"label\": \"No Spelling mistakes in the text\",\n \"dataType\": \"boolean\",\n \"inputType\": \"checkbox\",\n \"editable\": true,\n \"required\": false,\n \"visible\": true,\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"\"\n }\n ],\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n }\n },\n {\n \"code\": \"usabilityFive\",\n \"name\": \"Language is simple to understand\",\n \"label\": \"Language is simple to understand\",\n \"dataType\": \"boolean\",\n \"inputType\": \"checkbox\",\n \"editable\": true,\n \"required\": false,\n \"visible\": true,\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"\"\n }\n ],\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n }\n }\n ]\n }\n ]\n },\n \"review\": {},\n \"search\": {\n \"templateName\": \"\",\n \"required\": [],\n \"properties\": [\n {\n \"code\": \"primaryCategory\",\n \"dataType\": \"list\",\n \"description\": \"Type\",\n \"editable\": true,\n \"default\": [],\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"inputType\": \"nestedselect\",\n \"label\": \"Content Type(s)\",\n \"name\": \"Type\",\n \"placeholder\": \"Select ContentType\",\n \"required\": false,\n \"visible\": true\n },\n {\n \"code\": \"board\",\n \"visible\": true,\n \"depends\": [],\n \"editable\": true,\n \"dataType\": \"list\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"description\": \"Board\",\n \"label\": \"Framework\",\n \"required\": false,\n \"name\": \"Board\",\n \"inputType\": \"select\",\n \"placeholder\": \"Select Framework\",\n \"output\": \"name\"\n },\n {\n \"code\": \"farmingtype\",\n \"visible\": true,\n \"depends\": [\n \"board\"\n ],\n \"editable\": true,\n \"dataType\": \"list\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"description\": \"\",\n \"label\": \"Farming Type\",\n \"required\": false,\n \"name\": \"Farming Type\",\n \"inputType\": \"nestedselect\",\n \"placeholder\": \"Select Farming Type\",\n \"output\": \"name\"\n },\n {\n \"code\": \"cropcategory\",\n \"visible\": true,\n \"depends\": [\n \"board\",\n \"farmingtype\"\n ],\n \"editable\": true,\n \"default\": \"\",\n \"dataType\": \"list\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"description\": \"cropcategory\",\n \"label\": \"Crop Category\",\n \"required\": false,\n \"name\": \"Crop Category\",\n \"inputType\": \"nestedselect\",\n \"placeholder\": \"Select Crop Category\",\n \"output\": \"name\"\n },\n {\n \"code\": \"croptype\",\n \"visible\": true,\n \"depends\": [\n \"board\",\n \"farmingtype\",\n \"cropcategory\"\n ],\n \"editable\": true,\n \"default\": \"\",\n \"dataType\": \"list\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"description\": \"\",\n \"label\": \"Crop Type\",\n \"required\": false,\n \"name\": \"Crop Type\",\n \"inputType\": \"nestedselect\",\n \"placeholder\": \"Select Crop Type\",\n \"output\": \"name\"\n },\n {\n \"code\": \"topic\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"list\",\n \"depends\": [\n \"board\",\n \"farmingtype\",\n \"cropcategory\",\n \"croptype\"\n ],\n \"default\": \"\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"name\": \"Topic\",\n \"description\": \"Choose a Topics\",\n \"inputType\": \"topicselector\",\n \"label\": \"Topic(s)\",\n \"placeholder\": \"Choose Topics\",\n \"required\": false\n }\n ]\n },\n \"unitMetadata\": {\n \"templateName\": \"\",\n \"required\": [],\n \"properties\": [\n {\n \"name\": \"First Section\",\n \"fields\": [\n {\n \"code\": \"name\",\n \"dataType\": \"text\",\n \"description\": \"Name of the content\",\n \"editable\": true,\n \"inputType\": \"text\",\n \"label\": \"Title\",\n \"name\": \"Title\",\n \"placeholder\": \"Title\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1 required\"\n },\n \"required\": true,\n \"visible\": true,\n \"validations\": [\n {\n \"type\": \"maxLength\",\n \"value\": \"120\",\n \"message\": \"Input is Exceeded\"\n },\n {\n \"type\": \"required\",\n \"message\": \"Title is required\"\n }\n ]\n },\n {\n \"code\": \"description\",\n \"dataType\": \"text\",\n \"description\": \"Description of the content\",\n \"editable\": true,\n \"inputType\": \"textarea\",\n \"label\": \"Description\",\n \"name\": \"Description\",\n \"placeholder\": \"Description\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"required\": false,\n \"visible\": true,\n \"validations\": [\n {\n \"type\": \"maxLength\",\n \"value\": \"256\",\n \"message\": \"Input is Exceeded\"\n }\n ]\n },\n {\n \"code\": \"keywords\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"list\",\n \"name\": \"Keywords\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"description\": \"Keywords for the content\",\n \"inputType\": \"keywords\",\n \"label\": \"Keywords\",\n \"placeholder\": \"Input the keyword and PRESS enter\",\n \"required\": false,\n \"validations\": []\n },\n {\n \"code\": \"topic\",\n \"visible\": true,\n \"depends\": [],\n \"editable\": true,\n \"dataType\": \"list\",\n \"renderingHints\": {},\n \"name\": \"Topic\",\n \"description\": \"Choose a Topics\",\n \"index\": 11,\n \"inputType\": \"topicselector\",\n \"label\": \"Topics\",\n \"placeholder\": \"Choose Topics\",\n \"required\": false,\n \"validations\": []\n },\n {\n \"code\": \"dialcodeRequired\",\n \"dataType\": \"text\",\n \"description\": \"QR CODE REQUIRED\",\n \"editable\": true,\n \"default\": \"No\",\n \"index\": 5,\n \"inputType\": \"radio\",\n \"label\": \"QR code required\",\n \"name\": \"dialcodeRequired\",\n \"placeholder\": \"QR code required\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"range\": [\n \"Yes\",\n \"No\"\n ],\n \"required\": false,\n \"visible\": true\n },\n {\n \"code\": \"dialcodes\",\n \"depends\": [\n \"dialcodeRequired\"\n ],\n \"dataType\": \"list\",\n \"description\": \"Digital Infrastructure for Augmented Learning\",\n \"editable\": true,\n \"inputType\": \"dialcode\",\n \"label\": \"QR code\",\n \"name\": \"dialcode\",\n \"placeholder\": \"Enter code here\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"required\": true,\n \"visible\": true,\n \"validations\": [\n {\n \"type\": \"minLength\",\n \"value\": \"2\"\n },\n {\n \"type\": \"maxLength\",\n \"value\": \"20\"\n }\n ]\n }\n ]\n }\n ]\n },\n \"update\": {}\n }\n }\n }\n}" + }, + "url": { + "raw": "{{host}}/api/object/category/definition/v1/create", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "object", + "category", + "definition", + "v1", + "create" + ] + } + }, + "response": [] + }, + { + "name": "ObjectCategoryDefinition - Exam Question", + "request": { + "method": "POST", + "header": [ + { + "key": "Authorization", + "value": "Bearer {{apikey}}" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"objectCategoryDefinition\": {\n \"categoryId\": \"obj-cat:exam-question\",\n \"targetObjectType\": \"Content\",\n \"objectMetadata\": {\n \"config\": {},\n \"schema\": {\n \"properties\": {\n \"trackable\": {\n \"type\": \"object\",\n \"properties\": {\n \"enabled\": {\n \"type\": \"string\",\n \"enum\": [\n \"Yes\",\n \"No\"\n ],\n \"default\": \"No\"\n }\n },\n \"additionalCategories\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"string\",\n \"default\": \"Textbook\"\n }\n }\n }\n }\n }\n }\n }\n }\n}" + }, + "url": { + "raw": "{{host}}/api/object/category/definition/v1/create", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "object", + "category", + "definition", + "v1", + "create" + ] + } + }, + "response": [] + }, + { + "name": "ObjectCategoryDefinition - Course - read", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + }, + { + "key": "Authorization", + "value": "Bearer {{apikey}}", + "type": "text" + }, + { + "key": "X-Authenticated-User-token", + "value": "", + "type": "text", + "disabled": true + } + ], + "url": { "raw": "{{host}}/api/object/category/definition/v1/read/obj-cat:course_collection_all?fields=objectMetadata,forms", "host": [ "{{host}}" @@ -3913,7 +4417,7 @@ "description": "[https://github.com/project-sunbird/knowledge-platform/blob/master/scripts/framework-master-category/framework-master-category](https://github.com/project-sunbird/knowledge-platform/blob/master/scripts/framework-master-category/framework-master-category)\n\n \n\nShould be executed on the server directly as it is not on-boarded to Kong.\n\nOn Learning-Service" }, { - "name": "7-Create Framework Categories Instance", + "name": "7-Create Framework Categories Instance - K12", "item": [ { "name": "Create Framework Categories - Board", @@ -4153,21 +4657,10 @@ ] }, { - "name": "8-Create Framework Terms", + "name": "7-Create Framework Categories Instance - TPD", "item": [ { - "name": "Create Framework Term - Board", - "event": [ - { - "listen": "prerequest", - "script": { - "exec": [ - "" - ], - "type": "text/javascript" - } - } - ], + "name": "Create Framework Categories - Board", "request": { "method": "POST", "header": [ @@ -4181,7 +4674,7 @@ }, { "key": "X-Channel-Id", - "value": "{{channel_id}}" + "value": "sunbird" }, { "key": "Authorization", @@ -4191,10 +4684,10 @@ ], "body": { "mode": "raw", - "raw": "{\n \"request\": {\n \"term\": [\n {\n \"name\": \"CBSE\",\n \"code\": \"cbse\"\n },\n {\n \"code\": \"ka\",\n \"name\": \"State (Karnataka)\"\n },\n {\n \"code\": \"apboard\",\n \"name\": \"State (Andhra Pradesh)\"\n },\n {\n \"code\": \"mscert\",\n \"name\": \"State (Maharashtra)\"\n },\n {\n \"code\": \"statetelangana\",\n \"name\": \"State (Telangana)\"\n }\n ]\n }\n}" + "raw": "{\n \"request\": {\n \"category\": {\n \"name\": \"Board\",\n \"code\": \"board\"\n }\n }\n}" }, "url": { - "raw": "{{host}}/api/framework/v1/term/create?framework={{framework_default}}&category=board", + "raw": "{{host}}/api/framework/v1/category/create?framework={{default_Course_Framework}}", "host": [ "{{host}}" ], @@ -4202,17 +4695,18 @@ "api", "framework", "v1", - "term", + "category", "create" ], "query": [ { - "key": "framework", - "value": "{{framework_default}}" + "key": "", + "value": "", + "disabled": true }, { - "key": "category", - "value": "board" + "key": "framework", + "value": "{{default_Course_Framework}}" } ] } @@ -4220,18 +4714,7 @@ "response": [] }, { - "name": "Create Framework Term - Medium", - "event": [ - { - "listen": "prerequest", - "script": { - "exec": [ - "" - ], - "type": "text/javascript" - } - } - ], + "name": "Create Framework Categories - Medium", "request": { "method": "POST", "header": [ @@ -4239,9 +4722,13 @@ "key": "Content-Type", "value": "application/json" }, + { + "key": "accept", + "value": "application/json" + }, { "key": "X-Channel-Id", - "value": "{{channel_name}}" + "value": "sunbird" }, { "key": "Authorization", @@ -4251,10 +4738,10 @@ ], "body": { "mode": "raw", - "raw": "{\n \"request\": {\n \"term\": [\n {\n \"name\": \"English\",\n \"code\": \"english\"\n },\n {\n \"code\": \"hindi\",\n \"name\": \"Hindi\"\n },\n {\n \"code\": \"kannada\",\n \"name\": \"Kannada\"\n },\n {\n \"code\": \"telugu\",\n \"name\": \"Telugu\"\n },\n {\n \"code\": \"sanskrit\",\n \"name\": \"Sanskrit\"\n }\n ]\n }\n}" + "raw": "{\n \"request\": {\n \"category\": {\n \"name\": \"Medium\",\n \"code\": \"medium\"\n }\n }\n}" }, "url": { - "raw": "{{host}}/api/framework/v1/term/create?framework={{framework_default}}&category=medium", + "raw": "{{host}}/api/framework/v1/category/create?framework={{default_Course_Framework}}", "host": [ "{{host}}" ], @@ -4262,17 +4749,13 @@ "api", "framework", "v1", - "term", + "category", "create" ], "query": [ { "key": "framework", - "value": "{{framework_default}}" - }, - { - "key": "category", - "value": "medium" + "value": "{{default_Course_Framework}}" } ] } @@ -4280,18 +4763,7 @@ "response": [] }, { - "name": "Create Framework Term - GradeLevel", - "event": [ - { - "listen": "prerequest", - "script": { - "exec": [ - "" - ], - "type": "text/javascript" - } - } - ], + "name": "Create Framework Categories - GradeLevel", "request": { "method": "POST", "header": [ @@ -4299,13 +4771,9 @@ "key": "Content-Type", "value": "application/json" }, - { - "key": "accept", - "value": "application/json" - }, { "key": "X-Channel-Id", - "value": "{{channel_name}}" + "value": "sunbird" }, { "key": "Authorization", @@ -4315,10 +4783,10 @@ ], "body": { "mode": "raw", - "raw": "{\n \"request\": {\n \"term\": [\n {\n \"name\": \"Class 1\",\n \"code\": \"class1\"\n },\n {\n \"code\": \"class2\",\n \"name\": \"Class 2\"\n },\n {\n \"code\": \"class3\",\n \"name\": \"Class 3\"\n },\n {\n \"code\": \"class4\",\n \"name\": \"Class 4\"\n },\n {\n \"code\": \"class5\",\n \"name\": \"Class 5\"\n },\n {\n \"code\": \"class6\",\n \"name\": \"Class 6\"\n },\n {\n \"code\": \"class7\",\n \"name\": \"Class 7\"\n }\n ]\n }\n}" + "raw": "{\n \"request\": {\n \"category\": {\n \"name\": \"Grade Level\",\n \"code\": \"gradeLevel\"\n }\n }\n}" }, "url": { - "raw": "{{host}}/api/framework/v1/term/create?framework={{framework_default}}&category=gradeLevel", + "raw": "{{host}}/api/framework/v1/category/create?framework={{default_Course_Framework}}", "host": [ "{{host}}" ], @@ -4326,17 +4794,13 @@ "api", "framework", "v1", - "term", + "category", "create" ], "query": [ { "key": "framework", - "value": "{{framework_default}}" - }, - { - "key": "category", - "value": "gradeLevel" + "value": "{{default_Course_Framework}}" } ] } @@ -4344,18 +4808,7 @@ "response": [] }, { - "name": "Create Framework Term - Subject", - "event": [ - { - "listen": "prerequest", - "script": { - "exec": [ - "" - ], - "type": "text/javascript" - } - } - ], + "name": "Create Framework Categories - Subject", "request": { "method": "POST", "header": [ @@ -4365,7 +4818,7 @@ }, { "key": "X-Channel-Id", - "value": "{{channel_name}}" + "value": "sunbird" }, { "key": "Authorization", @@ -4375,10 +4828,10 @@ ], "body": { "mode": "raw", - "raw": "{\n \"request\": {\n \"term\": [\n {\n \"name\": \"English\",\n \"code\": \"english\"\n },\n {\n \"code\": \"hindi\",\n \"name\": \"Hindi\"\n },\n {\n \"code\": \"telugu\",\n \"name\": \"Telugu\"\n },\n {\n \"code\": \"kannada\",\n \"name\": \"Kannada\"\n },\n {\n \"code\": \"history\",\n \"name\": \"History\"\n },\n {\n \"code\": \"chemistry\",\n \"name\": \"Chemistry\"\n },\n {\n \"code\": \"commerce\",\n \"name\": \"Commerce\"\n },\n {\n \"code\": \"computerscience\",\n \"name\": \"Computer Scence\"\n }\n ]\n }\n}" + "raw": "{\n \"request\": {\n \"category\": {\n \"name\": \"Subject\",\n \"code\": \"subject\"\n }\n }\n}" }, "url": { - "raw": "{{host}}/api/framework/v1/term/create?framework={{framework_default}}&category=subject", + "raw": "{{host}}/api/framework/v1/category/create?framework={{default_Course_Framework}}", "host": [ "{{host}}" ], @@ -4386,105 +4839,40 @@ "api", "framework", "v1", - "term", + "category", "create" ], "query": [ { "key": "framework", - "value": "{{framework_default}}" - }, - { - "key": "category", - "value": "subject" + "value": "{{default_Course_Framework}}" } ] } }, "response": [] - } - ] - }, - { - "name": "9-Associating framework with channel", - "item": [ + }, { - "name": "Associating framework with channel", + "name": "Read Framework Categories - Subject", "request": { - "method": "PATCH", + "method": "GET", "header": [ { "key": "Content-Type", "value": "application/json" }, { - "key": "Authorization", - "value": "Bearer {{apikey}}", - "type": "text" - }, - { - "key": "x-channel-id", - "value": "{{channel_id}}", - "type": "text" - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"request\": {\n \"channel\": {\n \"frameworks\": [\n {\n \"identifier\": \"{{framework_default}}\",\n \"name\": \"CBSE\"\n }\n ],\n \"defaultFramework\": \"{{framework_default}}\"\n }\n }\n}" - }, - "url": { - "raw": "{{host}}/api/channel/v1/update/{{channel_id}}", - "host": [ - "{{host}}" - ], - "path": [ - "api", - "channel", - "v1", - "update", - "{{channel_id}}" - ] - } - }, - "response": [] - }, - { - "name": "Associating framework board with medium", - "event": [ - { - "listen": "prerequest", - "script": { - "exec": [ - "" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "PATCH", - "header": [ - { - "key": "Content-Type", - "value": "application/json" + "key": "X-Channel-Id", + "value": "sunbird" }, { "key": "Authorization", "value": "Bearer {{apikey}}", "type": "text" - }, - { - "key": "x-channel-id", - "value": "{{channel_id}}", - "type": "text" } ], - "body": { - "mode": "raw", - "raw": "{\n \"request\": {\n \"term\": {\n \"associations\": [\n {\n \"identifier\": \"ncf_medium_english\"\n },\n {\n \"identifier\": \"ncf_medium_hindi\"\n }\n ]\n }\n }\n}" - }, "url": { - "raw": "{{host}}/api/framework/v1/term/update/cbse?framework={{framework_default}}&category=board", + "raw": "{{host}}/api/framework/v1/category/read/board?framework={{default_Course_Framework}}", "host": [ "{{host}}" ], @@ -4492,155 +4880,2770 @@ "api", "framework", "v1", - "term", - "update", - "cbse" + "category", + "read", + "board" ], "query": [ { "key": "framework", - "value": "{{framework_default}}" - }, - { - "key": "category", - "value": "board" + "value": "{{default_Course_Framework}}" } ] } }, "response": [] - }, + } + ] + }, + { + "name": "8-Create Framework Terms - K12", + "item": [ { - "name": "Associating framework medium with gradeLevel", - "event": [ + "name": "Create Framework Term - Board", + "item": [ { - "listen": "prerequest", - "script": { - "exec": [ - "" + "name": "Create Framework Term - Board - mscert", + "event": [ + { + "listen": "prerequest", + "script": { + "exec": [ + "" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "accept", + "value": "application/json" + }, + { + "key": "X-Channel-Id", + "value": "sunbird" + }, + { + "key": "Authorization", + "value": "Bearer {{apikey}}", + "type": "text" + } ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "PATCH", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Authorization", - "value": "Bearer {{apikey}}", - "type": "text" + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"term\": {\n \"code\": \"mscert\",\n \"name\": \"State (Maharashtra)\"\n }\n }\n}" + }, + "url": { + "raw": "{{host}}/api/framework/v1/term/create?framework=NCF&category=board", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "framework", + "v1", + "term", + "create" + ], + "query": [ + { + "key": "framework", + "value": "NCF" + }, + { + "key": "category", + "value": "board" + } + ] + } }, - { - "key": "x-channel-id", - "value": "{{channel_id}}", - "type": "text" - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"request\": {\n \"term\": {\n \"associations\": [\n {\n \"identifier\": \"ncf_gradelevel_class1\"\n },\n {\n \"identifier\": \"ncf_gradelevel_class2\"\n },\n {\n \"identifier\": \"ncf_gradelevel_class3\"\n }\n ]\n }\n }\n}" + "response": [] }, - "url": { - "raw": "{{host}}/api/framework/v1/term/update/english?framework={{framework_default}}&category=medium", - "host": [ - "{{host}}" + { + "name": "Create Framework Term - Board - cbse", + "event": [ + { + "listen": "prerequest", + "script": { + "exec": [ + "" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "accept", + "value": "application/json" + }, + { + "key": "X-Channel-Id", + "value": "{{channel_id}}" + }, + { + "key": "Authorization", + "value": "Bearer {{apikey}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"term\": {\n \"name\": \"CBSE\",\n \"code\": \"cbse\"\n }\n }\n}" + }, + "url": { + "raw": "{{host}}/api/framework/v1/term/create?framework={{framework_default}}&category=board", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "framework", + "v1", + "term", + "create" + ], + "query": [ + { + "key": "framework", + "value": "{{framework_default}}" + }, + { + "key": "category", + "value": "board" + } + ] + } + }, + "response": [] + }, + { + "name": "Create Framework Term - Board - ka", + "event": [ + { + "listen": "prerequest", + "script": { + "exec": [ + "" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "accept", + "value": "application/json" + }, + { + "key": "X-Channel-Id", + "value": "{{channel_id}}" + }, + { + "key": "Authorization", + "value": "Bearer {{apikey}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"term\": {\n \"code\": \"ka\",\n \"name\": \"State (Karnataka)\"\n }\n }\n}" + }, + "url": { + "raw": "{{host}}/api/framework/v1/term/create?framework={{framework_default}}&category=board", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "framework", + "v1", + "term", + "create" + ], + "query": [ + { + "key": "framework", + "value": "{{framework_default}}" + }, + { + "key": "category", + "value": "board" + } + ] + } + }, + "response": [] + }, + { + "name": "Create Framework Term - Board - statetelangana", + "event": [ + { + "listen": "prerequest", + "script": { + "exec": [ + "" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "accept", + "value": "application/json" + }, + { + "key": "X-Channel-Id", + "value": "{{channel_id}}" + }, + { + "key": "Authorization", + "value": "Bearer {{apikey}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"term\": {\n \"code\": \"statetelangana\",\n \"name\": \"State (Telangana)\"\n }\n }\n}" + }, + "url": { + "raw": "{{host}}/api/framework/v1/term/create?framework={{framework_default}}&category=board", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "framework", + "v1", + "term", + "create" + ], + "query": [ + { + "key": "framework", + "value": "{{framework_default}}" + }, + { + "key": "category", + "value": "board" + } + ] + } + }, + "response": [] + } + ] + }, + { + "name": "Create Framework Term - Medium", + "item": [ + { + "name": "Create Framework Term - Medium - English", + "event": [ + { + "listen": "prerequest", + "script": { + "exec": [ + "" + ], + "type": "text/javascript", + "packages": {} + } + } + ], + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "X-Channel-Id", + "value": "sunbird" + }, + { + "key": "Authorization", + "value": "Bearer {{apikey}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"term\": {\n \"name\": \"English\",\n \"code\": \"english\"\n }\n }\n}" + }, + "url": { + "raw": "{{host}}/api/framework/v1/term/create?framework={{framework_default}}&category=medium", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "framework", + "v1", + "term", + "create" + ], + "query": [ + { + "key": "framework", + "value": "{{framework_default}}" + }, + { + "key": "category", + "value": "medium" + } + ] + } + }, + "response": [] + }, + { + "name": "Create Framework Term - Medium - Tamil", + "event": [ + { + "listen": "prerequest", + "script": { + "exec": [ + "" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "X-Channel-Id", + "value": "{{channel_name}}" + }, + { + "key": "Authorization", + "value": "Bearer {{apikey}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"term\": {\n \"code\": \"tamil\",\n \"name\": \"Tamil\"\n }\n }\n}" + }, + "url": { + "raw": "{{host}}/api/framework/v1/term/create?framework={{framework_default}}&category=medium", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "framework", + "v1", + "term", + "create" + ], + "query": [ + { + "key": "framework", + "value": "{{framework_default}}" + }, + { + "key": "category", + "value": "medium" + } + ] + } + }, + "response": [] + }, + { + "name": "Create Framework Term - Medium - Telugu", + "event": [ + { + "listen": "prerequest", + "script": { + "exec": [ + "" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "X-Channel-Id", + "value": "{{channel_name}}" + }, + { + "key": "Authorization", + "value": "Bearer {{apikey}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"term\": {\n \"code\": \"telugu\",\n \"name\": \"Telugu\"\n }\n }\n}" + }, + "url": { + "raw": "{{host}}/api/framework/v1/term/create?framework={{framework_default}}&category=medium", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "framework", + "v1", + "term", + "create" + ], + "query": [ + { + "key": "framework", + "value": "{{framework_default}}" + }, + { + "key": "category", + "value": "medium" + } + ] + } + }, + "response": [] + }, + { + "name": "Create Framework Term - Medium - Hindi", + "event": [ + { + "listen": "prerequest", + "script": { + "exec": [ + "" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "X-Channel-Id", + "value": "{{channel_name}}" + }, + { + "key": "Authorization", + "value": "Bearer {{apikey}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"term\": {\n \"code\": \"hindi\",\n \"name\": \"Hindi\"\n }\n }\n}" + }, + "url": { + "raw": "{{host}}/api/framework/v1/term/create?framework={{framework_default}}&category=medium", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "framework", + "v1", + "term", + "create" + ], + "query": [ + { + "key": "framework", + "value": "{{framework_default}}" + }, + { + "key": "category", + "value": "medium" + } + ] + } + }, + "response": [] + } + ] + }, + { + "name": "Create Framework Term - GradeLevel", + "item": [ + { + "name": "Create Framework Term - GradeLevel - class1", + "event": [ + { + "listen": "prerequest", + "script": { + "exec": [ + "" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "accept", + "value": "application/json" + }, + { + "key": "X-Channel-Id", + "value": "{{channel_name}}" + }, + { + "key": "Authorization", + "value": "Bearer {{apikey}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"term\": \n {\n \"name\": \"Class 1\",\n \"code\": \"class1\"\n }\n }\n }" + }, + "url": { + "raw": "{{host}}/api/framework/v1/term/create?framework={{framework_default}}&category=gradeLevel", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "framework", + "v1", + "term", + "create" + ], + "query": [ + { + "key": "framework", + "value": "{{framework_default}}" + }, + { + "key": "category", + "value": "gradeLevel" + } + ] + } + }, + "response": [] + }, + { + "name": "Create Framework Term - GradeLevel - class2", + "event": [ + { + "listen": "prerequest", + "script": { + "exec": [ + "" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "accept", + "value": "application/json" + }, + { + "key": "X-Channel-Id", + "value": "{{channel_name}}" + }, + { + "key": "Authorization", + "value": "Bearer {{apikey}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"term\": {\n \"code\": \"class2\",\n \"name\": \"Class 2\"\n }\n }\n}" + }, + "url": { + "raw": "{{host}}/api/framework/v1/term/create?framework={{framework_default}}&category=gradeLevel", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "framework", + "v1", + "term", + "create" + ], + "query": [ + { + "key": "framework", + "value": "{{framework_default}}" + }, + { + "key": "category", + "value": "gradeLevel" + } + ] + } + }, + "response": [] + }, + { + "name": "Create Framework Term - GradeLevel - class3", + "event": [ + { + "listen": "prerequest", + "script": { + "exec": [ + "" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "accept", + "value": "application/json" + }, + { + "key": "X-Channel-Id", + "value": "{{channel_name}}" + }, + { + "key": "Authorization", + "value": "Bearer {{apikey}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"term\": {\n \"code\": \"class3\",\n \"name\": \"Class 3\"\n }\n }\n}" + }, + "url": { + "raw": "{{host}}/api/framework/v1/term/create?framework={{framework_default}}&category=gradeLevel", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "framework", + "v1", + "term", + "create" + ], + "query": [ + { + "key": "framework", + "value": "{{framework_default}}" + }, + { + "key": "category", + "value": "gradeLevel" + } + ] + } + }, + "response": [] + }, + { + "name": "Create Framework Term - GradeLevel - class4", + "event": [ + { + "listen": "prerequest", + "script": { + "exec": [ + "" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "accept", + "value": "application/json" + }, + { + "key": "X-Channel-Id", + "value": "{{channel_name}}" + }, + { + "key": "Authorization", + "value": "Bearer {{apikey}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"term\": {\n \"code\": \"class4\",\n \"name\": \"Class 4\"\n }\n }\n}" + }, + "url": { + "raw": "{{host}}/api/framework/v1/term/create?framework={{framework_default}}&category=gradeLevel", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "framework", + "v1", + "term", + "create" + ], + "query": [ + { + "key": "framework", + "value": "{{framework_default}}" + }, + { + "key": "category", + "value": "gradeLevel" + } + ] + } + }, + "response": [] + } + ] + }, + { + "name": "Create Framework Term - Subject", + "item": [ + { + "name": "Create Framework Term - Subject - english", + "event": [ + { + "listen": "prerequest", + "script": { + "exec": [ + "" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "X-Channel-Id", + "value": "{{channel_name}}" + }, + { + "key": "Authorization", + "value": "Bearer {{apikey}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"term\": {\n \"name\": \"English\",\n \"code\": \"english\"\n }\n }\n}" + }, + "url": { + "raw": "{{host}}/api/framework/v1/term/create?framework={{framework_default}}&category=subject", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "framework", + "v1", + "term", + "create" + ], + "query": [ + { + "key": "framework", + "value": "{{framework_default}}" + }, + { + "key": "category", + "value": "subject" + } + ] + } + }, + "response": [] + }, + { + "name": "Create Framework Term - Subject - hindi", + "event": [ + { + "listen": "prerequest", + "script": { + "exec": [ + "" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "X-Channel-Id", + "value": "{{channel_name}}" + }, + { + "key": "Authorization", + "value": "Bearer {{apikey}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"term\": \n {\n \"code\": \"hindi\",\n \"name\": \"Hindi\"\n }\n }\n}" + }, + "url": { + "raw": "{{host}}/api/framework/v1/term/create?framework={{framework_default}}&category=subject", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "framework", + "v1", + "term", + "create" + ], + "query": [ + { + "key": "framework", + "value": "{{framework_default}}" + }, + { + "key": "category", + "value": "subject" + } + ] + } + }, + "response": [] + }, + { + "name": "Create Framework Term - Subject - tamil", + "event": [ + { + "listen": "prerequest", + "script": { + "exec": [ + "" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "X-Channel-Id", + "value": "{{channel_name}}" + }, + { + "key": "Authorization", + "value": "Bearer {{apikey}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"term\": {\n \"code\": \"tamil\",\n \"name\": \"Tamil\"\n }\n }\n}" + }, + "url": { + "raw": "{{host}}/api/framework/v1/term/create?framework={{framework_default}}&category=subject", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "framework", + "v1", + "term", + "create" + ], + "query": [ + { + "key": "framework", + "value": "{{framework_default}}" + }, + { + "key": "category", + "value": "subject" + } + ] + } + }, + "response": [] + }, + { + "name": "Create Framework Term - Subject - telugu", + "event": [ + { + "listen": "prerequest", + "script": { + "exec": [ + "" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "X-Channel-Id", + "value": "{{channel_name}}" + }, + { + "key": "Authorization", + "value": "Bearer {{apikey}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"term\": {\n \"code\": \"telugu\",\n \"name\": \"Telugu\"\n }\n }\n}" + }, + "url": { + "raw": "{{host}}/api/framework/v1/term/create?framework={{framework_default}}&category=subject", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "framework", + "v1", + "term", + "create" + ], + "query": [ + { + "key": "framework", + "value": "{{framework_default}}" + }, + { + "key": "category", + "value": "subject" + } + ] + } + }, + "response": [] + } + ] + } + ] + }, + { + "name": "8-Create Framework Terms - TPD", + "item": [ + { + "name": "Create Framework Term - Board", + "item": [ + { + "name": "Create Framework Term - Board - mscert", + "event": [ + { + "listen": "prerequest", + "script": { + "exec": [ + "" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "accept", + "value": "application/json" + }, + { + "key": "X-Channel-Id", + "value": "sunbird" + }, + { + "key": "Authorization", + "value": "Bearer {{apikey}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"term\": {\n \"code\": \"mscert\",\n \"name\": \"State (Maharashtra)\"\n }\n }\n}" + }, + "url": { + "raw": "{{host}}/api/framework/v1/term/create?framework={{default_Course_Framework}}&category=board", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "framework", + "v1", + "term", + "create" + ], + "query": [ + { + "key": "framework", + "value": "{{default_Course_Framework}}" + }, + { + "key": "category", + "value": "board" + } + ] + } + }, + "response": [] + }, + { + "name": "Create Framework Term - Board - cbse", + "event": [ + { + "listen": "prerequest", + "script": { + "exec": [ + "" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "accept", + "value": "application/json" + }, + { + "key": "X-Channel-Id", + "value": "{{channel_id}}" + }, + { + "key": "Authorization", + "value": "Bearer {{apikey}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"term\": {\n \"name\": \"CBSE\",\n \"code\": \"cbse\"\n }\n }\n}" + }, + "url": { + "raw": "{{host}}/api/framework/v1/term/create?framework={{default_Course_Framework}}&category=board", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "framework", + "v1", + "term", + "create" + ], + "query": [ + { + "key": "framework", + "value": "{{default_Course_Framework}}" + }, + { + "key": "category", + "value": "board" + } + ] + } + }, + "response": [] + }, + { + "name": "Create Framework Term - Board - ka", + "event": [ + { + "listen": "prerequest", + "script": { + "exec": [ + "" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "accept", + "value": "application/json" + }, + { + "key": "X-Channel-Id", + "value": "{{channel_id}}" + }, + { + "key": "Authorization", + "value": "Bearer {{apikey}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"term\": {\n \"code\": \"ka\",\n \"name\": \"State (Karnataka)\"\n }\n }\n}" + }, + "url": { + "raw": "{{host}}/api/framework/v1/term/create?framework={{default_Course_Framework}}&category=board", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "framework", + "v1", + "term", + "create" + ], + "query": [ + { + "key": "framework", + "value": "{{default_Course_Framework}}" + }, + { + "key": "category", + "value": "board" + } + ] + } + }, + "response": [] + }, + { + "name": "Create Framework Term - Board - statetelangana", + "event": [ + { + "listen": "prerequest", + "script": { + "exec": [ + "" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "accept", + "value": "application/json" + }, + { + "key": "X-Channel-Id", + "value": "{{channel_id}}" + }, + { + "key": "Authorization", + "value": "Bearer {{apikey}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"term\": {\n \"code\": \"statetelangana\",\n \"name\": \"State (Telangana)\"\n }\n }\n}" + }, + "url": { + "raw": "{{host}}/api/framework/v1/term/create?framework={{default_Course_Framework}}&category=board", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "framework", + "v1", + "term", + "create" + ], + "query": [ + { + "key": "framework", + "value": "{{default_Course_Framework}}" + }, + { + "key": "category", + "value": "board" + } + ] + } + }, + "response": [] + } + ] + }, + { + "name": "Create Framework Term - Medium", + "item": [ + { + "name": "Create Framework Term - Medium - English", + "event": [ + { + "listen": "prerequest", + "script": { + "exec": [ + "" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "X-Channel-Id", + "value": "" + }, + { + "key": "Authorization", + "value": "Bearer {{apikey}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"term\": {\n \"name\": \"English\",\n \"code\": \"english\"\n }\n }\n}" + }, + "url": { + "raw": "{{host}}/api/framework/v1/term/create?framework={{default_Course_Framework}}&category=medium", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "framework", + "v1", + "term", + "create" + ], + "query": [ + { + "key": "framework", + "value": "{{default_Course_Framework}}" + }, + { + "key": "category", + "value": "medium" + } + ] + } + }, + "response": [] + }, + { + "name": "Create Framework Term - Medium - Tamil", + "event": [ + { + "listen": "prerequest", + "script": { + "exec": [ + "" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "X-Channel-Id", + "value": "{{channel_name}}" + }, + { + "key": "Authorization", + "value": "Bearer {{apikey}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"term\": {\n \"code\": \"tamil\",\n \"name\": \"Tamil\"\n }\n }\n}" + }, + "url": { + "raw": "{{host}}/api/framework/v1/term/create?framework={{default_Course_Framework}}&category=medium", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "framework", + "v1", + "term", + "create" + ], + "query": [ + { + "key": "framework", + "value": "{{default_Course_Framework}}" + }, + { + "key": "category", + "value": "medium" + } + ] + } + }, + "response": [] + }, + { + "name": "Create Framework Term - Medium - Telugu", + "event": [ + { + "listen": "prerequest", + "script": { + "exec": [ + "" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "X-Channel-Id", + "value": "{{channel_name}}" + }, + { + "key": "Authorization", + "value": "Bearer {{apikey}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"term\": {\n \"code\": \"telugu\",\n \"name\": \"Telugu\"\n }\n }\n}" + }, + "url": { + "raw": "{{host}}/api/framework/v1/term/create?framework={{default_Course_Framework}}&category=medium", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "framework", + "v1", + "term", + "create" + ], + "query": [ + { + "key": "framework", + "value": "{{default_Course_Framework}}" + }, + { + "key": "category", + "value": "medium" + } + ] + } + }, + "response": [] + }, + { + "name": "Create Framework Term - Medium - Hindi", + "event": [ + { + "listen": "prerequest", + "script": { + "exec": [ + "" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "X-Channel-Id", + "value": "{{channel_name}}" + }, + { + "key": "Authorization", + "value": "Bearer {{apikey}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"term\": {\n \"code\": \"hindi\",\n \"name\": \"Hindi\"\n }\n }\n}" + }, + "url": { + "raw": "{{host}}/api/framework/v1/term/create?framework={{default_Course_Framework}}&category=medium", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "framework", + "v1", + "term", + "create" + ], + "query": [ + { + "key": "framework", + "value": "{{default_Course_Framework}}" + }, + { + "key": "category", + "value": "medium" + } + ] + } + }, + "response": [] + } + ] + }, + { + "name": "Create Framework Term - GradeLevel", + "item": [ + { + "name": "Create Framework Term - GradeLevel - class1", + "event": [ + { + "listen": "prerequest", + "script": { + "exec": [ + "" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "accept", + "value": "application/json" + }, + { + "key": "X-Channel-Id", + "value": "{{channel_name}}" + }, + { + "key": "Authorization", + "value": "Bearer {{apikey}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"term\": \n {\n \"name\": \"Class 1\",\n \"code\": \"class1\"\n }\n }\n }" + }, + "url": { + "raw": "{{host}}/api/framework/v1/term/create?framework={{default_Course_Framework}}&category=gradeLevel", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "framework", + "v1", + "term", + "create" + ], + "query": [ + { + "key": "framework", + "value": "{{default_Course_Framework}}" + }, + { + "key": "category", + "value": "gradeLevel" + } + ] + } + }, + "response": [] + }, + { + "name": "Create Framework Term - GradeLevel - class2", + "event": [ + { + "listen": "prerequest", + "script": { + "exec": [ + "" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "accept", + "value": "application/json" + }, + { + "key": "X-Channel-Id", + "value": "{{channel_name}}" + }, + { + "key": "Authorization", + "value": "Bearer {{apikey}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"term\": {\n \"code\": \"class2\",\n \"name\": \"Class 2\"\n }\n }\n}" + }, + "url": { + "raw": "{{host}}/api/framework/v1/term/create?framework={{default_Course_Framework}}&category=gradeLevel", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "framework", + "v1", + "term", + "create" + ], + "query": [ + { + "key": "framework", + "value": "{{default_Course_Framework}}" + }, + { + "key": "category", + "value": "gradeLevel" + } + ] + } + }, + "response": [] + }, + { + "name": "Create Framework Term - GradeLevel - class3", + "event": [ + { + "listen": "prerequest", + "script": { + "exec": [ + "" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "accept", + "value": "application/json" + }, + { + "key": "X-Channel-Id", + "value": "{{channel_name}}" + }, + { + "key": "Authorization", + "value": "Bearer {{apikey}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"term\": {\n \"code\": \"class3\",\n \"name\": \"Class 3\"\n }\n }\n}" + }, + "url": { + "raw": "{{host}}/api/framework/v1/term/create?framework={{default_Course_Framework}}&category=gradeLevel", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "framework", + "v1", + "term", + "create" + ], + "query": [ + { + "key": "framework", + "value": "{{default_Course_Framework}}" + }, + { + "key": "category", + "value": "gradeLevel" + } + ] + } + }, + "response": [] + }, + { + "name": "Create Framework Term - GradeLevel - class4", + "event": [ + { + "listen": "prerequest", + "script": { + "exec": [ + "" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "accept", + "value": "application/json" + }, + { + "key": "X-Channel-Id", + "value": "{{channel_name}}" + }, + { + "key": "Authorization", + "value": "Bearer {{apikey}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"term\": {\n \"code\": \"class4\",\n \"name\": \"Class 4\"\n }\n }\n}" + }, + "url": { + "raw": "{{host}}/api/framework/v1/term/create?framework={{default_Course_Framework}}&category=gradeLevel", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "framework", + "v1", + "term", + "create" + ], + "query": [ + { + "key": "framework", + "value": "{{default_Course_Framework}}" + }, + { + "key": "category", + "value": "gradeLevel" + } + ] + } + }, + "response": [] + } + ] + }, + { + "name": "Create Framework Term - Subject", + "item": [ + { + "name": "Create Framework Term - Subject - english", + "event": [ + { + "listen": "prerequest", + "script": { + "exec": [ + "" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "X-Channel-Id", + "value": "{{channel_name}}" + }, + { + "key": "Authorization", + "value": "Bearer {{apikey}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"term\": {\n \"name\": \"English\",\n \"code\": \"english\"\n }\n }\n}" + }, + "url": { + "raw": "{{host}}/api/framework/v1/term/create?framework={{default_Course_Framework}}&category=subject", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "framework", + "v1", + "term", + "create" + ], + "query": [ + { + "key": "framework", + "value": "{{default_Course_Framework}}" + }, + { + "key": "category", + "value": "subject" + } + ] + } + }, + "response": [] + }, + { + "name": "Create Framework Term - Subject - hindi", + "event": [ + { + "listen": "prerequest", + "script": { + "exec": [ + "" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "X-Channel-Id", + "value": "{{channel_name}}" + }, + { + "key": "Authorization", + "value": "Bearer {{apikey}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"term\": \n {\n \"code\": \"hindi\",\n \"name\": \"Hindi\"\n }\n }\n}" + }, + "url": { + "raw": "{{host}}/api/framework/v1/term/create?framework={{default_Course_Framework}}&category=subject", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "framework", + "v1", + "term", + "create" + ], + "query": [ + { + "key": "framework", + "value": "{{default_Course_Framework}}" + }, + { + "key": "category", + "value": "subject" + } + ] + } + }, + "response": [] + }, + { + "name": "Create Framework Term - Subject - tamil", + "event": [ + { + "listen": "prerequest", + "script": { + "exec": [ + "" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "X-Channel-Id", + "value": "{{channel_name}}" + }, + { + "key": "Authorization", + "value": "Bearer {{apikey}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"term\": {\n \"code\": \"tamil\",\n \"name\": \"Tamil\"\n }\n }\n}" + }, + "url": { + "raw": "{{host}}/api/framework/v1/term/create?framework={{default_Course_Framework}}&category=subject", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "framework", + "v1", + "term", + "create" + ], + "query": [ + { + "key": "framework", + "value": "{{default_Course_Framework}}" + }, + { + "key": "category", + "value": "subject" + } + ] + } + }, + "response": [] + }, + { + "name": "Create Framework Term - Subject - telugu", + "event": [ + { + "listen": "prerequest", + "script": { + "exec": [ + "" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "X-Channel-Id", + "value": "{{channel_name}}" + }, + { + "key": "Authorization", + "value": "Bearer {{apikey}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"term\": {\n \"code\": \"telugu\",\n \"name\": \"Telugu\"\n }\n }\n}" + }, + "url": { + "raw": "{{host}}/api/framework/v1/term/create?framework={{default_Course_Framework}}&category=subject", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "framework", + "v1", + "term", + "create" + ], + "query": [ + { + "key": "framework", + "value": "{{default_Course_Framework}}" + }, + { + "key": "category", + "value": "subject" + } + ] + } + }, + "response": [] + } + ] + } + ] + }, + { + "name": "9-Associating framework with channel", + "item": [ + { + "name": "Associating framework with channel", + "request": { + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{apikey}}", + "type": "text" + }, + { + "key": "x-channel-id", + "value": "{{channel_id}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"channel\": {\n \"frameworks\": [\n {\n \"identifier\": \"{{framework_default}}\",\n \"name\": \"CBSE\"\n }\n ],\n \"defaultFramework\": \"{{framework_default}}\"\n }\n }\n}" + }, + "url": { + "raw": "{{host}}/api/channel/v1/update/{{channel_id}}", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "channel", + "v1", + "update", + "{{channel_id}}" + ] + } + }, + "response": [] + }, + { + "name": "Associating framework board with medium", + "event": [ + { + "listen": "prerequest", + "script": { + "exec": [ + "" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{apikey}}", + "type": "text" + }, + { + "key": "x-channel-id", + "value": "{{channel_id}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"term\": {\n \"associations\": [\n {\n \"identifier\": \"ncf_medium_english\"\n },\n {\n \"identifier\": \"ncf_medium_hindi\"\n }\n ]\n }\n }\n}" + }, + "url": { + "raw": "{{host}}/api/framework/v1/term/update/cbse?framework={{framework_default}}&category=board", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "framework", + "v1", + "term", + "update", + "cbse" + ], + "query": [ + { + "key": "framework", + "value": "{{framework_default}}" + }, + { + "key": "category", + "value": "board" + } + ] + } + }, + "response": [] + }, + { + "name": "Associating framework medium with gradeLevel", + "event": [ + { + "listen": "prerequest", + "script": { + "exec": [ + "" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{apikey}}", + "type": "text" + }, + { + "key": "x-channel-id", + "value": "{{channel_id}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"term\": {\n \"associations\": [\n {\n \"identifier\": \"ncf_gradelevel_class1\"\n },\n {\n \"identifier\": \"ncf_gradelevel_class2\"\n },\n {\n \"identifier\": \"ncf_gradelevel_class3\"\n }\n ]\n }\n }\n}" + }, + "url": { + "raw": "{{host}}/api/framework/v1/term/update/english?framework={{framework_default}}&category=medium", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "framework", + "v1", + "term", + "update", + "english" + ], + "query": [ + { + "key": "framework", + "value": "{{framework_default}}" + }, + { + "key": "category", + "value": "medium" + } + ] + } + }, + "response": [] + }, + { + "name": "Associating framework gradeLevel with subject", + "event": [ + { + "listen": "prerequest", + "script": { + "exec": [ + "" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{apikey}}", + "type": "text" + }, + { + "key": "x-channel-id", + "value": "{{channel_id}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"term\": {\n \"associations\": [\n {\n \"identifier\": \"ncf_subject_english\"\n },\n {\n \"identifier\": \"ncf_subject_hindi\"\n }\n ]\n }\n }\n}" + }, + "url": { + "raw": "{{host}}/api/framework/v1/term/update/class1?framework={{framework_default}}&category=gradeLevel", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "framework", + "v1", + "term", + "update", + "class1" + ], + "query": [ + { + "key": "framework", + "value": "{{framework_default}}" + }, + { + "key": "category", + "value": "gradeLevel" + } + ] + } + }, + "response": [] + } + ] + }, + { + "name": "10-Publish Framework", + "item": [ + { + "name": "Publish Framework", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "X-Channel-Id", + "value": "{{channel_id}}" + }, + { + "key": "Authorization", + "value": "Bearer {{apikey}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{}" + }, + "url": { + "raw": "{{host}}/api/framework/v1/publish/{{framework_default}}", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "framework", + "v1", + "publish", + "{{framework_default}}" + ] + } + }, + "response": [] + }, + { + "name": "Publish Framework for TPD", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "X-Channel-Id", + "value": "{{channel_id}}" + }, + { + "key": "Authorization", + "value": "Bearer {{apikey}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{}" + }, + "url": { + "raw": "{{host}}/api/framework/v1/publish/{{default_Course_Framework}}", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "framework", + "v1", + "publish", + "{{default_Course_Framework}}" + ] + } + }, + "response": [] + }, + { + "name": "2 - Read Framework", + "event": [ + { + "listen": "prerequest", + "script": { + "exec": [ + "" + ], + "type": "text/javascript" + } + }, + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "GET", + "header": [ + { + "key": "Authorization", + "value": "Bearer {{apikey}}", + "type": "text" + } + ], + "url": { + "raw": "{{host}}/api/framework/v1/read/{{framework_default}}", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "framework", + "v1", + "read", + "{{framework_default}}" + ] + } + }, + "response": [] + } + ] + }, + { + "name": "List Framework", + "item": [ + { + "name": "List Framework", + "request": { + "method": "POST", + "header": [ + { + "key": "Authorization", + "value": "Bearer {{apikey}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"search\": {},\n \"fields\": [\n \"name\",\n \"identifier\",\n \"code\",\n \"description\"\n ]\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{host}}/api/framework/v1/list", + "host": [ + "{{host}}" ], "path": [ "api", "framework", "v1", - "term", - "update", - "english" + "list" + ] + } + }, + "response": [] + } + ] + }, + { + "name": "11-update Channel", + "item": [ + { + "name": "Update channel for course framework", + "request": { + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{apikey}}", + "type": "text" + }, + { + "key": "x-channel-id", + "value": "{{channel_id}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"channel\": {\n \"defaultCourseFramework\": \"{{default_Course_Framework}}\",\n \"defaultFramework\": \"{{framework_default}}\"\n }\n }\n}" + }, + "url": { + "raw": "{{host}}/api/channel/v1/update/{{channel_id}}", + "host": [ + "{{host}}" ], - "query": [ + "path": [ + "api", + "channel", + "v1", + "update", + "{{channel_id}}" + ] + } + }, + "response": [] + } + ] + }, + { + "name": "12-Cert As Asset", + "item": [ + { + "name": "Auth Token- content creator", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "", + "pm.test(\"Your test name\", function () {", + " var jsonData = pm.response.json();", + " pm.globals.set(\"creator_refresh_token\", jsonData.refresh_token);", + " // pm.expect(jsonData.value).to.eql(100);", + "});" + ], + "type": "text/javascript", + "packages": {} + } + } + ], + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/x-www-form-urlencoded" + }, + { + "key": "Authorization", + "value": "Bearer {{apikey}}" + } + ], + "body": { + "mode": "urlencoded", + "urlencoded": [ { - "key": "framework", - "value": "{{framework_default}}" + "key": "client_id", + "value": "{{admin_client_id}}", + "type": "text" }, { - "key": "category", - "value": "medium" + "key": "client_secret", + "value": "{{admin_client_secret}}", + "type": "text" + }, + { + "key": "grant_type", + "value": "password", + "type": "text" + }, + { + "key": "username", + "value": "contentcreator@yopmail.com", + "type": "text" + }, + { + "key": "password", + "value": "Creator@123", + "type": "text" + } + ] + }, + "url": { + "raw": "{{host}}/auth/realms/sunbird/protocol/openid-connect/token", + "host": [ + "{{host}}" + ], + "path": [ + "auth", + "realms", + "sunbird", + "protocol", + "openid-connect", + "token" + ] + } + }, + "response": [] + }, + { + "name": "Refresh Token", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Your test name\", function () {", + " var jsonData = pm.response.json();", + " var access_token = jsonData.result.access_token;", + " console.log(jsonData);", + " if(access_token) {", + " pm.environment.set(\"creator_access_token\", access_token);", + " }", + + "});" + ], + "type": "text/javascript", + "packages": {} + } + } + ], + "request": { + "method": "POST", + "header": [ + { + "key": "Authorization", + "value": "Bearer {{apikey}}" + }, + { + "key": "Content-Type", + "value": "application/x-www-form-urlencoded" + } + ], + "body": { + "mode": "urlencoded", + "urlencoded": [ + { + "key": "refresh_token", + "value": "{{creator_refresh_token}}", + "type": "text" } ] + }, + "url": { + "raw": "{{host}}/auth/v1/refresh/token", + "host": [ + "{{host}}" + ], + "path": [ + "auth", + "v1", + "refresh", + "token" + ] } }, "response": [] }, { - "name": "Associating framework gradeLevel with subject", + "name": "Create certificate template", "event": [ { - "listen": "prerequest", + "listen": "test", "script": { "exec": [ - "" + "pm.test(\"Your do id\", function () {", + " var jsonData = pm.response.json();", + " var cert_content_id = jsonData.result.identifier;", + " console.log(jsonData);", + " if(cert_content_id) {", + " pm.environment.set(\"cert_content_id\", cert_content_id);", + " }", + "});" ], - "type": "text/javascript" + "type": "text/javascript", + "packages": {} } } ], "request": { - "method": "PATCH", + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "X-Channel-Id", + "value": "{{channel_id}}" + }, + { + "key": "Authorization", + "value": "Bearer {{apikey}}" + }, + { + "key": "x-authenticated-user-token", + "value": "{{creator_access_token}}" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"asset\": {\n \"certType\": \"cert template layout\",\n \"code\": \"1 logo 1 signature\",\n \"data\": {\n \"title\": \"1 logo 1 signature\"\n },\n \"channel\": \"{{channel_id}}\",\n \"mimeType\": \"image/svg+xml\",\n \"issuer\": {\n \"name\": \"cbse\",\n \"url\": \"https://diksha.gov.in/cbse/\"\n },\n \"primaryCategory\": \"Certificate Template\",\n \"mediaType\": \"image\",\n \"signatoryList\": [\n {\n \"image\": \"https://diksha.gov.in/cbse/cbse-logo.png\",\n \"name\": \"CBSE\",\n \"id\": \"cbse\",\n \"designation\": \"XBSE\"\n }\n ],\n \"license\": \"CC BY 4.0\",\n \"name\": \"1 logo 1 signature\"\n }\n }\n}" + }, + "url": { + "raw": "{{host}}/api/asset/v1/create", + "host": [ + "{{host}}" + ], + "path": [ + "api", + "asset", + "v1", + "create" + ] + } + }, + "response": [] + }, + { + "name": "Upload Certificate Template", + "request": { + "method": "POST", "header": [ { - "key": "Content-Type", + "key": "Accept", "value": "application/json" }, { "key": "Authorization", - "value": "Bearer {{apikey}}", - "type": "text" + "value": "Bearer {{apikey}}" }, { - "key": "x-channel-id", + "key": "x-authenticated-user-token", + "value": "{{creator_access_token}}" + }, + { + "key": "X-Channel-Id", "value": "{{channel_id}}", "type": "text" } ], "body": { - "mode": "raw", - "raw": "{\n \"request\": {\n \"term\": {\n \"associations\": [\n {\n \"identifier\": \"ncf_subject_english\"\n },\n {\n \"identifier\": \"ncf_subject_hindi\"\n }\n ]\n }\n }\n}" + "mode": "formdata", + "formdata": [ + { + "key": "fileUrl", + "value": "https://downloadableartifacts.blob.core.windows.net/release600/certificate_template.svg", + "type": "text" + } + ] }, "url": { - "raw": "{{host}}/api/framework/v1/term/update/class1?framework={{framework_default}}&category=gradeLevel", + "raw": "{{host}}/api/asset/v1/upload/{{cert_content_id}}", "host": [ "{{host}}" ], "path": [ "api", - "framework", + "asset", "v1", - "term", - "update", - "class1" - ], - "query": [ - { - "key": "framework", - "value": "{{framework_default}}" - }, - { - "key": "category", - "value": "gradeLevel" - } + "upload", + "{{cert_content_id}}" ] } }, "response": [] } ] - }, + } + ], + "description": "### \nNeo4J Cypher Queries:\n\nRemove the duplicate nodes if exist while any issues if you noticed as part of configurations \n\n**Identify the duplicate nodes:**\n\nUse the below cypher query directly on Neo4J DB\n\n``` powershell\nmatch (n:domain{IL_UNIQUE_ID:\"ncf_board\"}) RETURN n;pppp\n```\n\n**Remove the duplicate nodes:**\n\n``` powershell\nMATCH (n:domain{IL_UNIQUE_ID:\"sunbird_k-12\"}) DETACH DELETE n;\n```" + }, + { + "name": "3 - Forms", + "item": [ { - "name": "10-Publish Framework", + "name": "Content", "item": [ { - "name": "Publish Framework", + "name": "1 - Content Save", "request": { "method": "POST", "header": [ @@ -4648,38 +7651,34 @@ "key": "Content-Type", "value": "application/json" }, - { - "key": "X-Channel-Id", - "value": "{{channel_id}}" - }, { "key": "Authorization", - "value": "Bearer {{apikey}}", - "type": "text" + "value": "Bearer {{apikey}}" } ], "body": { "mode": "raw", - "raw": "{}" + "raw": "{\r\n \"request\": {\r\n \"action\": \"save\",\r\n \"subType\": \"resource\",\r\n \"framework\": \"*\",\r\n \"rootOrgId\": \"*\",\r\n \"type\": \"content\",\r\n \"popup\": true,\r\n \"editMode\": true,\r\n \"data\": {\r\n \"templateName\": \"defaultTemplate\",\r\n \"action\": \"save\",\r\n \"fields\": [\r\n {\r\n \"code\": \"appicon\",\r\n \"visible\": true,\r\n \"editable\": true,\r\n \"dataType\": \"url\",\r\n \"renderingHints\": {},\r\n \"name\": \"App Icon\",\r\n \"description\": \"App Icon\",\r\n \"index\": 1,\r\n \"inputType\": \"file\",\r\n \"label\": \"Icon\",\r\n \"placeholder\": \"App Icon\",\r\n \"required\": false\r\n },\r\n {\r\n \"code\": \"name\",\r\n \"visible\": true,\r\n \"editable\": true,\r\n \"dataType\": \"text\",\r\n \"renderingHints\": {},\r\n \"name\": \"Title\",\r\n \"description\": \"Title of the content\",\r\n \"index\": 2,\r\n \"inputType\": \"text\",\r\n \"label\": \"Title\",\r\n \"placeholder\": \"Enter Title For Book\",\r\n \"required\": true\r\n },\r\n {\r\n \"code\": \"description\",\r\n \"visible\": true,\r\n \"editable\": true,\r\n \"dataType\": \"text\",\r\n \"renderingHints\": {},\r\n \"name\": \"Description\",\r\n \"description\": \"Brief description\",\r\n \"index\": 3,\r\n \"inputType\": \"textarea\",\r\n \"label\": \"Description\",\r\n \"placeholder\": \"Brief description about the Book\",\r\n \"required\": false\r\n },\r\n {\r\n \"code\": \"board\",\r\n \"visible\": true,\r\n \"depends\": [\r\n \"medium\",\r\n \"gradeLevel\",\r\n \"subject\",\r\n \"topic\"\r\n ],\r\n \"editable\": true,\r\n \"dataType\": \"text\",\r\n \"renderingHints\": {},\r\n \"description\": \"Board\",\r\n \"index\": 5,\r\n \"label\": \"Board/Syllabus\",\r\n \"required\": false,\r\n \"name\": \"Board/Syllabus\",\r\n \"inputType\": \"select\",\r\n \"placeholder\": \"Select Board/Syllabus\"\r\n },\r\n {\r\n \"code\": \"medium\",\r\n \"visible\": true,\r\n \"depends\": [\r\n \"gradeLevel\",\r\n \"subject\",\r\n \"topic\"\r\n ],\r\n \"editable\": true,\r\n \"dataType\": \"list\",\r\n \"renderingHints\": {},\r\n \"description\": \"\",\r\n \"index\": 6,\r\n \"label\": \"Medium\",\r\n \"required\": false,\r\n \"name\": \"medium\",\r\n \"inputType\": \"multiselect\",\r\n \"placeholder\": \"Select Medium\"\r\n },\r\n {\r\n \"code\": \"gradeLevel\",\r\n \"visible\": true,\r\n \"depends\": [\r\n \"subject\",\r\n \"topic\"\r\n ],\r\n \"editable\": true,\r\n \"dataType\": \"list\",\r\n \"renderingHints\": {},\r\n \"description\": \"Class\",\r\n \"index\": 7,\r\n \"label\": \"Class\",\r\n \"required\": false,\r\n \"name\": \"Class\",\r\n \"inputType\": \"multiselect\",\r\n \"placeholder\": \"Select Class\"\r\n },\r\n {\r\n \"code\": \"subject\",\r\n \"visible\": true,\r\n \"depends\": [\r\n \"topic\"\r\n ],\r\n \"editable\": true,\r\n \"dataType\": \"list\",\r\n \"renderingHints\": {},\r\n \"description\": \"\",\r\n \"index\": 8,\r\n \"label\": \"Subject\",\r\n \"required\": false,\r\n \"name\": \"Subject\",\r\n \"inputType\": \"multiselect\",\r\n \"placeholder\": \"Select Subject\"\r\n }\r\n ]\r\n }\r\n }\r\n}" }, "url": { - "raw": "{{host}}/api/framework/v1/publish/{{framework_default}}", + "raw": "{{host}}/api/data/v1/form/create", "host": [ "{{host}}" ], "path": [ "api", - "framework", + "data", "v1", - "publish", - "{{framework_default}}" + "form", + "create" ] - } + }, + "description": "{\"request\":{\"type\":\"content\",\"action\":\"save\",\"subType\":\"resource\"}}" }, "response": [] }, { - "name": "Publish Framework for TPD", + "name": "2 - Content Review", "request": { "method": "POST", "header": [ @@ -4687,134 +7686,106 @@ "key": "Content-Type", "value": "application/json" }, - { - "key": "X-Channel-Id", - "value": "{{channel_id}}" - }, { "key": "Authorization", - "value": "Bearer {{apikey}}", - "type": "text" + "value": "Bearer {{apikey}}" } ], "body": { "mode": "raw", - "raw": "{}" + "raw": "{\r\n \"request\": {\r\n \"action\": \"review\",\r\n \"subType\": \"resource\",\r\n \"framework\": \"*\",\r\n \"rootOrgId\": \"*\",\r\n \"type\": \"content\",\r\n \"popup\": true,\r\n \"editMode\": true,\r\n \"data\": {\r\n \"templateName\": \"defaultTemplate\",\r\n \"action\": \"review\",\r\n \"fields\": [\r\n {\r\n \"code\": \"appicon\",\r\n \"visible\": true,\r\n \"editable\": true,\r\n \"dataType\": \"url\",\r\n \"renderingHints\": {},\r\n \"name\": \"App Icon\",\r\n \"description\": \"App Icon\",\r\n \"index\": 1,\r\n \"inputType\": \"file\",\r\n \"label\": \"Icon\",\r\n \"placeholder\": \"App Icon\",\r\n \"required\": false\r\n },\r\n {\r\n \"code\": \"name\",\r\n \"visible\": true,\r\n \"editable\": true,\r\n \"dataType\": \"text\",\r\n \"renderingHints\": {},\r\n \"name\": \"Title\",\r\n \"description\": \"Title of the content\",\r\n \"index\": 2,\r\n \"inputType\": \"text\",\r\n \"label\": \"Title\",\r\n \"placeholder\": \"Enter Title For Book\",\r\n \"required\": true\r\n },\r\n {\r\n \"code\": \"description\",\r\n \"visible\": true,\r\n \"editable\": true,\r\n \"dataType\": \"text\",\r\n \"renderingHints\": {},\r\n \"name\": \"Description\",\r\n \"description\": \"Brief description\",\r\n \"index\": 3,\r\n \"inputType\": \"textarea\",\r\n \"label\": \"Description\",\r\n \"placeholder\": \"Brief description about the Book\",\r\n \"required\": false\r\n },\r\n {\r\n \"code\": \"board\",\r\n \"visible\": true,\r\n \"depends\": [\r\n \"medium\",\r\n \"gradeLevel\",\r\n \"subject\",\r\n \"topic\"\r\n ],\r\n \"editable\": true,\r\n \"dataType\": \"text\",\r\n \"renderingHints\": {},\r\n \"description\": \"Board\",\r\n \"index\": 5,\r\n \"label\": \"Board/Syllabus\",\r\n \"required\": false,\r\n \"name\": \"Board/Syllabus\",\r\n \"inputType\": \"select\",\r\n \"placeholder\": \"Select Board/Syllabus\"\r\n },\r\n {\r\n \"code\": \"medium\",\r\n \"visible\": true,\r\n \"depends\": [\r\n \"gradeLevel\",\r\n \"subject\",\r\n \"topic\"\r\n ],\r\n \"editable\": true,\r\n \"dataType\": \"list\",\r\n \"renderingHints\": {},\r\n \"description\": \"\",\r\n \"index\": 6,\r\n \"label\": \"Medium\",\r\n \"required\": false,\r\n \"name\": \"medium\",\r\n \"inputType\": \"multiselect\",\r\n \"placeholder\": \"Select Medium\"\r\n },\r\n {\r\n \"code\": \"gradeLevel\",\r\n \"visible\": true,\r\n \"depends\": [\r\n \"subject\",\r\n \"topic\"\r\n ],\r\n \"editable\": true,\r\n \"dataType\": \"list\",\r\n \"renderingHints\": {},\r\n \"description\": \"Class\",\r\n \"index\": 7,\r\n \"label\": \"Class\",\r\n \"required\": false,\r\n \"name\": \"Class\",\r\n \"inputType\": \"multiselect\",\r\n \"placeholder\": \"Select Class\"\r\n },\r\n {\r\n \"code\": \"subject\",\r\n \"visible\": true,\r\n \"depends\": [\r\n \"topic\"\r\n ],\r\n \"editable\": true,\r\n \"dataType\": \"list\",\r\n \"renderingHints\": {},\r\n \"description\": \"\",\r\n \"index\": 8,\r\n \"label\": \"Subject\",\r\n \"required\": false,\r\n \"name\": \"Subject\",\r\n \"inputType\": \"multiselect\",\r\n \"placeholder\": \"Select Subject\"\r\n }\r\n ]\r\n }\r\n }\r\n}" }, "url": { - "raw": "{{host}}/api/framework/v1/publish/{{default_Course_Framework}}", + "raw": "{{host}}/api/data/v1/form/create", "host": [ "{{host}}" ], "path": [ "api", - "framework", + "data", "v1", - "publish", - "{{default_Course_Framework}}" + "form", + "create" ] - } + }, + "description": "{\"request\":{\"type\":\"content\",\"action\":\"save\",\"subType\":\"resource\"}}" }, "response": [] }, { - "name": "2 - Read Framework", - "event": [ - { - "listen": "prerequest", - "script": { - "exec": [ - "" - ], - "type": "text/javascript" - } - }, - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});" - ], - "type": "text/javascript" - } - } - ], + "name": "3 - Content Publish", "request": { - "method": "GET", + "method": "POST", "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, { "key": "Authorization", - "value": "Bearer {{apikey}}", - "type": "text" + "value": "Bearer {{apikey}}" } ], + "body": { + "mode": "raw", + "raw": "{\r\n \"request\": {\r\n \"action\": \"publish\",\r\n \"type\": \"content\",\r\n \"subType\": \"resource\",\r\n \"framework\": \"*\",\r\n \"rootOrgId\": \"*\",\r\n \"data\": {\r\n \"templateName\": \"defaultTemplate\",\r\n \"action\": \"review\",\r\n \"fields\": [\r\n {\r\n \"contents\": [\r\n {\r\n \"name\": \"Appropriateness\",\r\n \"checkList\": [\r\n \"Is suitable for children\"\r\n ]\r\n },\r\n {\r\n \"name\": \"Content details\",\r\n \"checkList\": [\r\n \"Appropriate Title, Description\"\r\n ]\r\n },\r\n {\r\n \"name\": \"Usability\",\r\n \"checkList\": [\r\n \"Content plays correctly\"\r\n ]\r\n }\r\n ],\r\n \"title\": \"Please confirm that ALL the following items are verified (by ticking the check-boxes) before you can publish:\"\r\n }\r\n ]\r\n }\r\n }\r\n}" + }, "url": { - "raw": "{{host}}/api/framework/v1/read/{{framework_default}}", + "raw": "{{host}}/api/data/v1/form/create", "host": [ "{{host}}" ], "path": [ "api", - "framework", + "data", "v1", - "read", - "{{framework_default}}" + "form", + "create" ] - } + }, + "description": "{\"request\":{\"type\":\"content\",\"action\":\"save\",\"subType\":\"resource\"}}" }, "response": [] - } - ] - }, - { - "name": "List Framework", - "item": [ + }, { - "name": "List Framework", + "name": "4 - Content Create", "request": { "method": "POST", "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, { "key": "Authorization", - "value": "Bearer {{apikey}}", - "type": "text" + "value": "Bearer {{apikey}}" } ], "body": { "mode": "raw", - "raw": "{\n \"request\": {\n \"search\": {},\n \"fields\": [\n \"name\",\n \"identifier\",\n \"code\",\n \"description\"\n ]\n }\n}", - "options": { - "raw": { - "language": "json" - } - } + "raw": "{\r\n \"request\": {\r\n \"action\": \"create\",\r\n \"subType\": \"resource\",\r\n \"framework\": \"*\",\r\n \"rootOrgId\": \"*\",\r\n \"type\": \"content\",\r\n \"popup\": true,\r\n \"editMode\": true,\r\n \"data\": {\r\n \"templateName\": \"defaultTemplate\",\r\n \"action\": \"create\",\r\n \"fields\": [\r\n {\r\n \"code\": \"appicon\",\r\n \"visible\": true,\r\n \"editable\": true,\r\n \"dataType\": \"url\",\r\n \"renderingHints\": {},\r\n \"name\": \"App Icon\",\r\n \"description\": \"App Icon\",\r\n \"index\": 1,\r\n \"inputType\": \"file\",\r\n \"label\": \"Icon\",\r\n \"placeholder\": \"App Icon\"\r\n },\r\n {\r\n \"code\": \"name\",\r\n \"visible\": true,\r\n \"editable\": true,\r\n \"dataType\": \"text\",\r\n \"renderingHints\": {},\r\n \"name\": \"Title\",\r\n \"description\": \"Title of the content\",\r\n \"index\": 2,\r\n \"inputType\": \"text\",\r\n \"label\": \"Title\",\r\n \"placeholder\": \"Enter Title For Book\"\r\n },\r\n {\r\n \"code\": \"description\",\r\n \"visible\": true,\r\n \"editable\": true,\r\n \"dataType\": \"text\",\r\n \"renderingHints\": {},\r\n \"name\": \"Description\",\r\n \"description\": \"Brief description\",\r\n \"index\": 3,\r\n \"inputType\": \"textarea\",\r\n \"label\": \"Description\",\r\n \"placeholder\": \"Brief description about the Book\"\r\n }\r\n \r\n ]\r\n }\r\n }\r\n}" }, "url": { - "raw": "{{host}}/api/framework/v1/list", + "raw": "{{host}}/api/data/v1/form/create", "host": [ "{{host}}" ], "path": [ "api", - "framework", + "data", "v1", - "list" + "form", + "create" ] - } + }, + "description": "{\"request\":{\"type\":\"content\",\"action\":\"save\",\"subType\":\"resource\"}}" }, "response": [] - } - ] - }, - { - "name": "11-update Channel", - "item": [ + }, { - "name": "Update channel for course framework", + "name": "5 - Book Create", "request": { - "method": "PATCH", + "method": "POST", "header": [ { "key": "Content-Type", @@ -4822,298 +7793,222 @@ }, { "key": "Authorization", - "value": "Bearer {{apikey}}", - "type": "text" - }, - { - "key": "x-channel-id", - "value": "{{channel_id}}", - "type": "text" + "value": "Bearer {{apikey}}" } ], "body": { "mode": "raw", - "raw": "{\n \"request\": {\n \"channel\": {\n \"defaultCourseFramework\": \"{{default_Course_Framework}}\",\n \"defaultFramework\": \"{{framework_default}}\"\n }\n }\n}" + "raw": "{\r\n \"request\": {\r\n \"type\": \"content\",\r\n \"action\": \"create\",\r\n \"subType\": \"textbook\",\r\n \"rootOrgId\": \"*\",\r\n \"framework\": \"*\",\r\n \"data\": {\r\n \"templateName\": \"defaultTemplate\",\r\n \"action\": \"review\",\r\n \"fields\": [\r\n {\r\n \"code\": \"name\",\r\n \"dataType\": \"text\",\r\n \"name\": \"Name\",\r\n \"label\": \"Name\",\r\n \"description\": \"Name\",\r\n \"editable\": true,\r\n \"placeholder\": \"Name\",\r\n \"inputType\": \"text\",\r\n \"required\": true,\r\n \"displayProperty\": \"Editable\",\r\n \"visible\": true,\r\n \"renderingHints\": {\r\n \"semanticColumnWidth\": \"twelve\"\r\n },\r\n \"index\": 1,\r\n \"validation\": [\r\n {\r\n \"type\": \"regex\",\r\n \"value\": \"^[a-zA-Z0-9 &]*$\",\r\n \"message\": \"Invalid Input\"\r\n },\r\n {\r\n \"type\": \"max\",\r\n \"value\": \"50\",\r\n \"message\": \"Input is Exceded\"\r\n }\r\n ]\r\n },\r\n {\r\n \"code\": \"year\",\r\n \"dataType\": \"text\",\r\n \"name\": \"Year\",\r\n \"label\": \"Year\",\r\n \"description\": \"Year\",\r\n \"editable\": true,\r\n \"placeholder\": \"Year\",\r\n \"inputType\": \"select\",\r\n \"required\": false,\r\n \"displayProperty\": \"Editable\",\r\n \"visible\": true,\r\n \"renderingHints\": {\r\n \"semanticColumnWidth\": \"six\"\r\n },\r\n \"index\": 7\r\n }\r\n ]\r\n }\r\n }\r\n}" }, "url": { - "raw": "{{host}}/api/channel/v1/update/{{channel_id}}", + "raw": "{{host}}/api/data/v1/form/create", "host": [ "{{host}}" ], "path": [ "api", - "channel", + "data", "v1", - "update", - "{{channel_id}}" + "form", + "create" ] - } + }, + "description": "{\"request\":{\"type\":\"content\",\"action\":\"save\",\"subType\":\"resource\"}}" }, "response": [] - } - ] - }, - { - "name": "12-Cert As Asset", - "item": [ + }, { - "name": "Auth Token- content creator", + "name": "6 - DigitalTextBook Configuration (editor)", "request": { - "method": "POST", + "method": "PATCH", "header": [ { - "key": "Content-Type", - "value": "application/x-www-form-urlencoded" + "key": "X-Channel-id", + "type": "text", + "value": "{{channel_name}}" }, { "key": "Authorization", - "value": "Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJhcGlfYWRtaW4ifQ.R0dE7mmX95ohjboVTdmqMJUKn9haHF7GKoDGtzK8bMI" + "type": "text", + "value": "Bearer {{apikey}}" + }, + { + "key": "Content-Type", + "type": "text", + "value": "application/json" } ], "body": { - "mode": "urlencoded", - "urlencoded": [ - { - "key": "client_id", - "value": "direct-grant", - "type": "text" - }, - { - "key": "client_secret", - "value": "direct-grantU2PNfwcz6rb9756ZwAwZ", - "type": "text" - }, - { - "key": "grant_type", - "value": "password", - "type": "text" - }, - { - "key": "username", - "value": "contentcreator@yopmail.com", - "type": "text" - }, - { - "key": "password", - "value": "Creator@123", - "type": "text" + "mode": "raw", + "raw": "{\n \"request\": {\n \"objectCategoryDefinition\": {\n \"objectMetadata\": {\n \"config\": {\n \"sourcingSettings\": {\n \"collection\": {\n \"maxDepth\": 4,\n \"objectType\": \"Collection\",\n \"primaryCategory\": \"Digital Textbook\",\n \"isRoot\": true,\n \"iconClass\": \"fa fa-book\",\n \"children\": {},\n \"hierarchy\": {\n \"level1\": {\n \"name\": \"Textbook Unit\",\n \"type\": \"Unit\",\n \"mimeType\": \"application/vnd.ekstep.content-collection\",\n \"contentType\": \"TextBookUnit\",\n \"primaryCategory\": \"Textbook Unit\",\n \"iconClass\": \"fa fa-folder-o\",\n \"children\": {\n \"Content\": [],\n \"Collection\": []\n }\n },\n \"level2\": {\n \"name\": \"Section\",\n \"type\": \"Unit\",\n \"mimeType\": \"application/vnd.ekstep.content-collection\",\n \"contentType\": \"TextBookUnit\",\n \"primaryCategory\": \"Textbook Unit\",\n \"iconClass\": \"fa fa-folder-o\",\n \"children\": {\n \"Content\": [],\n \"Collection\": []\n }\n },\n \"level3\": {\n \"name\": \"Section\",\n \"type\": \"Unit\",\n \"mimeType\": \"application/vnd.ekstep.content-collection\",\n \"contentType\": \"TextBookUnit\",\n \"primaryCategory\": \"Textbook Unit\",\n \"iconClass\": \"fa fa-folder-o\",\n \"children\": {\n \"Content\": [],\n \"Collection\": []\n }\n },\n \"level4\": {\n \"name\": \"Section\",\n \"type\": \"Unit\",\n \"mimeType\": \"application/vnd.ekstep.content-collection\",\n \"contentType\": \"TextBookUnit\",\n \"primaryCategory\": \"Textbook Unit\",\n \"iconClass\": \"fa fa-folder-o\",\n \"children\": {\n \"Content\": [],\n \"Collection\": []\n }\n }\n }\n }\n }\n },\n \"schema\": {\n \"properties\": {\n \"generateDIALCodes\": {\n \"type\": \"string\",\n \"enum\": [\n \"Yes\",\n \"No\"\n ],\n \"default\": \"Yes\"\n },\n \"trackable\": {\n \"type\": \"object\",\n \"properties\": {\n \"enabled\": {\n \"type\": \"string\",\n \"enum\": [\n \"Yes\",\n \"No\"\n ],\n \"default\": \"No\"\n },\n \"autoBatch\": {\n \"type\": \"string\",\n \"enum\": [\n \"Yes\",\n \"No\"\n ],\n \"default\": \"No\"\n }\n },\n \"default\": {\n \"enabled\": \"No\",\n \"autoBatch\": \"No\"\n }\n },\n \"userConsent\": {\n \"type\": \"string\",\n \"enum\": [\n \"Yes\",\n \"No\"\n ],\n \"default\": \"Yes\"\n }\n }\n }\n },\n \"name\": \"Digital Textbook\",\n \"forms\": {\n \"childMetadata\": {\n \"templateName\": \"\",\n \"required\": [],\n \"properties\": [\n {\n \"code\": \"name\",\n \"editable\": true,\n \"displayProperty\": \"Editable\",\n \"dataType\": \"text\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1 required\"\n },\n \"description\": \"Name\",\n \"index\": 1,\n \"label\": \"Name\",\n \"required\": true,\n \"name\": \"Name\",\n \"inputType\": \"text\",\n \"placeholder\": \"Name\",\n \"validations\": [\n {\n \"type\": \"maxLength\",\n \"value\": \"120\",\n \"message\": \"Exceeded the limit of 120 characters\"\n },\n {\n \"type\": \"required\",\n \"message\": \"Name is required\"\n }\n ]\n },\n {\n \"code\": \"description\",\n \"dataType\": \"text\",\n \"description\": \"Description of the content\",\n \"editable\": true,\n \"inputType\": \"textarea\",\n \"label\": \"Description\",\n \"name\": \"Description\",\n \"placeholder\": \"Description\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"required\": false,\n \"visible\": true,\n \"validations\": [\n {\n \"type\": \"maxLength\",\n \"value\": \"1000\",\n \"message\": \"Exceeded the limit of 1000 characters\"\n }\n ]\n },\n {\n \"code\": \"primaryCategory\",\n \"dataType\": \"text\",\n \"description\": \"Type\",\n \"editable\": false,\n \"renderingHints\": {},\n \"inputType\": \"select\",\n \"label\": \"Category\",\n \"name\": \"Type\",\n \"placeholder\": \"\",\n \"required\": true,\n \"visible\": true,\n \"validations\": []\n },\n {\n \"code\": \"boardIds\",\n \"visible\": true,\n \"depends\": [],\n \"editable\": false,\n \"dataType\": \"list\",\n \"sourceCategory\": \"board\",\n \"output\": \"identifier\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"description\": \"\",\n \"label\": \"Board\",\n \"required\": true,\n \"name\": \"Board\",\n \"inputType\": \"nestedselect\",\n \"placeholder\": \"Select Board\"\n },\n {\n \"code\": \"mediumIds\",\n \"visible\": true,\n \"depends\": [],\n \"editable\": false,\n \"dataType\": \"list\",\n \"sourceCategory\": \"medium\",\n \"output\": \"identifier\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"description\": \"\",\n \"label\": \"Medium(s)\",\n \"required\": true,\n \"name\": \"Medium\",\n \"inputType\": \"nestedselect\",\n \"placeholder\": \"Select Medium\"\n },\n {\n \"code\": \"gradeLevelIds\",\n \"visible\": true,\n \"depends\": [],\n \"editable\": false,\n \"dataType\": \"list\",\n \"sourceCategory\": \"gradeLevel\",\n \"output\": \"identifier\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"description\": \"\",\n \"label\": \"Class(es)\",\n \"required\": true,\n \"name\": \"Grade Level\",\n \"inputType\": \"nestedselect\",\n \"placeholder\": \"Select Grade\"\n },\n {\n \"code\": \"subjectIds\",\n \"visible\": true,\n \"depends\": [],\n \"editable\": false,\n \"dataType\": \"list\",\n \"sourceCategory\": \"subject\",\n \"output\": \"identifier\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"description\": \"\",\n \"label\": \"Subject(s)\",\n \"required\": true,\n \"name\": \"Subject\",\n \"inputType\": \"nestedselect\",\n \"placeholder\": \"Select Subject\"\n },\n {\n \"code\": \"copyright\",\n \"dataType\": \"text\",\n \"description\": \"Copyright\",\n \"editable\": true,\n \"index\": 4,\n \"inputType\": \"text\",\n \"label\": \"Copyright and Year:\",\n \"name\": \"Copyright\",\n \"placeholder\": \"Enter Copyright and Year\",\n \"tooltip\": \"If you are an individual, creating original content, you are the copyright holder. If you are creating this content on behalf of an organisation, the organisation may be the copyright holder. \",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1 required\"\n },\n \"required\": true,\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"Copyright is required\"\n }\n ]\n },\n {\n \"code\": \"license\",\n \"visible\": true,\n \"editable\": true,\n \"displayProperty\": \"Editable\",\n \"dataType\": \"text\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1 required\"\n },\n \"description\": \"License\",\n \"index\": 6,\n \"label\": \"License\",\n \"required\": true,\n \"name\": \"license\",\n \"inputType\": \"select\",\n \"placeholder\": \"license\",\n \"tooltip\": \"Choose the more appropriate Creative commons license for this Content. \",\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"License is required\"\n }\n ]\n },\n {\n \"code\": \"author\",\n \"dataType\": \"text\",\n \"description\": \"Author\",\n \"editable\": true,\n \"index\": 5,\n \"inputType\": \"text\",\n \"label\": \"Author\",\n \"name\": \"Author\",\n \"placeholder\": \"Author\",\n \"tooltip\": \"Provide name of creator of this content.\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"required\": true,\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"Author is required\"\n }\n ]\n },\n {\n \"code\": \"attributions\",\n \"dataType\": \"list\",\n \"description\": \"Attributions\",\n \"editable\": true,\n \"index\": 3,\n \"inputType\": \"text\",\n \"label\": \"Attributions\",\n \"name\": \"attribution\",\n \"placeholder\": \"\",\n \"tooltip\": \"If you have relied on another work to create this content, provide the name of that creator and the source of that work.\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"required\": false\n },\n {\n \"code\": \"contentPolicyCheck\",\n \"visible\": true,\n \"editable\": true,\n \"displayProperty\": \"Editable\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1 required\"\n },\n \"description\": \"Content Policy check\",\n \"index\": 7,\n \"labelHtml\": \"

I agree that by submitting / publishing this Content, I confirm that this Content complies with prescribed guidelines, including the Terms of Use and Content Policy and that I consent to publish it under the Creative Commons Framework in accordance with the Content Policy. I have made sure that I do not violate others' copyright or privacy rights.

\",\n \"required\": true,\n \"name\": \"contentPolicyCheck\",\n \"inputType\": \"checkbox\",\n \"placeholder\": \"Content Policy Check\",\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"Content Policy Check is required\"\n }\n ]\n }\n ]\n },\n \"create\": {\n \"templateName\": \"\",\n \"required\": [],\n \"properties\": [\n {\n \"name\": \"First Section\",\n \"fields\": [\n {\n \"code\": \"appIcon\",\n \"dataType\": \"text\",\n \"description\": \"appIcon of the content\",\n \"editable\": true,\n \"inputType\": \"appIcon\",\n \"label\": \"Icon\",\n \"name\": \"Icon\",\n \"placeholder\": \"Icon\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1 required\"\n },\n \"required\": true,\n \"visible\": true\n },\n {\n \"code\": \"name\",\n \"dataType\": \"text\",\n \"description\": \"Name of the content\",\n \"editable\": true,\n \"inputType\": \"text\",\n \"label\": \"Name\",\n \"name\": \"Name\",\n \"placeholder\": \"Name\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1 required\"\n },\n \"required\": true,\n \"visible\": true,\n \"validations\": [\n {\n \"type\": \"maxLength\",\n \"value\": \"120\",\n \"message\": \"Exceeded the limit of 120 characters\"\n },\n {\n \"type\": \"required\",\n \"message\": \"Name is required\"\n }\n ]\n },\n {\n \"code\": \"description\",\n \"dataType\": \"text\",\n \"description\": \"Description of the content\",\n \"editable\": true,\n \"inputType\": \"textarea\",\n \"label\": \"Description\",\n \"name\": \"Description\",\n \"placeholder\": \"Description\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"required\": false,\n \"visible\": true,\n \"validations\": [\n {\n \"type\": \"maxLength\",\n \"value\": \"1000\",\n \"message\": \"Exceeded the limit of 1000 characters\"\n }\n ]\n },\n {\n \"code\": \"keywords\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"list\",\n \"name\": \"Keywords\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"description\": \"Keywords for the content\",\n \"inputType\": \"keywords\",\n \"label\": \"Keywords\",\n \"placeholder\": \"Input the keyword and press enter\",\n \"required\": false,\n \"validations\": []\n }\n ]\n },\n {\n \"name\": \"Second Section\",\n \"fields\": [\n {\n \"code\": \"dialcodeRequired\",\n \"dataType\": \"text\",\n \"description\": \"QR CODE REQUIRED\",\n \"editable\": true,\n \"default\": \"No\",\n \"index\": 5,\n \"inputType\": \"radio\",\n \"label\": \"QR code required?\",\n \"name\": \"dialcodeRequired\",\n \"placeholder\": \"QR code required?\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"range\": [\n \"Yes\",\n \"No\"\n ],\n \"required\": false,\n \"visible\": true\n },\n {\n \"code\": \"dialcodes\",\n \"depends\": [\n \"dialcodeRequired\"\n ],\n \"dataType\": \"list\",\n \"description\": \"Digital Infrastructure for Augmented Learning\",\n \"editable\": true,\n \"inputType\": \"dialcode\",\n \"label\": \"QR code\",\n \"name\": \"dialcode\",\n \"placeholder\": \"Enter code here\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"required\": true,\n \"visible\": true,\n \"validations\": [\n {\n \"type\": \"minLength\",\n \"value\": \"2\"\n },\n {\n \"type\": \"maxLength\",\n \"value\": \"20\"\n }\n ]\n }\n ]\n },\n {\n \"name\": \"Third Section\",\n \"fields\": [\n {\n \"code\": \"primaryCategory\",\n \"dataType\": \"text\",\n \"description\": \"Type\",\n \"editable\": false,\n \"renderingHints\": {},\n \"inputType\": \"select\",\n \"label\": \"Category\",\n \"name\": \"Type\",\n \"placeholder\": \"\",\n \"required\": true,\n \"visible\": true,\n \"validations\": []\n }\n ]\n },\n {\n \"name\": \"Framework Terms\",\n \"fields\": [\n {\n \"code\": \"audience\",\n \"dataType\": \"list\",\n \"description\": \"Audience\",\n \"editable\": true,\n \"inputType\": \"nestedselect\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"label\": \"Audience Type\",\n \"name\": \"Audience Type\",\n \"placeholder\": \"Select Audience Type\",\n \"required\": false,\n \"visible\": true,\n \"range\": [\n \"Student\",\n \"Teacher\",\n \"Parent\",\n \"Administrator\",\n \"Other\"\n ]\n },\n {\n \"code\": \"boardIds\",\n \"visible\": true,\n \"depends\": [],\n \"editable\": true,\n \"dataType\": \"list\",\n \"sourceCategory\": \"board\",\n \"output\": \"identifier\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1 required\"\n },\n \"description\": \"Board\",\n \"label\": \"Board\",\n \"required\": true,\n \"name\": \"Board/Syllabus\",\n \"inputType\": \"select\",\n \"placeholder\": \"Select Board/Syllabus\",\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"Board is required\"\n }\n ]\n },\n {\n \"code\": \"mediumIds\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"list\",\n \"sourceCategory\": \"medium\",\n \"output\": \"identifier\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1 required\"\n },\n \"description\": \"\",\n \"label\": \"Medium(s)\",\n \"required\": true,\n \"name\": \"Medium\",\n \"inputType\": \"nestedselect\",\n \"placeholder\": \"Select Medium\",\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"Medium is required\"\n }\n ]\n },\n {\n \"code\": \"gradeLevelIds\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"list\",\n \"sourceCategory\": \"gradeLevel\",\n \"output\": \"identifier\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1 required\"\n },\n \"description\": \"Class\",\n \"label\": \"Class(es)\",\n \"required\": true,\n \"name\": \"Class\",\n \"inputType\": \"nestedselect\",\n \"placeholder\": \"Select Class\",\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"Class is required\"\n }\n ]\n },\n {\n \"code\": \"subjectIds\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"list\",\n \"sourceCategory\": \"subject\",\n \"output\": \"identifier\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1 required\"\n },\n \"description\": \"\",\n \"label\": \"Subject(s)\",\n \"required\": true,\n \"name\": \"Subject\",\n \"inputType\": \"nestedselect\",\n \"placeholder\": \"Select Subject\",\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"Subject is required\"\n }\n ]\n }\n ]\n },\n {\n \"name\": \"Fourth Section\",\n \"fields\": [\n {\n \"code\": \"author\",\n \"dataType\": \"text\",\n \"description\": \"Author of the content\",\n \"editable\": true,\n \"inputType\": \"text\",\n \"label\": \"Author\",\n \"name\": \"Author\",\n \"placeholder\": \"Author\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"required\": false,\n \"visible\": true\n },\n {\n \"code\": \"attributions\",\n \"dataType\": \"list\",\n \"description\": \"Attributions\",\n \"editable\": true,\n \"inputType\": \"text\",\n \"label\": \"Attributions\",\n \"name\": \"Attributions\",\n \"placeholder\": \"Attributions\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"required\": false,\n \"visible\": true\n },\n {\n \"code\": \"copyright\",\n \"dataType\": \"text\",\n \"description\": \"Copyright\",\n \"editable\": true,\n \"inputType\": \"text\",\n \"label\": \"Copyright\",\n \"name\": \"Copyright\",\n \"placeholder\": \"Copyright\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1 required\"\n },\n \"required\": true,\n \"visible\": true,\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"Copyright is required\"\n }\n ]\n },\n {\n \"code\": \"copyrightYear\",\n \"dataType\": \"number\",\n \"description\": \"Year\",\n \"editable\": true,\n \"inputType\": \"text\",\n \"label\": \"Copyright Year\",\n \"name\": \"Copyright Year\",\n \"placeholder\": \"Copyright Year\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1 required\"\n },\n \"required\": true,\n \"visible\": true,\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"Copyright Year is required\"\n },\n {\n \"type\": \"minLength\",\n \"message\": \"Year should be a 4 digit number\",\n \"value\": 4\n },\n {\n \"type\": \"maxLength\",\n \"message\": \"Year should be a 4 digit number\",\n \"value\": 4\n }\n ]\n },\n {\n \"code\": \"license\",\n \"dataType\": \"text\",\n \"description\": \"license\",\n \"editable\": true,\n \"inputType\": \"select\",\n \"label\": \"License\",\n \"name\": \"license\",\n \"placeholder\": \"Select License\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1 required\"\n },\n \"required\": true,\n \"visible\": true,\n \"defaultValue\": \"CC BY 4.0\",\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"License is required\"\n }\n ]\n }\n ]\n }\n ]\n },\n \"delete\": {},\n \"publish\": {},\n \"publishchecklist\": {\n \"templateName\": \"\",\n \"required\": [],\n \"properties\": [\n {\n \"name\": \"Appropriateness\",\n \"renderingHints\": {\n \"class\": \"d-grid-inline-3 display-sectionName\"\n },\n \"fields\": [\n {\n \"code\": \"appropriatenessOne\",\n \"name\": \"No Hate speech, Abuse, Violence, Profanity\",\n \"label\": \"No Hate speech, Abuse, Violence, Profanity\",\n \"dataType\": \"boolean\",\n \"inputType\": \"checkbox\",\n \"editable\": true,\n \"required\": false,\n \"visible\": true,\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"\"\n }\n ],\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n }\n }\n ]\n },\n {\n \"name\": \"Content details\",\n \"renderingHints\": {\n \"class\": \"d-grid-inline-3 display-sectionName\"\n },\n \"fields\": [\n {\n \"code\": \"contentdetailsOne\",\n \"name\": \"Appropriate Title, Description\",\n \"label\": \"Appropriate Title, Description\",\n \"dataType\": \"boolean\",\n \"inputType\": \"checkbox\",\n \"editable\": true,\n \"required\": false,\n \"visible\": true,\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"\"\n }\n ],\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n }\n }\n ]\n },\n {\n \"name\": \"Usability\",\n \"renderingHints\": {\n \"class\": \"d-grid-inline-3 display-sectionName\"\n },\n \"fields\": [\n {\n \"code\": \"usabilityOne\",\n \"name\": \"Content plays correctly\",\n \"label\": \"Content plays correctly\",\n \"dataType\": \"boolean\",\n \"inputType\": \"checkbox\",\n \"editable\": true,\n \"required\": false,\n \"visible\": true,\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"\"\n }\n ],\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n }\n }\n ]\n }\n ]\n },\n \"relationalMetadata\": {\n \"templateName\": \"\",\n \"required\": [],\n \"properties\": [\n {\n \"code\": \"relName\",\n \"dataType\": \"text\",\n \"description\": \"Name of the content\",\n \"editable\": true,\n \"inputType\": \"text\",\n \"label\": \"Name of the content\",\n \"name\": \"Name of the content\",\n \"placeholder\": \"Name of the content\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1 required\"\n },\n \"required\": true,\n \"visible\": true,\n \"validations\": [\n {\n \"type\": \"maxLength\",\n \"value\": \"120\",\n \"message\": \"Input is Exceeded\"\n },\n {\n \"type\": \"required\",\n \"message\": \"Name is required\"\n }\n ]\n },\n {\n \"code\": \"keywords\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"list\",\n \"name\": \"Keywords\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"description\": \"Keywords for the content\",\n \"inputType\": \"keywords\",\n \"label\": \"Keywords\",\n \"placeholder\": \"Input the keyword and PRESS enter\",\n \"required\": false,\n \"validations\": []\n },\n {\n \"code\": \"relTrackable\",\n \"name\": \"Track in collection\",\n \"label\": \"Track in collection\",\n \"placeholder\": \"Track in collection\",\n \"description\": \"\",\n \"default\": false,\n \"dataType\": \"boolean\",\n \"inputType\": \"checkbox\",\n \"editable\": true,\n \"required\": false,\n \"visible\": true,\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n }\n }\n ]\n },\n \"review\": {},\n \"search\": {\n \"templateName\": \"\",\n \"required\": [],\n \"properties\": [\n {\n \"code\": \"primaryCategory\",\n \"dataType\": \"list\",\n \"description\": \"Type\",\n \"editable\": true,\n \"default\": [],\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"inputType\": \"nestedselect\",\n \"label\": \"Content Type(s)\",\n \"name\": \"Type\",\n \"placeholder\": \"Select ContentType\",\n \"required\": false,\n \"visible\": true\n },\n {\n \"code\": \"board\",\n \"visible\": true,\n \"depends\": [],\n \"editable\": true,\n \"dataType\": \"list\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"description\": \"Board\",\n \"label\": \"Board\",\n \"required\": false,\n \"name\": \"Board\",\n \"inputType\": \"select\",\n \"placeholder\": \"Select Board\",\n \"output\": \"name\"\n },\n {\n \"code\": \"medium\",\n \"visible\": true,\n \"depends\": [\n \"board\"\n ],\n \"editable\": true,\n \"dataType\": \"list\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"description\": \"\",\n \"label\": \"Medium(s)\",\n \"required\": false,\n \"name\": \"Medium\",\n \"inputType\": \"nestedselect\",\n \"placeholder\": \"Select Medium\",\n \"output\": \"name\"\n },\n {\n \"code\": \"gradeLevel\",\n \"visible\": true,\n \"depends\": [\n \"board\",\n \"medium\"\n ],\n \"editable\": true,\n \"default\": \"\",\n \"dataType\": \"list\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"description\": \"Class\",\n \"label\": \"Class(es)\",\n \"required\": false,\n \"name\": \"Class\",\n \"inputType\": \"nestedselect\",\n \"placeholder\": \"Select Class\",\n \"output\": \"name\"\n },\n {\n \"code\": \"subject\",\n \"visible\": true,\n \"depends\": [\n \"board\",\n \"medium\",\n \"gradeLevel\"\n ],\n \"editable\": true,\n \"default\": \"\",\n \"dataType\": \"list\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"description\": \"\",\n \"label\": \"Subject(s)\",\n \"required\": false,\n \"name\": \"Subject\",\n \"inputType\": \"nestedselect\",\n \"placeholder\": \"Select Subject\",\n \"output\": \"name\"\n }\n ]\n },\n \"unitMetadata\": {\n \"templateName\": \"\",\n \"required\": [],\n \"properties\": [\n {\n \"name\": \"First Section\",\n \"fields\": [\n {\n \"code\": \"name\",\n \"dataType\": \"text\",\n \"description\": \"Name of the content\",\n \"editable\": true,\n \"inputType\": \"text\",\n \"label\": \"Name\",\n \"name\": \"Title\",\n \"placeholder\": \"Name\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1 required\"\n },\n \"required\": true,\n \"visible\": true,\n \"validations\": [\n {\n \"type\": \"maxLength\",\n \"value\": \"120\",\n \"message\": \"Exceeded the limit of 120 characters\"\n },\n {\n \"type\": \"required\",\n \"message\": \"Name is required\"\n }\n ]\n },\n {\n \"code\": \"description\",\n \"dataType\": \"text\",\n \"description\": \"Description of the content\",\n \"editable\": true,\n \"inputType\": \"textarea\",\n \"label\": \"Description\",\n \"name\": \"Description\",\n \"placeholder\": \"Description\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"required\": false,\n \"visible\": true,\n \"validations\": [\n {\n \"type\": \"maxLength\",\n \"value\": \"1000\",\n \"message\": \"Exceeded the limit of 120 characters\"\n }\n ]\n },\n {\n \"code\": \"keywords\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"list\",\n \"name\": \"Keywords\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"index\": 3,\n \"description\": \"Keywords for the content\",\n \"inputType\": \"keywords\",\n \"label\": \"Keywords\",\n \"placeholder\": \"Input the keyword and press enter\",\n \"required\": false,\n \"validations\": []\n },\n {\n \"code\": \"dialcodeRequired\",\n \"dataType\": \"text\",\n \"description\": \"QR CODE REQUIRED\",\n \"editable\": true,\n \"default\": \"No\",\n \"index\": 5,\n \"inputType\": \"radio\",\n \"label\": \"QR code required?\",\n \"name\": \"dialcodeRequired\",\n \"placeholder\": \"QR code required?\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"range\": [\n \"Yes\",\n \"No\"\n ],\n \"required\": false,\n \"visible\": true\n },\n {\n \"code\": \"dialcodes\",\n \"depends\": [\n \"dialcodeRequired\"\n ],\n \"dataType\": \"list\",\n \"description\": \"Digital Infrastructure for Augmented Learning\",\n \"editable\": true,\n \"inputType\": \"dialcode\",\n \"label\": \"QR code\",\n \"name\": \"dialcode\",\n \"placeholder\": \"Enter code here\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"required\": true,\n \"visible\": true,\n \"validations\": [\n {\n \"type\": \"minLength\",\n \"value\": \"2\"\n },\n {\n \"type\": \"maxLength\",\n \"value\": \"20\"\n }\n ]\n }\n ]\n }\n ]\n },\n \"update\": {}\n }\n }\n }\n}", + "options": { + "raw": { + "language": "json" } - ] + } }, "url": { - "raw": "{{host}}/auth/realms/sunbird/protocol/openid-connect/token", - "protocol": "https", + "raw": "{{host}}/api/object/category/definition/v1/update/obj-cat:digital-textbook_collection_all", "host": [ "{{host}}" ], "path": [ - "auth", - "realms", - "sunbird", - "protocol", - "openid-connect", - "token" + "api", + "object", + "category", + "definition", + "v1", + "update", + "obj-cat:digital-textbook_collection_all" ] } }, "response": [] }, { - "name": "Refresh Token", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Your test name\", function () {", - " var jsonData = pm.response.json();", - " var access_token = jsonData.result.access_token;", - " console.log(jsonData);", - " if(access_token) {", - " pm.environment.set(\"creator_access_token\", access_token);", - " }", - " pm.expect(creator_access_token).to.not.null;", - "});" - ], - "type": "text/javascript", - "packages": {} - } - } - ], + "name": "7 - Course Configuration (editor)", "request": { - "method": "POST", + "method": "PATCH", "header": [ + { + "key": "X-Channel-id", + "type": "text", + "value": "{{channel_name}}" + }, { "key": "Authorization", + "type": "text", "value": "Bearer {{apikey}}" }, { "key": "Content-Type", - "value": "application/x-www-form-urlencoded" + "type": "text", + "value": "application/json" } ], "body": { - "mode": "urlencoded", - "urlencoded": [ - { - "key": "refresh_token", - "value": "{{creator_refresh_token}}", - "type": "text" + "mode": "raw", + "raw": "{\n \"request\": {\n \"objectCategoryDefinition\": {\n \"forms\": {\n \"childMetadata\": {\n \"templateName\": \"\",\n \"required\": [],\n \"properties\": [\n {\n \"code\": \"name\",\n \"editable\": true,\n \"displayProperty\": \"Editable\",\n \"dataType\": \"text\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1 required\"\n },\n \"description\": \"Name\",\n \"index\": 1,\n \"label\": \"Name\",\n \"required\": true,\n \"name\": \"Name\",\n \"inputType\": \"text\",\n \"placeholder\": \"Name\",\n \"validations\": [\n {\n \"type\": \"maxlength\",\n \"value\": \"50\",\n \"message\": \"Input is Exceeded\"\n }\n ]\n },\n {\n \"code\": \"learningOutcomeIds\",\n \"dataType\": \"list\",\n \"description\": \"\",\n \"editable\": true,\n \"index\": 2,\n \"inputType\": \"select\",\n \"label\": \"Learning Outcome :\",\n \"sourceCategory\": \"learningOutcome\",\n \"name\": \"Learning Outcome :\",\n \"placeholder\": \"Select Learning Outcome\",\n \"depends\": [\n \"topicsIds\"\n ],\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"required\": false\n },\n {\n \"code\": \"attributions\",\n \"dataType\": \"list\",\n \"description\": \"Attributions\",\n \"editable\": true,\n \"index\": 3,\n \"inputType\": \"text\",\n \"label\": \"Attributions :\",\n \"name\": \"attribution\",\n \"placeholder\": \"\",\n \"tooltip\": \"If you have relied on another work to create this content, provide the name of that creator and the source of that work.\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"required\": false\n },\n {\n \"code\": \"author\",\n \"dataType\": \"text\",\n \"description\": \"Author\",\n \"editable\": true,\n \"index\": 5,\n \"inputType\": \"text\",\n \"label\": \"Author:\",\n \"name\": \"Author\",\n \"placeholder\": \"Author\",\n \"tooltip\": \"Provide name of creator of this content.\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"required\": true\n },\n {\n \"code\": \"copyright\",\n \"dataType\": \"text\",\n \"description\": \"Copyright\",\n \"editable\": true,\n \"index\": 4,\n \"inputType\": \"text\",\n \"label\": \"Copyright and Year:\",\n \"name\": \"Copyright\",\n \"placeholder\": \"Enter Copyright and Year\",\n \"tooltip\": \"If you are an individual, creating original content, you are the copyright holder. If you are creating this course content on behalf of an organisation, the organisation may be the copyright holder. \",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"required\": true\n },\n {\n \"code\": \"license\",\n \"visible\": true,\n \"editable\": true,\n \"displayProperty\": \"Editable\",\n \"dataType\": \"text\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"description\": \"Subject of the Content to use to teach\",\n \"index\": 6,\n \"label\": \"License:\",\n \"required\": true,\n \"name\": \"license\",\n \"inputType\": \"select\",\n \"placeholder\": \"license\",\n \"tooltip\": \"Choose the more appropriate Creative commons license for this Content. \"\n },\n {\n \"code\": \"additionalCategories\",\n \"visible\": true,\n \"editable\": true,\n \"displayProperty\": \"Editable\",\n \"dataType\": \"list\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"description\": \"Subject of the Content to use to teach\",\n \"index\": 7,\n \"label\": \"Content Additional Categories\",\n \"required\": false,\n \"name\": \"additionalCategories\",\n \"inputType\": \"multiSelect\",\n \"placeholder\": \"Content Additional Categories\"\n }\n ]\n },\n \"create\": {\n \"templateName\": \"\",\n \"required\": [],\n \"properties\": [\n {\n \"name\": \"First Section\",\n \"fields\": [\n {\n \"code\": \"name\",\n \"dataType\": \"text\",\n \"description\": \"Name of the content\",\n \"editable\": true,\n \"inputType\": \"text\",\n \"label\": \"Title\",\n \"name\": \"Name\",\n \"placeholder\": \"Title\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1 required\"\n },\n \"required\": true,\n \"visible\": true,\n \"validations\": [\n {\n \"type\": \"maxLength\",\n \"value\": \"120\",\n \"message\": \"Input is Exceeded\"\n },\n {\n \"type\": \"required\",\n \"message\": \"Title is required\"\n }\n ]\n },\n {\n \"code\": \"description\",\n \"dataType\": \"text\",\n \"description\": \"Description of the content\",\n \"editable\": true,\n \"inputType\": \"textarea\",\n \"label\": \"Description\",\n \"name\": \"Description\",\n \"placeholder\": \"Description\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"required\": false,\n \"visible\": true,\n \"validations\": [\n {\n \"type\": \"maxLength\",\n \"value\": \"256\",\n \"message\": \"Input is Exceeded\"\n }\n ]\n },\n {\n \"code\": \"keywords\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"list\",\n \"name\": \"Keywords\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"description\": \"Keywords for the content\",\n \"inputType\": \"keywords\",\n \"label\": \"Keywords\",\n \"placeholder\": \"Input the keyword and PRESS enter\",\n \"required\": false,\n \"validations\": []\n }\n ]\n },\n {\n \"name\": \"Second Section\",\n \"fields\": [\n {\n \"code\": \"dialcodeRequired\",\n \"dataType\": \"text\",\n \"description\": \"QR CODE REQUIRED\",\n \"editable\": true,\n \"default\": \"No\",\n \"index\": 5,\n \"inputType\": \"radio\",\n \"label\": \"QR code required\",\n \"name\": \"dialcodeRequired\",\n \"placeholder\": \"QR code required\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"range\": [\n \"Yes\",\n \"No\"\n ],\n \"required\": false,\n \"visible\": false\n },\n {\n \"code\": \"dialcodes\",\n \"depends\": [\n \"dialcodeRequired\"\n ],\n \"dataType\": \"list\",\n \"description\": \"Digital Infrastructure for Augmented Learning\",\n \"editable\": true,\n \"inputType\": \"dialcode\",\n \"label\": \"QR code\",\n \"name\": \"dialcode\",\n \"placeholder\": \"Enter code here\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"required\": true,\n \"visible\": false,\n \"validations\": [\n {\n \"type\": \"minLength\",\n \"value\": \"2\"\n },\n {\n \"type\": \"maxLength\",\n \"value\": \"20\"\n }\n ]\n },\n {\n \"code\": \"primaryCategory\",\n \"dataType\": \"text\",\n \"description\": \"Type\",\n \"editable\": false,\n \"renderingHints\": {},\n \"inputType\": \"select\",\n \"label\": \"Category\",\n \"name\": \"Type\",\n \"placeholder\": \"\",\n \"required\": true,\n \"visible\": true,\n \"validations\": []\n },\n {\n \"code\": \"additionalCategories\",\n \"dataType\": \"list\",\n \"depends\": [\n \"primaryCategory\"\n ],\n \"description\": \"Additonal Category of the Content\",\n \"editable\": true,\n \"inputType\": \"nestedselect\",\n \"label\": \"Additional Category\",\n \"name\": \"Additional Category\",\n \"placeholder\": \"Select Additional Category\",\n \"renderingHints\": {},\n \"required\": false,\n \"visible\": true\n }\n ]\n },\n {\n \"name\": \"Organisation Framework Terms\",\n \"fields\": [\n {\n \"code\": \"framework\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"text\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"description\": \"\",\n \"label\": \"Course Type\",\n \"required\": true,\n \"name\": \"Framework\",\n \"inputType\": \"framework\",\n \"placeholder\": \"Select Course Type\",\n \"output\": \"identifier\",\n \"validations\": []\n },\n {\n \"code\": \"subjectIds\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"list\",\n \"depends\": [\n \"framework\"\n ],\n \"sourceCategory\": \"subject\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"description\": \"\",\n \"label\": \"Subjects covered in the course\",\n \"required\": true,\n \"name\": \"Subject\",\n \"inputType\": \"frameworkCategorySelect\",\n \"placeholder\": \"Select Subject(s)\",\n \"output\": \"identifier\",\n \"validations\": []\n },\n {\n \"code\": \"topicsIds\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"list\",\n \"depends\": [\n \"framework\",\n \"subjectIds\"\n ],\n \"sourceCategory\": \"topic\",\n \"renderingHints\": {},\n \"name\": \"Topic\",\n \"description\": \"Choose a Topics\",\n \"inputType\": \"topicselector\",\n \"label\": \"Topics covered in the course\",\n \"placeholder\": \"Choose Topics\",\n \"required\": false,\n \"output\": \"identifier\"\n }\n ]\n },\n {\n \"name\": \"Target Framework Terms\",\n \"fields\": [\n {\n \"code\": \"audience\",\n \"dataType\": \"list\",\n \"description\": \"Audience\",\n \"editable\": true,\n \"inputType\": \"nestedselect\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"label\": \"Audience Type\",\n \"name\": \"Audience Type\",\n \"placeholder\": \"Select Audience Type\",\n \"required\": false,\n \"visible\": true,\n \"range\": [\n \"Student\",\n \"Teacher\",\n \"Parent\",\n \"Administrator\",\n \"Other\"\n ]\n },\n {\n \"code\": \"targetBoardIds\",\n \"visible\": true,\n \"depends\": [],\n \"editable\": true,\n \"dataType\": \"list\",\n \"sourceCategory\": \"board\",\n \"output\": \"identifier\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"description\": \"Board\",\n \"label\": \"Board/Syllabus of the audience\",\n \"required\": true,\n \"name\": \"Board/Syllabus\",\n \"inputType\": \"select\",\n \"placeholder\": \"Select Board/Syllabus\",\n \"validations\": []\n },\n {\n \"code\": \"targetMediumIds\",\n \"visible\": true,\n \"depends\": [\n \"targetBoardIds\"\n ],\n \"editable\": true,\n \"dataType\": \"list\",\n \"sourceCategory\": \"medium\",\n \"output\": \"identifier\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"description\": \"\",\n \"label\": \"Medium(s) of the audience\",\n \"required\": true,\n \"name\": \"Medium\",\n \"inputType\": \"nestedselect\",\n \"placeholder\": \"Select Medium\",\n \"validations\": []\n },\n {\n \"code\": \"targetGradeLevelIds\",\n \"visible\": true,\n \"depends\": [\n \"targetBoardIds\",\n \"targetMediumIds\"\n ],\n \"editable\": true,\n \"dataType\": \"list\",\n \"sourceCategory\": \"gradeLevel\",\n \"output\": \"identifier\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"description\": \"Class\",\n \"label\": \"Class(es) of the audience\",\n \"required\": true,\n \"name\": \"Class\",\n \"inputType\": \"nestedselect\",\n \"placeholder\": \"Select Class\",\n \"validations\": []\n },\n {\n \"code\": \"targetSubjectIds\",\n \"visible\": true,\n \"depends\": [\n \"targetBoardIds\",\n \"targetMediumIds\",\n \"targetGradeLevelIds\"\n ],\n \"editable\": true,\n \"dataType\": \"list\",\n \"sourceCategory\": \"subject\",\n \"output\": \"identifier\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"description\": \"\",\n \"label\": \"Subject(s) of the audience\",\n \"required\": true,\n \"name\": \"Subject\",\n \"inputType\": \"nestedselect\",\n \"placeholder\": \"Select Subject\",\n \"validations\": []\n }\n ]\n },\n {\n \"name\": \"Fourth Section\",\n \"fields\": [\n {\n \"code\": \"author\",\n \"dataType\": \"text\",\n \"description\": \"Author of the content\",\n \"editable\": true,\n \"inputType\": \"text\",\n \"label\": \"Author\",\n \"name\": \"Author\",\n \"placeholder\": \"Author\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"required\": false,\n \"visible\": true\n },\n {\n \"code\": \"attributions\",\n \"dataType\": \"text\",\n \"description\": \"Attributions\",\n \"editable\": true,\n \"inputType\": \"text\",\n \"label\": \"Attributions\",\n \"name\": \"Attributions\",\n \"placeholder\": \"Attributions\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"required\": false,\n \"visible\": true\n },\n {\n \"code\": \"copyright\",\n \"dataType\": \"text\",\n \"description\": \"Copyright\",\n \"editable\": true,\n \"inputType\": \"text\",\n \"label\": \"Copyright\",\n \"name\": \"Copyright & year\",\n \"placeholder\": \"Copyright\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1 required\"\n },\n \"required\": true,\n \"visible\": true,\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"Copyright is required\"\n }\n ]\n },\n {\n \"code\": \"copyrightYear\",\n \"dataType\": \"number\",\n \"description\": \"Year\",\n \"editable\": true,\n \"inputType\": \"text\",\n \"label\": \"Copyright Year\",\n \"name\": \"Copyright Year\",\n \"placeholder\": \"Copyright Year\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1 required\"\n },\n \"required\": true,\n \"visible\": true,\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"Copyright Year is required\"\n }\n ]\n },\n {\n \"code\": \"license\",\n \"dataType\": \"text\",\n \"description\": \"license\",\n \"editable\": true,\n \"inputType\": \"select\",\n \"label\": \"License\",\n \"name\": \"license\",\n \"placeholder\": \"Select License\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1 required\"\n },\n \"required\": true,\n \"visible\": true,\n \"defaultValue\": \"CC BY 4.0\",\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"License is required\"\n }\n ]\n }\n ]\n }\n ]\n },\n \"delete\": {},\n \"publish\": {},\n \"publishchecklist\": {\n \"templateName\": \"\",\n \"required\": [],\n \"properties\": [\n {\n \"name\": \"Appropriateness\",\n \"renderingHints\": {\n \"class\": \"d-grid-inline-3 display-sectionName\"\n },\n \"fields\": [\n {\n \"code\": \"appropriatenessOne\",\n \"name\": \"No Hate speech, Abuse, Violence, Profanity\",\n \"label\": \"No Hate speech, Abuse, Violence, Profanity\",\n \"dataType\": \"boolean\",\n \"inputType\": \"checkbox\",\n \"editable\": true,\n \"required\": false,\n \"visible\": true,\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"\"\n }\n ],\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n }\n },\n {\n \"code\": \"appropriatenessTwo\",\n \"name\": \"No Sexual content, Nudity or Vulgarity\",\n \"label\": \"No Sexual content, Nudity or Vulgarity\",\n \"dataType\": \"boolean\",\n \"inputType\": \"checkbox\",\n \"editable\": true,\n \"required\": false,\n \"visible\": true,\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"\"\n }\n ],\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n }\n },\n {\n \"code\": \"appropriatenessThree\",\n \"name\": \"No Discrimination or Defamation\",\n \"label\": \"No Discrimination or Defamation\",\n \"dataType\": \"boolean\",\n \"inputType\": \"checkbox\",\n \"editable\": true,\n \"required\": false,\n \"visible\": true,\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"\"\n }\n ],\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n }\n },\n {\n \"code\": \"appropriatenessFour\",\n \"name\": \"Is suitable for children\",\n \"label\": \"Is suitable for children\",\n \"dataType\": \"boolean\",\n \"inputType\": \"checkbox\",\n \"editable\": true,\n \"required\": false,\n \"visible\": true,\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"\"\n }\n ],\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n }\n }\n ]\n },\n {\n \"name\": \"Content details\",\n \"renderingHints\": {\n \"class\": \"d-grid-inline-3 display-sectionName\"\n },\n \"fields\": [\n {\n \"code\": \"contentdetailsOne\",\n \"name\": \"Appropriate Title, Description\",\n \"label\": \"Appropriate Title, Description\",\n \"dataType\": \"boolean\",\n \"inputType\": \"checkbox\",\n \"editable\": true,\n \"required\": false,\n \"visible\": true,\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"\"\n }\n ],\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n }\n },\n {\n \"code\": \"contentdetailsTwo\",\n \"name\": \"Correct Board, Grade, Subject, Medium\",\n \"label\": \"Correct Board, Grade, Subject, Medium\",\n \"dataType\": \"boolean\",\n \"inputType\": \"checkbox\",\n \"editable\": true,\n \"required\": false,\n \"visible\": true,\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"\"\n }\n ],\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n }\n },\n {\n \"code\": \"contentdetailsThree\",\n \"name\": \"Appropriate tags such as Resource Type, Concepts\",\n \"label\": \"Appropriate tags such as Resource Type, Concepts\",\n \"dataType\": \"boolean\",\n \"inputType\": \"checkbox\",\n \"editable\": true,\n \"required\": false,\n \"visible\": true,\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"\"\n }\n ],\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n }\n },\n {\n \"code\": \"contentdetailsFour\",\n \"name\": \"Relevant Keywords\",\n \"label\": \"Relevant Keywords\",\n \"dataType\": \"boolean\",\n \"inputType\": \"checkbox\",\n \"editable\": true,\n \"required\": false,\n \"visible\": true,\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"\"\n }\n ],\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n }\n }\n ]\n },\n {\n \"name\": \"Usability\",\n \"renderingHints\": {\n \"class\": \"d-grid-inline-3 display-sectionName\"\n },\n \"fields\": [\n {\n \"code\": \"usabilityOne\",\n \"name\": \"Content plays correctly\",\n \"label\": \"Content plays correctly\",\n \"dataType\": \"boolean\",\n \"inputType\": \"checkbox\",\n \"editable\": true,\n \"required\": false,\n \"visible\": true,\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"\"\n }\n ],\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n }\n },\n {\n \"code\": \"usabilityTwo\",\n \"name\": \"Can see the content clearly on Desktop and App\",\n \"label\": \"Can see the content clearly on Desktop and App\",\n \"dataType\": \"boolean\",\n \"inputType\": \"checkbox\",\n \"editable\": true,\n \"required\": false,\n \"visible\": true,\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"\"\n }\n ],\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n }\n },\n {\n \"code\": \"usabilityThree\",\n \"name\": \"Audio (if any) is clear and easy to understand\",\n \"label\": \"Audio (if any) is clear and easy to understand\",\n \"dataType\": \"boolean\",\n \"inputType\": \"checkbox\",\n \"editable\": true,\n \"required\": false,\n \"visible\": true,\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"\"\n }\n ],\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n }\n },\n {\n \"code\": \"usabilityFour\",\n \"name\": \"No Spelling mistakes in the text\",\n \"label\": \"No Spelling mistakes in the text\",\n \"dataType\": \"boolean\",\n \"inputType\": \"checkbox\",\n \"editable\": true,\n \"required\": false,\n \"visible\": true,\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"\"\n }\n ],\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n }\n },\n {\n \"code\": \"usabilityFive\",\n \"name\": \"Language is simple to understand\",\n \"label\": \"Language is simple to understand\",\n \"dataType\": \"boolean\",\n \"inputType\": \"checkbox\",\n \"editable\": true,\n \"required\": false,\n \"visible\": true,\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"\"\n }\n ],\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n }\n }\n ]\n }\n ]\n },\n \"requestforchangeschecklist\": {\n \"templateName\": \"\",\n \"required\": [],\n \"properties\": [\n {\n \"otherReason\": \"Other Issue(s) (if there are any other issues, tick this and provide details in the comments box)\",\n \"contents\": [\n {\n \"name\": \"Appropriateness\",\n \"checkList\": [\n \"Has Hate speech, Abuse, Violence, Profanity\",\n \"Has Sexual content, Nudity or Vulgarity\",\n \"Has Discriminatory or Defamatory content\",\n \"Is not suitable for children\"\n ]\n },\n {\n \"name\": \"Content details\",\n \"checkList\": [\n \"Inappropriate Title or Description\",\n \"Incorrect Board, Grade, Subject or Medium\",\n \"Inappropriate tags such as Resource Type or Concepts\",\n \"Irrelevant Keywords\"\n ]\n },\n {\n \"name\": \"Usability\",\n \"checkList\": [\n \"Content is NOT playing correctly\",\n \"CANNOT see the content clearly on Desktop and App\",\n \"Audio is NOT clear or NOT easy to understand\",\n \"Spelling mistakes found in text used\",\n \"Language is NOT simple to understand\"\n ]\n }\n ],\n \"title\": \"Please tick the reasons for requesting changes and provide detailed comments:\"\n }\n ]\n },\n \"review\": {},\n \"search\": {\n \"templateName\": \"\",\n \"required\": [],\n \"properties\": [\n {\n \"code\": \"primaryCategory\",\n \"dataType\": \"list\",\n \"description\": \"Type\",\n \"editable\": true,\n \"default\": [],\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"inputType\": \"nestedselect\",\n \"label\": \"Content Type(s)\",\n \"name\": \"Type\",\n \"placeholder\": \"Select ContentType\",\n \"required\": false,\n \"visible\": true\n },\n {\n \"code\": \"board\",\n \"visible\": true,\n \"depends\": [],\n \"editable\": true,\n \"dataType\": \"list\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"description\": \"Board\",\n \"label\": \"Board\",\n \"required\": false,\n \"name\": \"Board\",\n \"inputType\": \"select\",\n \"placeholder\": \"Select Board\",\n \"output\": \"name\"\n },\n {\n \"code\": \"medium\",\n \"visible\": true,\n \"depends\": [\n \"board\"\n ],\n \"editable\": true,\n \"dataType\": \"list\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"description\": \"\",\n \"label\": \"Medium(s)\",\n \"required\": false,\n \"name\": \"Medium\",\n \"inputType\": \"nestedselect\",\n \"placeholder\": \"Select Medium\",\n \"output\": \"name\"\n },\n {\n \"code\": \"gradeLevel\",\n \"visible\": true,\n \"depends\": [\n \"board\",\n \"medium\"\n ],\n \"editable\": true,\n \"default\": \"\",\n \"dataType\": \"list\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"description\": \"Class\",\n \"label\": \"Class(es)\",\n \"required\": false,\n \"name\": \"Class\",\n \"inputType\": \"nestedselect\",\n \"placeholder\": \"Select Class\",\n \"output\": \"name\"\n },\n {\n \"code\": \"subject\",\n \"visible\": true,\n \"depends\": [\n \"board\",\n \"medium\",\n \"gradeLevel\"\n ],\n \"editable\": true,\n \"default\": \"\",\n \"dataType\": \"list\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"description\": \"\",\n \"label\": \"Subject(s)\",\n \"required\": false,\n \"name\": \"Subject\",\n \"inputType\": \"nestedselect\",\n \"placeholder\": \"Select Subject\",\n \"output\": \"name\"\n },\n {\n \"code\": \"topic\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"list\",\n \"depends\": [\n \"board\",\n \"medium\",\n \"gradeLevel\",\n \"subject\"\n ],\n \"default\": \"\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"name\": \"Topic\",\n \"description\": \"Choose a Topics\",\n \"inputType\": \"topicselector\",\n \"label\": \"Topic(s)\",\n \"placeholder\": \"Choose Topics\",\n \"required\": false\n }\n ]\n },\n \"unitMetadata\": {\n \"templateName\": \"\",\n \"required\": [],\n \"properties\": [\n {\n \"name\": \"First Section\",\n \"fields\": [\n {\n \"code\": \"name\",\n \"dataType\": \"text\",\n \"description\": \"Name of the content\",\n \"editable\": true,\n \"inputType\": \"text\",\n \"label\": \"Title\",\n \"name\": \"Title\",\n \"placeholder\": \"Title\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1 required\"\n },\n \"required\": true,\n \"visible\": true,\n \"validations\": [\n {\n \"type\": \"max\",\n \"value\": \"120\",\n \"message\": \"Input is Exceeded\"\n },\n {\n \"type\": \"required\",\n \"message\": \"Title is required\"\n }\n ]\n },\n {\n \"code\": \"description\",\n \"dataType\": \"text\",\n \"description\": \"Description of the content\",\n \"editable\": true,\n \"inputType\": \"textarea\",\n \"label\": \"Description\",\n \"name\": \"Description\",\n \"placeholder\": \"Description\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1 required\"\n },\n \"required\": true,\n \"visible\": true,\n \"validations\": [\n {\n \"type\": \"max\",\n \"value\": \"120\",\n \"message\": \"Input is Exceeded\"\n },\n {\n \"type\": \"required\",\n \"message\": \"Title is required\"\n }\n ]\n },\n {\n \"code\": \"keywords\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"list\",\n \"name\": \"Keywords\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"description\": \"Keywords for the content\",\n \"inputType\": \"keywords\",\n \"label\": \"Keywords\",\n \"placeholder\": \"Input the keyword and PRESS enter\",\n \"required\": false,\n \"validations\": []\n },\n {\n \"code\": \"topic\",\n \"visible\": true,\n \"depends\": [],\n \"editable\": true,\n \"dataType\": \"list\",\n \"renderingHints\": {},\n \"name\": \"Topic\",\n \"description\": \"Choose a Topics\",\n \"index\": 11,\n \"inputType\": \"topicselector\",\n \"label\": \"Topics\",\n \"placeholder\": \"Choose Topics\",\n \"required\": false,\n \"validations\": []\n },\n {\n \"code\": \"dialcodeRequired\",\n \"dataType\": \"text\",\n \"description\": \"QR CODE REQUIRED\",\n \"editable\": true,\n \"default\": \"No\",\n \"index\": 5,\n \"inputType\": \"radio\",\n \"label\": \"QR code required\",\n \"name\": \"dialcodeRequired\",\n \"placeholder\": \"QR code required\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"range\": [\n \"Yes\",\n \"No\"\n ],\n \"required\": false,\n \"visible\": false\n },\n {\n \"code\": \"dialcodes\",\n \"depends\": [\n \"dialcodeRequired\"\n ],\n \"dataType\": \"list\",\n \"description\": \"Digital Infrastructure for Augmented Learning\",\n \"editable\": true,\n \"inputType\": \"dialcode\",\n \"label\": \"QR code\",\n \"name\": \"dialcode\",\n \"placeholder\": \"Enter code here\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"required\": true,\n \"visible\": false,\n \"validations\": [\n {\n \"type\": \"minLength\",\n \"value\": \"2\"\n },\n {\n \"type\": \"maxLength\",\n \"value\": \"20\"\n }\n ]\n }\n ]\n }\n ]\n },\n \"update\": {\n \"templateName\": \"\",\n \"required\": [],\n \"properties\": [\n {\n \"code\": \"name\",\n \"editable\": true,\n \"displayProperty\": \"Editable\",\n \"dataType\": \"text\",\n \"renderingHints\": {\n \"semanticColumnWidth\": \"twelve\"\n },\n \"description\": \"Name\",\n \"index\": 1,\n \"label\": \"Name\",\n \"required\": false,\n \"name\": \"Name\",\n \"inputType\": \"text\",\n \"placeholder\": \"Name\"\n },\n {\n \"code\": \"board\",\n \"depends\": [\n \"medium\",\n \"gradeLevel\",\n \"subject\"\n ],\n \"editable\": true,\n \"displayProperty\": \"Editable\",\n \"dataType\": \"text\",\n \"renderingHints\": {\n \"semanticColumnWidth\": \"six\"\n },\n \"description\": \"Education Board (Like MP Board, NCERT, etc)\",\n \"index\": 2,\n \"label\": \"Board\",\n \"required\": false,\n \"name\": \"Board\",\n \"inputType\": \"select\",\n \"placeholder\": \"Board\"\n },\n {\n \"code\": \"medium\",\n \"depends\": [\n \"gradeLevel\",\n \"subject\"\n ],\n \"editable\": true,\n \"dataType\": \"list\",\n \"renderingHints\": {\n \"semanticColumnWidth\": \"six\"\n },\n \"description\": \"Medium of instruction\",\n \"index\": 3,\n \"label\": \"Medium\",\n \"required\": false,\n \"name\": \"Medium\",\n \"inputType\": \"multiSelect\",\n \"placeholder\": \"Medium\"\n },\n {\n \"code\": \"gradeLevel\",\n \"depends\": [\n \"subject\"\n ],\n \"editable\": true,\n \"dataType\": \"list\",\n \"renderingHints\": {\n \"semanticColumnWidth\": \"six\"\n },\n \"description\": \"Grade\",\n \"index\": 4,\n \"label\": \"Grade\",\n \"required\": false,\n \"name\": \"Grade\",\n \"inputType\": \"multiSelect\",\n \"placeholder\": \"Grade\"\n },\n {\n \"code\": \"subject\",\n \"editable\": true,\n \"dataType\": \"list\",\n \"renderingHints\": {\n \"semanticColumnWidth\": \"six\"\n },\n \"name\": \"Subject\",\n \"description\": \"Subject of the Content to use to teach\",\n \"index\": 5,\n \"inputType\": \"multiSelect\",\n \"label\": \"Subject\",\n \"placeholder\": \"Grade\",\n \"required\": false\n },\n {\n \"code\": \"learningOutcome\",\n \"dataType\": \"list\",\n \"description\": \"\",\n \"editable\": true,\n \"index\": 6,\n \"inputType\": \"select\",\n \"label\": \"Learning Outcome :\",\n \"name\": \"Learning Outcome :\",\n \"placeholder\": \"Select Learning Outcome\",\n \"depends\": [\n \"topic\"\n ],\n \"renderingHints\": {},\n \"required\": false\n },\n {\n \"code\": \"attributions\",\n \"dataType\": \"list\",\n \"description\": \"Attributions\",\n \"editable\": true,\n \"index\": 7,\n \"inputType\": \"text\",\n \"label\": \"Attributions\",\n \"name\": \"attribution\",\n \"placeholder\": \"\",\n \"tooltip\": \"If you have relied on another work to create this content, provide the name of that creator and the source of that work.\",\n \"renderingHints\": {},\n \"required\": false\n },\n {\n \"code\": \"author\",\n \"dataType\": \"text\",\n \"description\": \"Author\",\n \"editable\": true,\n \"index\": 8,\n \"inputType\": \"text\",\n \"label\": \"Author\",\n \"name\": \"Author\",\n \"placeholder\": \"Author\",\n \"tooltip\": \"Provide name of creator of this content.\",\n \"renderingHints\": {},\n \"required\": false\n },\n {\n \"code\": \"copyright\",\n \"dataType\": \"text\",\n \"description\": \"Copyright\",\n \"editable\": true,\n \"index\": 9,\n \"inputType\": \"text\",\n \"label\": \"Copyright\",\n \"name\": \"Copyright\",\n \"placeholder\": \"Copyright\",\n \"tooltip\": \"If you are an individual, creating original content, you are the copyright holder. If you are creating this course content on behalf of an organisation, the organisation may be the copyright holder. \",\n \"renderingHints\": {},\n \"required\": false\n }\n ]\n }\n }\n }\n }\n}", + "options": { + "raw": { + "language": "json" } - ] + } }, "url": { - "raw": "{{host}}/auth/v1/refresh/token", + "raw": "{{host}}/api/object/category/definition/v1/update/obj-cat:course_collection_all", "host": [ "{{host}}" ], "path": [ - "auth", + "api", + "object", + "category", + "definition", "v1", - "refresh", - "token" + "update", + "obj-cat:course_collection_all" ] } }, "response": [] }, { - "name": "Create certificate template", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Your do id\", function () {", - " var jsonData = pm.response.json();", - " var cert_content_id = jsonData.result.identifier;", - " console.log(jsonData);", - " if(cert_content_id) {", - " pm.environment.set(\"cert_content_id\", cert_content_id);", - " }", - "});" - ], - "type": "text/javascript", - "packages": {} - } - } - ], + "name": "8 - Update form", "request": { "method": "POST", "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "X-Channel-Id", - "value": "{{channel_id}}" - }, { "key": "Authorization", - "value": "Bearer {{apikey}}" + "value": "Bearer {{apikey}}", + "type": "text" }, { - "key": "x-authenticated-user-token", - "value": "{{creator_access_token}}" + "key": "Content-Type", + "value": "application/json", + "type": "text" } ], "body": { "mode": "raw", - "raw": "{\n \"request\": {\n \"asset\": {\n \"certType\": \"cert template layout\",\n \"code\": \"1 logo 1 signature\",\n \"data\": {\n \"title\": \"1 logo 1 signature\"\n },\n \"channel\": \"{{channel_id}}\",\n \"mimeType\": \"image/svg+xml\",\n \"issuer\": {\n \"name\": \"cbse\",\n \"url\": \"https://diksha.gov.in/cbse/\"\n },\n \"primaryCategory\": \"Certificate Template\",\n \"mediaType\": \"image\",\n \"signatoryList\": [\n {\n \"image\": \"https://diksha.gov.in/cbse/cbse-logo.png\",\n \"name\": \"CBSE\",\n \"id\": \"cbse\",\n \"designation\": \"XBSE\"\n }\n ],\n \"license\": \"CC BY 4.0\",\n \"name\": \"1 logo 1 signature\"\n }\n }\n}" + "raw": "{\n \"request\": {\n \"action\": \"create\",\n \"subType\": \"resource\",\n \"framework\": \"*\",\n \"rootOrgId\": \"*\",\n \"type\": \"content\",\n \"data\": {\n \"templateName\": \"defaultTemplate\",\n \"action\": \"get\",\n \"fields\": [\n {\n \"code\": \"appicon\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"url\",\n \"renderingHints\": {},\n \"name\": \"App Icon\",\n \"description\": \"App Icon\",\n \"index\": 1,\n \"inputType\": \"file\",\n \"label\": \"Icon\",\n \"placeholder\": \"App Icon\",\n \"required\": false\n },\n {\n \"code\": \"name\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"text\",\n \"renderingHints\": {},\n \"name\": \"Title\",\n \"description\": \"Title of the content\",\n \"index\": 2,\n \"inputType\": \"text\",\n \"label\": \"Title\",\n \"placeholder\": \"Enter Title For Book\",\n \"required\": false\n },\n {\n \"code\": \"description\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"text\",\n \"renderingHints\": {},\n \"name\": \"Description\",\n \"description\": \"Brief description\",\n \"index\": 3,\n \"inputType\": \"textarea\",\n \"label\": \"Description\",\n \"placeholder\": \"Brief description about the Book\",\n \"required\": false\n },\n {\n \"code\": \"board\",\n \"visible\": true,\n \"depends\": [\n \"medium\",\n \"gradeLevel\",\n \"subject\",\n \"topic\"\n ],\n \"editable\": true,\n \"dataType\": \"text\",\n \"renderingHints\": {},\n \"description\": \"Board\",\n \"index\": 5,\n \"label\": \"Board/Syllabus\",\n \"required\": false,\n \"name\": \"Board/Syllabus\",\n \"inputType\": \"select\",\n \"placeholder\": \"Select Board/Syllabus\"\n },\n {\n \"code\": \"medium\",\n \"visible\": true,\n \"depends\": [\n \"gradeLevel\",\n \"subject\",\n \"topic\"\n ],\n \"editable\": true,\n \"dataType\": \"list\",\n \"renderingHints\": {},\n \"description\": \"\",\n \"index\": 6,\n \"label\": \"Medium\",\n \"required\": false,\n \"name\": \"medium\",\n \"inputType\": \"multiselect\",\n \"placeholder\": \"Select Medium\"\n },\n {\n \"code\": \"gradeLevel\",\n \"visible\": true,\n \"depends\": [\n \"subject\",\n \"topic\"\n ],\n \"editable\": true,\n \"dataType\": \"list\",\n \"renderingHints\": {},\n \"description\": \"Class\",\n \"index\": 7,\n \"label\": \"Class\",\n \"required\": false,\n \"name\": \"Class\",\n \"inputType\": \"multiselect\",\n \"placeholder\": \"Select Class\"\n },\n {\n \"code\": \"subject\",\n \"visible\": true,\n \"depends\": [\n \"topic\"\n ],\n \"editable\": true,\n \"dataType\": \"list\",\n \"renderingHints\": {},\n \"description\": \"\",\n \"index\": 8,\n \"label\": \"Subject\",\n \"required\": false,\n \"name\": \"Subject\",\n \"inputType\": \"multiselect\",\n \"placeholder\": \"Select Subject\"\n }\n ]\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } }, "url": { - "raw": "{{host}}/api/asset/v1/create", + "raw": "{{host}}/api/data/v1/form/update", "host": [ "{{host}}" ], "path": [ "api", - "asset", + "data", "v1", - "create" + "form", + "update" ] } }, "response": [] }, { - "name": "Upload Certificate Template", + "name": "9 - Collection Create", "request": { "method": "POST", "header": [ { - "key": "Accept", + "key": "Content-Type", "value": "application/json" }, { "key": "Authorization", "value": "Bearer {{apikey}}" - }, - { - "key": "x-authenticated-user-token", - "value": "{{creator_access_token}}" - }, - { - "key": "X-Channel-Id", - "value": "{{channel_id}}", - "type": "text" } ], "body": { - "mode": "formdata", - "formdata": [ - { - "key": "fileUrl", - "value": "https://downloadableartifacts.blob.core.windows.net/release600/certificate_template.svg", - "type": "text" - } - ] + "mode": "raw", + "raw": "{\r\n \"request\": {\r\n \"type\": \"content\",\r\n \"action\": \"create\",\r\n \"subType\": \"collection\",\r\n \"framework\": \"*\",\r\n \"rootOrgId\": \"*\",\r\n \"data\": {\r\n \"templateName\": \"defaultTemplate\",\r\n \"action\": \"create\",\r\n \"fields\": [\r\n {\r\n \"code\": \"name\",\r\n \"dataType\": \"text\",\r\n \"name\": \"Name\",\r\n \"label\": \"Name\",\r\n \"description\": \"Name\",\r\n \"editable\": true,\r\n \"placeholder\": \"Name\",\r\n \"inputType\": \"text\",\r\n \"required\": false,\r\n \"displayProperty\": \"Editable\",\r\n \"visible\": true,\r\n \"renderingHints\": {\r\n \"semanticColumnWidth\": \"twelve\"\r\n },\r\n \"index\": 1\r\n },\r\n {\r\n \"code\": \"description\",\r\n \"dataType\": \"text\",\r\n \"name\": \"Description\",\r\n \"label\": \"Description\",\r\n \"description\": \"description\",\r\n \"placeholder\": \"Description\",\r\n \"editable\": true,\r\n \"inputType\": \"text\",\r\n \"required\": false,\r\n \"displayProperty\": \"Editable\",\r\n \"visible\": true,\r\n \"renderingHints\": {\r\n \"semanticColumnWidth\": \"twelve\"\r\n },\r\n \"index\": 2\r\n },\r\n {\r\n \"code\": \"primaryCategory\",\r\n \"dataType\": \"text\",\r\n \"name\": \"Collection Type\",\r\n \"label\": \"Collection Type\",\r\n \"description\": \"Collection Type\",\r\n \"placeholder\": \"Select one\",\r\n \"editable\": true,\r\n \"inputType\": \"select\",\r\n \"required\": true,\r\n \"displayProperty\": \"Editable\",\r\n \"visible\": true,\r\n \"renderingHints\": {\r\n \"semanticColumnWidth\": \"twelve\"\r\n },\r\n \"index\": 3\r\n }\r\n ]\r\n }\r\n }\r\n}" }, "url": { - "raw": "{{host}}/api/asset/v1/upload/{{cert_content_id}}", + "raw": "{{host}}/api/data/v1/form/create", "host": [ "{{host}}" ], "path": [ "api", - "asset", + "data", "v1", - "upload", - "{{cert_content_id}}" + "form", + "create" ] - } + }, + "description": "{\"request\":{\"type\":\"content\",\"action\":\"save\",\"subType\":\"resource\"}}" }, "response": [] - } - ] - } - ], - "description": "### \nNeo4J Cypher Queries:\n\nRemove the duplicate nodes if exist while any issues if you noticed as part of configurations \n\n**Identify the duplicate nodes:**\n\nUse the below cypher query directly on Neo4J DB\n\n``` powershell\nmatch (n:domain{IL_UNIQUE_ID:\"ncf_board\"}) RETURN n;pppp\n```\n\n**Remove the duplicate nodes:**\n\n``` powershell\nMATCH (n:domain{IL_UNIQUE_ID:\"sunbird_k-12\"}) DETACH DELETE n;\n```" - }, - { - "name": "3 - Forms", - "item": [ - { - "name": "Content", - "item": [ + }, { - "name": "1 - Content Save", + "name": "10 - Workspace options", "request": { "method": "POST", + "url": "{{host}}/api/data/v1/form/create", "header": [ { - "key": "Content-Type", - "value": "application/json" + "key": "Authorization", + "value": "Bearer {{apikey}}", + "description": "" }, { - "key": "Authorization", - "value": "Bearer {{apikey}}" + "key": "Content-Type", + "value": "application/json", + "description": "" } ], "body": { "mode": "raw", - "raw": "{\r\n \"request\": {\r\n \"action\": \"save\",\r\n \"subType\": \"resource\",\r\n \"framework\": \"*\",\r\n \"rootOrgId\": \"*\",\r\n \"type\": \"content\",\r\n \"popup\": true,\r\n \"editMode\": true,\r\n \"data\": {\r\n \"templateName\": \"defaultTemplate\",\r\n \"action\": \"save\",\r\n \"fields\": [\r\n {\r\n \"code\": \"appicon\",\r\n \"visible\": true,\r\n \"editable\": true,\r\n \"dataType\": \"url\",\r\n \"renderingHints\": {},\r\n \"name\": \"App Icon\",\r\n \"description\": \"App Icon\",\r\n \"index\": 1,\r\n \"inputType\": \"file\",\r\n \"label\": \"Icon\",\r\n \"placeholder\": \"App Icon\",\r\n \"required\": false\r\n },\r\n {\r\n \"code\": \"name\",\r\n \"visible\": true,\r\n \"editable\": true,\r\n \"dataType\": \"text\",\r\n \"renderingHints\": {},\r\n \"name\": \"Title\",\r\n \"description\": \"Title of the content\",\r\n \"index\": 2,\r\n \"inputType\": \"text\",\r\n \"label\": \"Title\",\r\n \"placeholder\": \"Enter Title For Book\",\r\n \"required\": true\r\n },\r\n {\r\n \"code\": \"description\",\r\n \"visible\": true,\r\n \"editable\": true,\r\n \"dataType\": \"text\",\r\n \"renderingHints\": {},\r\n \"name\": \"Description\",\r\n \"description\": \"Brief description\",\r\n \"index\": 3,\r\n \"inputType\": \"textarea\",\r\n \"label\": \"Description\",\r\n \"placeholder\": \"Brief description about the Book\",\r\n \"required\": false\r\n },\r\n {\r\n \"code\": \"board\",\r\n \"visible\": true,\r\n \"depends\": [\r\n \"medium\",\r\n \"gradeLevel\",\r\n \"subject\",\r\n \"topic\"\r\n ],\r\n \"editable\": true,\r\n \"dataType\": \"text\",\r\n \"renderingHints\": {},\r\n \"description\": \"Board\",\r\n \"index\": 5,\r\n \"label\": \"Board/Syllabus\",\r\n \"required\": false,\r\n \"name\": \"Board/Syllabus\",\r\n \"inputType\": \"select\",\r\n \"placeholder\": \"Select Board/Syllabus\"\r\n },\r\n {\r\n \"code\": \"medium\",\r\n \"visible\": true,\r\n \"depends\": [\r\n \"gradeLevel\",\r\n \"subject\",\r\n \"topic\"\r\n ],\r\n \"editable\": true,\r\n \"dataType\": \"list\",\r\n \"renderingHints\": {},\r\n \"description\": \"\",\r\n \"index\": 6,\r\n \"label\": \"Medium\",\r\n \"required\": false,\r\n \"name\": \"medium\",\r\n \"inputType\": \"multiselect\",\r\n \"placeholder\": \"Select Medium\"\r\n },\r\n {\r\n \"code\": \"gradeLevel\",\r\n \"visible\": true,\r\n \"depends\": [\r\n \"subject\",\r\n \"topic\"\r\n ],\r\n \"editable\": true,\r\n \"dataType\": \"list\",\r\n \"renderingHints\": {},\r\n \"description\": \"Class\",\r\n \"index\": 7,\r\n \"label\": \"Class\",\r\n \"required\": false,\r\n \"name\": \"Class\",\r\n \"inputType\": \"multiselect\",\r\n \"placeholder\": \"Select Class\"\r\n },\r\n {\r\n \"code\": \"subject\",\r\n \"visible\": true,\r\n \"depends\": [\r\n \"topic\"\r\n ],\r\n \"editable\": true,\r\n \"dataType\": \"list\",\r\n \"renderingHints\": {},\r\n \"description\": \"\",\r\n \"index\": 8,\r\n \"label\": \"Subject\",\r\n \"required\": false,\r\n \"name\": \"Subject\",\r\n \"inputType\": \"multiselect\",\r\n \"placeholder\": \"Select Subject\"\r\n }\r\n ]\r\n }\r\n }\r\n}" + "raw": "{\n \"request\": {\n \"type\": \"workspace\",\n \"subType\": \"categories\",\n \"action\": \"get\",\n \"component\": \"*\",\n \"framework\": \"*\",\n \"data\": {\n \"templateName\": \"defaultTemplate\",\n \"action\": \"display\",\n \"fields\": [\n {\n \"code\": \"book\",\n \"name\": \"Book\",\n \"visible\": true\n },\n {\n \"code\": \"course\",\n \"name\": \"Course\",\n \"visible\": true\n },\n {\n \"code\": \"resource\",\n \"name\": \"Resource\",\n \"visible\": true\n },\n {\n \"code\": \"collection\",\n \"name\": \"Collection\",\n \"visible\": true\n },\n {\n \"code\": \"lessonPlan\",\n \"name\": \"Lesson Plan\",\n \"visible\": true\n },\n {\n \"code\": \"contentupload\",\n \"name\": \"Upload Content\",\n \"visible\": true\n },\n {\n \"code\": \"contentuploadlarge\",\n \"name\": \"Upload Large Videos(>50MB)\",\n \"visible\": true\n },\n {\n \"code\": \"assessment\",\n \"name\": \"Cource Assesment\",\n \"visible\": true\n },\n {\n \"code\": \"questionsets\",\n \"name\": \"Questionsets\",\n \"visible\": true\n }\n ]\n },\n \"rootOrgId\": \"*\"\n }\n}" }, "url": { "raw": "{{host}}/api/data/v1/form/create", @@ -5128,15 +8023,24 @@ "create" ] }, - "description": "{\"request\":{\"type\":\"content\",\"action\":\"save\",\"subType\":\"resource\"}}" + "description": "Generated from Node.js script" }, "response": [] - }, + } + ] + }, + { + "name": "4 - ED", + "item": [ { - "name": "2 - Content Review", + "name": "1 - Menubar form - Creation for all rootOrg", "request": { "method": "POST", "header": [ + { + "key": "Accept", + "value": "application/json" + }, { "key": "Content-Type", "value": "application/json" @@ -5148,7 +8052,7 @@ ], "body": { "mode": "raw", - "raw": "{\r\n \"request\": {\r\n \"action\": \"review\",\r\n \"subType\": \"resource\",\r\n \"framework\": \"*\",\r\n \"rootOrgId\": \"*\",\r\n \"type\": \"content\",\r\n \"popup\": true,\r\n \"editMode\": true,\r\n \"data\": {\r\n \"templateName\": \"defaultTemplate\",\r\n \"action\": \"review\",\r\n \"fields\": [\r\n {\r\n \"code\": \"appicon\",\r\n \"visible\": true,\r\n \"editable\": true,\r\n \"dataType\": \"url\",\r\n \"renderingHints\": {},\r\n \"name\": \"App Icon\",\r\n \"description\": \"App Icon\",\r\n \"index\": 1,\r\n \"inputType\": \"file\",\r\n \"label\": \"Icon\",\r\n \"placeholder\": \"App Icon\",\r\n \"required\": false\r\n },\r\n {\r\n \"code\": \"name\",\r\n \"visible\": true,\r\n \"editable\": true,\r\n \"dataType\": \"text\",\r\n \"renderingHints\": {},\r\n \"name\": \"Title\",\r\n \"description\": \"Title of the content\",\r\n \"index\": 2,\r\n \"inputType\": \"text\",\r\n \"label\": \"Title\",\r\n \"placeholder\": \"Enter Title For Book\",\r\n \"required\": true\r\n },\r\n {\r\n \"code\": \"description\",\r\n \"visible\": true,\r\n \"editable\": true,\r\n \"dataType\": \"text\",\r\n \"renderingHints\": {},\r\n \"name\": \"Description\",\r\n \"description\": \"Brief description\",\r\n \"index\": 3,\r\n \"inputType\": \"textarea\",\r\n \"label\": \"Description\",\r\n \"placeholder\": \"Brief description about the Book\",\r\n \"required\": false\r\n },\r\n {\r\n \"code\": \"board\",\r\n \"visible\": true,\r\n \"depends\": [\r\n \"medium\",\r\n \"gradeLevel\",\r\n \"subject\",\r\n \"topic\"\r\n ],\r\n \"editable\": true,\r\n \"dataType\": \"text\",\r\n \"renderingHints\": {},\r\n \"description\": \"Board\",\r\n \"index\": 5,\r\n \"label\": \"Board/Syllabus\",\r\n \"required\": false,\r\n \"name\": \"Board/Syllabus\",\r\n \"inputType\": \"select\",\r\n \"placeholder\": \"Select Board/Syllabus\"\r\n },\r\n {\r\n \"code\": \"medium\",\r\n \"visible\": true,\r\n \"depends\": [\r\n \"gradeLevel\",\r\n \"subject\",\r\n \"topic\"\r\n ],\r\n \"editable\": true,\r\n \"dataType\": \"list\",\r\n \"renderingHints\": {},\r\n \"description\": \"\",\r\n \"index\": 6,\r\n \"label\": \"Medium\",\r\n \"required\": false,\r\n \"name\": \"medium\",\r\n \"inputType\": \"multiselect\",\r\n \"placeholder\": \"Select Medium\"\r\n },\r\n {\r\n \"code\": \"gradeLevel\",\r\n \"visible\": true,\r\n \"depends\": [\r\n \"subject\",\r\n \"topic\"\r\n ],\r\n \"editable\": true,\r\n \"dataType\": \"list\",\r\n \"renderingHints\": {},\r\n \"description\": \"Class\",\r\n \"index\": 7,\r\n \"label\": \"Class\",\r\n \"required\": false,\r\n \"name\": \"Class\",\r\n \"inputType\": \"multiselect\",\r\n \"placeholder\": \"Select Class\"\r\n },\r\n {\r\n \"code\": \"subject\",\r\n \"visible\": true,\r\n \"depends\": [\r\n \"topic\"\r\n ],\r\n \"editable\": true,\r\n \"dataType\": \"list\",\r\n \"renderingHints\": {},\r\n \"description\": \"\",\r\n \"index\": 8,\r\n \"label\": \"Subject\",\r\n \"required\": false,\r\n \"name\": \"Subject\",\r\n \"inputType\": \"multiselect\",\r\n \"placeholder\": \"Select Subject\"\r\n }\r\n ]\r\n }\r\n }\r\n}" + "raw": "{\n \"request\": {\n \"type\": \"contentcategory\",\n \"action\": \"menubar\",\n \"subType\": \"global\",\n \"rootOrgId\": \"*\",\n \"framework\": \"*\",\n \"component\": \"*\",\n \"data\":{\n \"templateName\": \"menuConfig\",\n \"action\": \"list\",\n \"fields\": [\n\n {\n \"index\": 1,\n \"title\": \"frmelmnts.tab.all\",\n \"desc\": \"frmelmnts.tab.all\",\n \"menuType\": \"Content\",\n \"contentType\": \"all\",\n \"isEnabled\": true,\n \"isOnlineOnly\": true,\n \"isLoginMandatory\": false,\n \"theme\": {\n \"baseColor\": \"\",\n \"textColor\": \"\",\n \"supportingColor\": \"\",\n \"className\": \"all\",\n \"imageName\": \"all-banner-img.svg\"\n },\n \"anonumousUserRoute\": {\n \"route\": \"/explore/1\",\n \"queryParam\": \"all\"\n },\n \"loggedInUserRoute\": {\n \"route\": \"/search/Library/1\",\n \"queryParam\": \"all\"\n },\n \"metaData\": {\n \"cacheTimeout\": 3600000,\n \"globalFilterConfig\": [\n {\n \"index\": 1,\n \"code\": \"board\",\n \"alternativeCode\": \"se_boards\",\n \"label\": \"board\",\n \"placeHolder\": \"selectBoard\",\n \"type\": \"framework\"\n },\n {\n \"index\": 2,\n \"code\": \"medium\",\n \"alternativeCode\": \"se_mediums\",\n \"label\": \"medium\",\n \"placeHolder\": \"selectMedium\",\n \"type\": \"framework\"\n },\n {\n \"index\": 3,\n \"code\": \"gradeLevel\",\n \"alternativeCode\": \"se_gradeLevels\",\n \"label\": \"grade\",\n \"placeHolder\": \"selectClass\",\n \"type\": \"framework\"\n },\n {\n \"index\": 4,\n \"code\": \"subject\",\n \"alternativeCode\": \"se_subjects\",\n \"label\": \"subject\",\n \"placeHolder\": \"selectSubject\",\n \"type\": \"framework\"\n },\n {\n \"index\": 5,\n \"code\": \"primaryCategory\",\n \"alternativeCode\": \"\",\n \"label\": \"contentType\",\n \"placeHolder\": \"selectContentType\",\n \"type\": \"filter\"\n },\n {\n \"index\": 6,\n \"code\": \"additionalCategories\",\n \"alternativeCode\": \"\",\n \"label\": \"additionalCategories\",\n \"placeHolder\": \"selectAdditionalCategories\",\n \"type\": \"filter\"\n }\n ]\n },\n \"search\": {\n \"facets\": [\n \"se_boards\",\n \"se_gradeLevels\",\n \"se_subjects\",\n \"se_mediums\",\n \"primaryCategory\"\n ],\n \"fields\": [\n \"name\",\n \"appIcon\",\n \"mimeType\",\n \"gradeLevel\",\n \"identifier\",\n \"medium\",\n \"pkgVersion\",\n \"board\",\n \"subject\",\n \"resourceType\",\n \"primaryCategory\",\n \"contentType\",\n \"channel\",\n \"organisation\",\n \"trackable\"\n ],\n \"filters\": {\n \"primaryCategory\": [\n \"Collection\",\n \"Resource\",\n \"Content Playlist\",\n \"Course\",\n \"Course Assessment\",\n \"Digital Textbook\",\n \"eTextbook\",\n \"Explanation Content\",\n \"Learning Resource\",\n \"Lesson Plan Unit\",\n \"Practice Question Set\",\n \"Teacher Resource\",\n \"Textbook Unit\",\n \"LessonPlan\",\n \"FocusSpot\",\n \"Learning Outcome Definition\",\n \"Curiosity Questions\",\n \"MarkingSchemeRubric\",\n \"ExplanationResource\",\n \"ExperientialResource\",\n \"Practice Resource\",\n \"TVLesson\",\n \"Course Unit\"\n ],\n \"visibility\": [\n \"Default\",\n \"Parent\"\n ]\n }\n }\n },\n \n {\n \"index\": 0,\n \"title\": \"frmelmnts.lbl.home\",\n \"desc\": \"frmelmnts.lbl.home\",\n \"menuType\": \"Content\",\n \"contentType\": \"home\",\n \"isEnabled\": true,\n \"default\": true,\n \"isOnlineOnly\": true,\n \"theme\": {\n \"baseColor\": \"\",\n \"textColor\": \"\",\n \"supportingColor\": \"\",\n \"className\": \"home\",\n \"imageName\": \"courses-banner-img.svg\"\n },\n \"anonumousUserRoute\": {\n \"route\": \"/explore\",\n \"queryParam\": \"home\"\n },\n \"loggedInUserRoute\": {\n \"route\": \"/resources\",\n \"queryParam\": \"home\"\n },\n \"metaData\": {\n \"filters\": [\n \"board\",\n \"gradeLevel\",\n \"subject\",\n \"medium\",\n \"publisher\",\n \"audience\",\n \"channel\"\n ],\n \"groupByKey\": \"subject\",\n \"defaultFilters\": {\n \"board\": [\n \"CBSE\"\n ],\n \"gradeLevel\": [\n \"Class 10\"\n ],\n \"medium\": []\n }\n },\n \"search\": {\n \"facets\": [\n \"subject\",\n \"primaryCategory\",\n \"medium\",\n \"banner\",\n \"additionalCategories\",\n \"search\",\n \"ContinueLearning\"\n ],\n \"fields\": [\n \"name\",\n \"appIcon\",\n \"medium\",\n \"subject\",\n \"resourceType\",\n \"contentType\",\n \"organisation\",\n \"topic\",\n \"mimeType\",\n \"trackable\",\n \"gradeLevel\",\n \"se_boards\",\n \"se_subjects\",\n \"se_mediums\",\n \"se_gradeLevels\"\n ],\n \"filters\": {\n \"channel\": [],\n \"subject\": [],\n \"audience\": [],\n \"primaryCategory\": [\n \"Digital Textbook\",\n \"eTextbook\",\n \"Course\"\n ],\n \"board\": [],\n \"medium\": [],\n \"gradeLevel\": []\n }\n },\n \"filter\": {\n \"isEnabled\": false,\n \"type\": \"facet\"\n },\n \"sections\": [\n {\n \"index\": 4,\n \"title\": \"frmelmnts.lbl.recentlyPublishedCourses\",\n \"desc\": \"Section for Searched contents\",\n \"facetKey\": \"search\",\n \"isEnabled\": true,\n \"apiConfig\": {\n \"url\": \"\",\n \"method\": \"\",\n \"req\": {\n \"request\": {\n \"filters\": {\n \"contentType\": [\n \"Course\"\n ],\n \"primaryCategory\": [\n \"Course\"\n ],\n \"batches.enrollmentType\": \"open\",\n \"batches.status\": [\n 1\n ],\n \"status\": [\n \"Live\"\n ],\n \"se_boards\": [\n \"State (Tamil Nadu)\"\n ],\n \"se_mediums\": [\n \"English\",\n \"Tamil\"\n ],\n \"se_gradeLevels\": [\n \"Class 1\",\n \"Class 2\",\n \"Class 5\"\n ]\n },\n \"limit\": 100,\n \"fields\": [\n \"name\",\n \"appIcon\",\n \"mimeType\",\n \"gradeLevel\",\n \"identifier\",\n \"medium\",\n \"pkgVersion\",\n \"board\",\n \"subject\",\n \"resourceType\",\n \"contentType\",\n \"channel\",\n \"organisation\",\n \"trackable\",\n \"se_boards\",\n \"se_subjects\",\n \"se_mediums\",\n \"se_gradeLevels\",\n \"lastPublishedOn\"\n ],\n \"facets\": [\n \"se_subjects\"\n ],\n \"sort_by\": {\n \"lastPublishedOn\": \"desc\"\n }\n }\n },\n \"params\": \"\",\n \"contextKey\": \"res.facet.search\",\n \"sortBy\": \"lastPublishedOn\"\n }\n },\n {\n \"index\": 0,\n \"title\": \"Continue Learning\",\n \"desc\": \"Continue Learning\",\n \"facetKey\": \"ContinueLearning\",\n \"isEnabled\": true\n },\n {\n \"index\": 5,\n \"title\": \"frmelmnts.lbl.fromncert\",\n \"defaultTitle\": \"From NCERT\",\n \"desc\": \"Section for Searched contents\",\n \"facetKey\": \"search\",\n \"isEnabled\": true,\n \"apiConfig\": {\n \"url\": \"\",\n \"method\": \"\",\n \"req\": {\n \"request\": {\n \"filters\": {\n \"primaryCategory\": [\n \"Course\",\n \"Digital Textbook\"\n ],\n \"status\": [\n \"Live\"\n ],\n \"channel\": \"01329314824202649627\"\n },\n \"limit\": 100,\n \"fields\": [\n \"name\",\n \"appIcon\",\n \"mimeType\",\n \"gradeLevel\",\n \"identifier\",\n \"medium\",\n \"pkgVersion\",\n \"board\",\n \"subject\",\n \"resourceType\",\n \"contentType\",\n \"channel\",\n \"organisation\",\n \"trackable\",\n \"se_boards\",\n \"se_subjects\",\n \"se_mediums\",\n \"se_gradeLevels\",\n \"lastPublishedOn\"\n ],\n \"facets\": [\n \"se_subjects\"\n ],\n \"sort_by\": {\n \"lastPublishedOn\": \"desc\"\n }\n }\n },\n \"params\": \"\",\n \"contextKey\": \"res.facet.search\",\n \"sortBy\": \"lastPublishedOn\"\n }\n },\n {\n \"index\": 3,\n \"title\": \"frmelmnts.lbl.search\",\n \"desc\": \"Section for Searched contents\",\n \"facetKey\": \"search\",\n \"isEnabled\": true,\n \"apiConfig\": {\n \"url\": \"\",\n \"method\": \"\",\n \"req\": {\n \"request\": {\n \"filters\": {\n \"channel\": [],\n \"subject\": [],\n \"audience\": [],\n \"primaryCategory\": [\n \"Digital Textbook\"\n ],\n \"se_boards\": [\n \"State (Tamil Nadu)\"\n ],\n \"se_mediums\": [\n \"English\"\n ],\n \"se_gradeLevels\": [\n \"Class 4\"\n ]\n },\n \"limit\": 100,\n \"fields\": [\n \"name\",\n \"appIcon\",\n \"mimeType\",\n \"gradeLevel\",\n \"identifier\",\n \"medium\",\n \"pkgVersion\",\n \"board\",\n \"subject\",\n \"resourceType\",\n \"primaryCategory\",\n \"contentType\",\n \"channel\",\n \"organisation\",\n \"trackable\",\n \"se_boards\",\n \"se_subjects\",\n \"se_mediums\",\n \"se_gradeLevels\"\n ],\n \"facets\": [\n \"se_subjects\"\n ]\n }\n },\n \"params\": \"\",\n \"contextKey\": \"res.facet.search\"\n }\n },\n {\n \"index\": 1,\n \"title\": \"frmelmnts.lbl.subjects\",\n \"desc\": \"Section for subjects\",\n \"facetKey\": \"subject\",\n \"isEnabled\": true,\n \"apiConfig\": {\n \"url\": \"\",\n \"method\": \"\",\n \"req\": {},\n \"params\": \"\",\n \"contextKey\": \"res.facet.subject\"\n },\n \"theme\": {\n \"component\": \"sb-pills-grid\",\n \"limit\": 10,\n \"infiniteCard\": false,\n \"colorMapping\": [\n {\n \"primary\": \"rgba(255,139,46,1)\",\n \"secondary\": \"rgba(255,139,46,0.3)\"\n },\n {\n \"primary\": \"rgba(163,99,255,1)\",\n \"secondary\": \"rgba(163,99,255,0.3)\"\n },\n {\n \"primary\": \"rgba(34,139,255,1)\",\n \"secondary\": \"rgba(34,139,255,0.3)\"\n },\n {\n \"primary\": \"rgba(95,192,32,1)\",\n \"secondary\": \"rgba(95,192,32,0.3)\"\n },\n {\n \"primary\": \"rgba(255,128,47,1)\",\n \"secondary\": \"rgba(255,128,47,0.3)\"\n },\n {\n \"primary\": \"rgba(251,70,70,1)\",\n \"secondary\": \"rgba(251,70,70,0.3)\"\n },\n {\n \"primary\": \"rgba(83,109,252,1)\",\n \"secondary\": \"rgba(83,109,252,0.3)\"\n },\n {\n \"primary\": \"rgba(15,186,208,1)\",\n \"secondary\": \"rgba(15,186,208,0.3)\"\n }\n ],\n \"icons\": {\n \"english\": \"assets/images/book_english.svg\",\n \"mathematics\": \"assets/images/calculator.svg\",\n \"science\": \"assets/images/globe.svg\",\n \"default\": \"assets/images/book_default.svg\"\n }\n },\n \"landing\": {\n \"title\": \"frmelmnts.lbl.exploretitle\",\n \"description\": \"frmelmnts.lbl.exploredescription\"\n },\n \"anonumousUserRoute\": {\n \"route\": \"/explore-course\",\n \"queryParam\": \"course\"\n },\n \"loggedInUserRoute\": {\n \"route\": \"/learn\",\n \"queryParam\": \"course\"\n }\n },\n {\n \"index\": 6,\n \"title\": \"frmelmnts.lbl.dscfrmctgries\",\n \"desc\": \"Section for category\",\n \"facetKey\": \"primaryCategory\",\n \"isEnabled\": true,\n \"apiConfig\": {\n \"url\": \"\",\n \"method\": \"\",\n \"req\": {},\n \"params\": \"\",\n \"contextKey\": \"res.facet.primaryCategory\"\n },\n \"filter\": {\n \"primaryCategory\": [\n \"course\",\n \"digital textbook\",\n \"etextbook\"\n ],\n \"additionalCategories\": [\n \"tv lesson\"\n ]\n },\n \"merge\": {\n \"source\": \"primaryCategory\",\n \"destination\": \"additionalCategories\"\n },\n \"theme\": {\n \"component\": \"sb-pills-grid\",\n \"limit\": 10,\n \"infiniteCard\": false,\n \"colorMapping\": [\n {\n \"primary\": \"rgba(255,255,255,1)\",\n \"secondary\": \"rgba(255,255,255,1)\"\n }\n ],\n \"icons\": {\n \"digital textbooks\": \"assets/images/textbook.svg\",\n \"courses\": \"assets/images/course.svg\",\n \"tv programs\": \"assets/images/tv.svg\",\n \"documents\": \"assets/images/documents.svg\",\n \"videos\": \"assets/images/videos.svg\",\n \"default\": \"assets/images/all_content.svg\"\n }\n },\n \"landing\": {\n \"title\": \"frmelmnts.lbl.exploretitle\",\n \"description\": \"frmelmnts.lbl.exploredescription\"\n },\n \"anonumousUserRoute\": {\n \"route\": \"/explore-course\",\n \"queryParam\": \"course\"\n },\n \"loggedInUserRoute\": {\n \"route\": \"/learn\",\n \"queryParam\": \"course\"\n }\n },\n {\n \"index\": 7,\n \"title\": \"frmelmnts.lbl.medium\",\n \"desc\": \"Section for medium\",\n \"facetKey\": \"medium\",\n \"isEnabled\": false,\n \"apiConfig\": {\n \"url\": \"\",\n \"method\": \"\",\n \"req\": {},\n \"params\": \"\",\n \"contextKey\": \"res.facet.medium\"\n },\n \"theme\": {\n \"component\": \"sb-pills-grid\",\n \"limit\": 10,\n \"infiniteCard\": false,\n \"colorMapping\": [\n {\n \"primary\": \"rgba(255,139,46,1)\",\n \"secondary\": \"rgba(255,139,46,0.3)\"\n },\n {\n \"primary\": \"rgba(163,99,255,1)\",\n \"secondary\": \"rgba(163,99,255,0.3)\"\n },\n {\n \"primary\": \"rgba(34,139,255,1)\",\n \"secondary\": \"rgba(34,139,255,0.3)\"\n },\n {\n \"primary\": \"rgba(95,192,32,1)\",\n \"secondary\": \"rgba(95,192,32,0.3)\"\n },\n {\n \"primary\": \"rgba(255,128,47,1)\",\n \"secondary\": \"rgba(255,128,47,0.3)\"\n },\n {\n \"primary\": \"rgba(251,70,70,1)\",\n \"secondary\": \"rgba(251,70,70,0.3)\"\n },\n {\n \"primary\": \"rgba(83,109,252,1)\",\n \"secondary\": \"rgba(83,109,252,0.3)\"\n },\n {\n \"primary\": \"rgba(15,186,208,1)\",\n \"secondary\": \"rgba(15,186,208,0.3)\"\n }\n ]\n },\n \"anonumousUserRoute\": {\n \"route\": \"/home\",\n \"queryParam\": \"course\"\n },\n \"loggedInUserRoute\": {\n \"route\": \"/learn\",\n \"queryParam\": \"course\"\n }\n }\n ]\n }\n ]\n }\n }\n}" }, "url": { "raw": "{{host}}/api/data/v1/form/create", @@ -5162,13 +8066,12 @@ "form", "create" ] - }, - "description": "{\"request\":{\"type\":\"content\",\"action\":\"save\",\"subType\":\"resource\"}}" + } }, "response": [] }, { - "name": "3 - Content Publish", + "name": "3 - All Tab - Schema creation", "request": { "method": "POST", "header": [ @@ -5183,7 +8086,7 @@ ], "body": { "mode": "raw", - "raw": "{\r\n \"request\": {\r\n \"action\": \"publish\",\r\n \"type\": \"content\",\r\n \"subType\": \"resource\",\r\n \"framework\": \"*\",\r\n \"rootOrgId\": \"*\",\r\n \"data\": {\r\n \"templateName\": \"defaultTemplate\",\r\n \"action\": \"review\",\r\n \"fields\": [\r\n {\r\n \"contents\": [\r\n {\r\n \"name\": \"Appropriateness\",\r\n \"checkList\": [\r\n \"Is suitable for children\"\r\n ]\r\n },\r\n {\r\n \"name\": \"Content details\",\r\n \"checkList\": [\r\n \"Appropriate Title, Description\"\r\n ]\r\n },\r\n {\r\n \"name\": \"Usability\",\r\n \"checkList\": [\r\n \"Content plays correctly\"\r\n ]\r\n }\r\n ],\r\n \"title\": \"Please confirm that ALL the following items are verified (by ticking the check-boxes) before you can publish:\"\r\n }\r\n ]\r\n }\r\n }\r\n}" + "raw": "{\n \"request\": {\n \"type\": \"schemas\",\n \"action\": \"get\",\n \"subType\": \"search\",\n \"rootOrgId\": \"*\",\n \"framework\": \"*\",\n \"component\": \"*\",\n \"data\":{\n \"templateName\": \"defaultTemplate\",\n \"action\": \"get\",\n \"fields\": [\n {\n \"id\": \"content\",\n \"schema\": {\n \"properties\": [\n \"name\",\n \"code\",\n \"createdOn\",\n \"lastUpdatedOn\",\n \"status\",\n \"channel\",\n \"mimeType\",\n \"osId\",\n \"contentEncoding\",\n \"contentDisposition\",\n \"mediaType\",\n \"os\",\n \"minOsVersion\",\n \"compatibilityLevel\",\n \"minGenieVersion\",\n \"minSupportedVersion\",\n \"filter\",\n \"variants\",\n \"config\",\n \"visibility\",\n \"audience\",\n \"posterImage\",\n \"badgeAssertions\",\n \"targets\",\n \"contentCredits\",\n \"appIcon\",\n \"grayScaleAppIcon\",\n \"thumbnail\",\n \"screenshots\",\n \"format\",\n \"duration\",\n \"size\",\n \"idealScreenSize\",\n \"idealScreenDensity\",\n \"releaseNotes\",\n \"pkgVersion\",\n \"semanticVersion\",\n \"versionKey\",\n \"resources\",\n \"downloadUrl\",\n \"artifactUrl\",\n \"previewUrl\",\n \"streamingUrl\",\n \"objects\",\n \"organization\",\n \"createdFor\",\n \"developer\",\n \"source\",\n \"notes\",\n \"pageNumber\",\n \"publication\",\n \"edition\",\n \"publisher\",\n \"author\",\n \"owner\",\n \"attributions\",\n \"collaborators\",\n \"creators\",\n \"contributors\",\n \"voiceCredits\",\n \"soundCredits\",\n \"imageCredits\",\n \"copyright\",\n \"license\",\n \"language\",\n \"words\",\n \"text\",\n \"forkable\",\n \"translatable\",\n \"ageGroup\",\n \"interactivityLevel\",\n \"contentType\",\n \"resourceType\",\n \"category\",\n \"templateType\",\n \"genre\",\n \"theme\",\n \"themes\",\n \"rating\",\n \"rating_a\",\n \"quality\",\n \"genieScore\",\n \"authoringScore\",\n \"popularity\",\n \"downloads\",\n \"launchUrl\",\n \"activity_class\",\n \"draftImage\",\n \"scaffolding\",\n \"feedback\",\n \"feedbackType\",\n \"teachingMode\",\n \"skills\",\n \"keywords\",\n \"domain\",\n \"dialcodes\",\n \"optStatus\",\n \"description\",\n \"instructions\",\n \"body\",\n \"oldBody\",\n \"stageIcons\",\n \"editorState\",\n \"data\",\n \"loadingMessage\",\n \"checksum\",\n \"learningObjective\",\n \"createdBy\",\n \"creator\",\n \"reviewer\",\n \"lastUpdatedBy\",\n \"lastSubmittedBy\",\n \"lastSubmittedOn\",\n \"lastPublishedBy\",\n \"lastPublishedOn\",\n \"versionDate\",\n \"origin\",\n \"originData\",\n \"versionCreatedBy\",\n \"me_totalSessionsCount\",\n \"me_creationSessions\",\n \"me_creationTimespent\",\n \"me_totalTimespent\",\n \"me_totalInteractions\",\n \"me_averageInteractionsPerMin\",\n \"me_averageSessionsPerDevice\",\n \"me_totalDevices\",\n \"me_averageTimespentPerSession\",\n \"me_averageRating\",\n \"me_totalDownloads\",\n \"me_totalSideloads\",\n \"me_totalRatings\",\n \"me_totalComments\",\n \"me_totalUsage\",\n \"me_totalLiveContentUsage\",\n \"me_usageLastWeek\",\n \"me_deletionsLastWeek\",\n \"me_lastUsedOn\",\n \"me_lastRemovedOn\",\n \"me_hierarchyLevel\",\n \"me_totalDialcodeAttached\",\n \"me_totalDialcodeLinkedToContent\",\n \"me_totalDialcode\",\n \"flagReasons\",\n \"flaggedBy\",\n \"flags\",\n \"lastFlaggedOn\",\n \"tempData\",\n \"copyType\",\n \"pragma\",\n \"publishChecklist\",\n \"publishComment\",\n \"rejectReasons\",\n \"rejectComment\",\n \"totalQuestions\",\n \"totalScore\",\n \"ownershipType\",\n \"reservedDialcodes\",\n \"dialcodeRequired\",\n \"lockKey\",\n \"badgeAssociations\",\n \"framework\",\n \"lastStatusChangedOn\",\n \"uploadError\",\n \"appId\",\n \"s3Key\",\n \"consumerId\",\n \"organisation\",\n \"nodeType\",\n \"prevState\",\n \"publishError\",\n \"publish_type\",\n \"ownedBy\",\n \"purpose\",\n \"toc_url\",\n \"reviewError\",\n \"mimeTypesCount\",\n \"contentTypesCount\",\n \"childNodes\",\n \"leafNodesCount\",\n \"depth\",\n \"SYS_INTERNAL_LAST_UPDATED_ON\",\n \"assets\",\n \"version\",\n \"qrCodeProcessId\",\n \"migratedUrl\",\n \"totalCompressedSize\",\n \"programId\",\n \"leafNodes\",\n \"editorVersion\",\n \"unitIdentifiers\",\n \"questionCategories\",\n \"certTemplate\",\n \"subject\",\n \"medium\",\n \"gradeLevel\",\n \"topic\",\n \"subDomains\",\n \"subjectCodes\",\n \"difficultyLevel\",\n \"board\",\n \"licenseterms\",\n \"copyrightYear\",\n \"organisationId\",\n \"itemSetPreviewUrl\",\n \"textbook_name\",\n \"level1Name\",\n \"level1Concept\",\n \"level2Name\",\n \"level2Concept\",\n \"level3Name\",\n \"level3Concept\",\n \"sourceURL\",\n \"me_totalTimeSpentInSec\",\n \"me_totalPlaySessionCount\",\n \"me_totalRatingsCount\",\n \"monitorable\",\n \"userConsent\",\n \"trackable\",\n \"credentials\",\n \"processId\",\n \"primaryCategory\",\n \"additionalCategories\",\n \"prevStatus\",\n \"cloudStorageKey\",\n \"batches\",\n \"year\",\n \"plugins\",\n \"showNotification\",\n \"collectionId\",\n \"learningOutcome\",\n \"displayScore\",\n \"boardIds\",\n \"gradeLevelIds\",\n \"subjectIds\",\n \"mediumIds\",\n \"topicsIds\",\n \"targetFWIds\",\n \"targetBoardIds\",\n \"targetGradeLevelIds\",\n \"targetSubjectIds\",\n \"targetMediumIds\",\n \"targetTopicIds\",\n \"maxAttempts\",\n \"se_frameworkIds\",\n \"se_boardIds\",\n \"se_subjectIds\",\n \"se_mediumIds\",\n \"se_topicIds\",\n \"se_gradeLevelIds\",\n \"se_boards\",\n \"se_subjects\",\n \"se_mediums\",\n \"se_topics\",\n \"se_gradeLevels\"\n ]\n }\n }\n ]\n }\n }\n}" }, "url": { "raw": "{{host}}/api/data/v1/form/create", @@ -5197,13 +8100,12 @@ "form", "create" ] - }, - "description": "{\"request\":{\"type\":\"content\",\"action\":\"save\",\"subType\":\"resource\"}}" + } }, "response": [] }, { - "name": "4 - Content Create", + "name": "4 - Resource Bundle - For Labels", "request": { "method": "POST", "header": [ @@ -5218,7 +8120,7 @@ ], "body": { "mode": "raw", - "raw": "{\r\n \"request\": {\r\n \"action\": \"create\",\r\n \"subType\": \"resource\",\r\n \"framework\": \"*\",\r\n \"rootOrgId\": \"*\",\r\n \"type\": \"content\",\r\n \"popup\": true,\r\n \"editMode\": true,\r\n \"data\": {\r\n \"templateName\": \"defaultTemplate\",\r\n \"action\": \"create\",\r\n \"fields\": [\r\n {\r\n \"code\": \"appicon\",\r\n \"visible\": true,\r\n \"editable\": true,\r\n \"dataType\": \"url\",\r\n \"renderingHints\": {},\r\n \"name\": \"App Icon\",\r\n \"description\": \"App Icon\",\r\n \"index\": 1,\r\n \"inputType\": \"file\",\r\n \"label\": \"Icon\",\r\n \"placeholder\": \"App Icon\"\r\n },\r\n {\r\n \"code\": \"name\",\r\n \"visible\": true,\r\n \"editable\": true,\r\n \"dataType\": \"text\",\r\n \"renderingHints\": {},\r\n \"name\": \"Title\",\r\n \"description\": \"Title of the content\",\r\n \"index\": 2,\r\n \"inputType\": \"text\",\r\n \"label\": \"Title\",\r\n \"placeholder\": \"Enter Title For Book\"\r\n },\r\n {\r\n \"code\": \"description\",\r\n \"visible\": true,\r\n \"editable\": true,\r\n \"dataType\": \"text\",\r\n \"renderingHints\": {},\r\n \"name\": \"Description\",\r\n \"description\": \"Brief description\",\r\n \"index\": 3,\r\n \"inputType\": \"textarea\",\r\n \"label\": \"Description\",\r\n \"placeholder\": \"Brief description about the Book\"\r\n }\r\n \r\n ]\r\n }\r\n }\r\n}" + "raw": "{\n \"request\": {\n \"type\": \"customResourcebundles\",\n \"action\": \"list\",\n \"subType\": \"global\",\n \"rootOrgId\": \"*\",\n \"component\": \"portal\",\n \"data\": {\n \"defaultLanguage\": \"en\",\n \"en\": {\n \"frameworkCategory1\": \"Board\",\n \"frameworkCategory2\": \"Medium\",\n \"frameworkCategory3\": \"Grade\",\n \"frameworkCategory4\": \"Subject\"\n }\n }\n }\n}" }, "url": { "raw": "{{host}}/api/data/v1/form/create", @@ -5232,28 +8134,27 @@ "form", "create" ] - }, - "description": "{\"request\":{\"type\":\"content\",\"action\":\"save\",\"subType\":\"resource\"}}" + } }, "response": [] }, { - "name": "5 - Book Create", + "name": "5 - Groups Form", "request": { "method": "POST", "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, { "key": "Authorization", "value": "Bearer {{apikey}}" + }, + { + "key": "Content-Type", + "value": "application/json" } ], "body": { "mode": "raw", - "raw": "{\r\n \"request\": {\r\n \"type\": \"content\",\r\n \"action\": \"create\",\r\n \"subType\": \"textbook\",\r\n \"rootOrgId\": \"*\",\r\n \"framework\": \"*\",\r\n \"data\": {\r\n \"templateName\": \"defaultTemplate\",\r\n \"action\": \"review\",\r\n \"fields\": [\r\n {\r\n \"code\": \"name\",\r\n \"dataType\": \"text\",\r\n \"name\": \"Name\",\r\n \"label\": \"Name\",\r\n \"description\": \"Name\",\r\n \"editable\": true,\r\n \"placeholder\": \"Name\",\r\n \"inputType\": \"text\",\r\n \"required\": true,\r\n \"displayProperty\": \"Editable\",\r\n \"visible\": true,\r\n \"renderingHints\": {\r\n \"semanticColumnWidth\": \"twelve\"\r\n },\r\n \"index\": 1,\r\n \"validation\": [\r\n {\r\n \"type\": \"regex\",\r\n \"value\": \"^[a-zA-Z0-9 &]*$\",\r\n \"message\": \"Invalid Input\"\r\n },\r\n {\r\n \"type\": \"max\",\r\n \"value\": \"50\",\r\n \"message\": \"Input is Exceded\"\r\n }\r\n ]\r\n },\r\n {\r\n \"code\": \"year\",\r\n \"dataType\": \"text\",\r\n \"name\": \"Year\",\r\n \"label\": \"Year\",\r\n \"description\": \"Year\",\r\n \"editable\": true,\r\n \"placeholder\": \"Year\",\r\n \"inputType\": \"select\",\r\n \"required\": false,\r\n \"displayProperty\": \"Editable\",\r\n \"visible\": true,\r\n \"renderingHints\": {\r\n \"semanticColumnWidth\": \"six\"\r\n },\r\n \"index\": 7\r\n }\r\n ]\r\n }\r\n }\r\n}" + "raw": "{\n \"request\": \n{\n \"type\": \"forum\",\n \"subType\": \"group\",\n \"action\": \"create\",\n \"component\": \"*\",\n \"framework\": \"*\",\n \"data\": {\n \"templateName\": \"defaultTemplate\",\n \"action\": \"create\",\n \"fields\": [\n {\n \"category\": {\n \"name\": \"Discussion Forum for Groups\",\n \"pid\": \"6\",\n \"uid\": \"1\",\n \"description\": \"\",\n \"context\": [\n {\n \"type\": \"group\",\n \"identifier\": \"_groupId\"\n }\n ]\n }\n }\n ]\n },\n \"rootOrgId\": \"*\"\n }\n}" }, "url": { "raw": "{{host}}/api/data/v1/form/create", @@ -5267,134 +8168,98 @@ "form", "create" ] - }, - "description": "{\"request\":{\"type\":\"content\",\"action\":\"save\",\"subType\":\"resource\"}}" + } }, "response": [] }, { - "name": "6 - DigitalTextBook Configuration (editor)", + "name": "6 - Groups Supported Activities", "request": { - "method": "PATCH", + "method": "POST", "header": [ - { - "key": "X-Channel-id", - "type": "text", - "value": "{{channel_name}}" - }, { "key": "Authorization", - "type": "text", "value": "Bearer {{apikey}}" }, { "key": "Content-Type", - "type": "text", "value": "application/json" } ], "body": { "mode": "raw", - "raw": "{\n \"request\": {\n \"objectCategoryDefinition\": {\n \"objectMetadata\": {\n \"config\": {\n \"sourcingSettings\": {\n \"collection\": {\n \"maxDepth\": 4,\n \"objectType\": \"Collection\",\n \"primaryCategory\": \"Digital Textbook\",\n \"isRoot\": true,\n \"iconClass\": \"fa fa-book\",\n \"children\": {},\n \"hierarchy\": {\n \"level1\": {\n \"name\": \"Textbook Unit\",\n \"type\": \"Unit\",\n \"mimeType\": \"application/vnd.ekstep.content-collection\",\n \"contentType\": \"TextBookUnit\",\n \"primaryCategory\": \"Textbook Unit\",\n \"iconClass\": \"fa fa-folder-o\",\n \"children\": {\n \"Content\": [],\n \"Collection\": []\n }\n },\n \"level2\": {\n \"name\": \"Section\",\n \"type\": \"Unit\",\n \"mimeType\": \"application/vnd.ekstep.content-collection\",\n \"contentType\": \"TextBookUnit\",\n \"primaryCategory\": \"Textbook Unit\",\n \"iconClass\": \"fa fa-folder-o\",\n \"children\": {\n \"Content\": [],\n \"Collection\": []\n }\n },\n \"level3\": {\n \"name\": \"Section\",\n \"type\": \"Unit\",\n \"mimeType\": \"application/vnd.ekstep.content-collection\",\n \"contentType\": \"TextBookUnit\",\n \"primaryCategory\": \"Textbook Unit\",\n \"iconClass\": \"fa fa-folder-o\",\n \"children\": {\n \"Content\": [],\n \"Collection\": []\n }\n },\n \"level4\": {\n \"name\": \"Section\",\n \"type\": \"Unit\",\n \"mimeType\": \"application/vnd.ekstep.content-collection\",\n \"contentType\": \"TextBookUnit\",\n \"primaryCategory\": \"Textbook Unit\",\n \"iconClass\": \"fa fa-folder-o\",\n \"children\": {\n \"Content\": [],\n \"Collection\": []\n }\n }\n }\n }\n }\n },\n \"schema\": {\n \"properties\": {\n \"generateDIALCodes\": {\n \"type\": \"string\",\n \"enum\": [\n \"Yes\",\n \"No\"\n ],\n \"default\": \"Yes\"\n },\n \"trackable\": {\n \"type\": \"object\",\n \"properties\": {\n \"enabled\": {\n \"type\": \"string\",\n \"enum\": [\n \"Yes\",\n \"No\"\n ],\n \"default\": \"No\"\n },\n \"autoBatch\": {\n \"type\": \"string\",\n \"enum\": [\n \"Yes\",\n \"No\"\n ],\n \"default\": \"No\"\n }\n },\n \"default\": {\n \"enabled\": \"No\",\n \"autoBatch\": \"No\"\n }\n },\n \"userConsent\": {\n \"type\": \"string\",\n \"enum\": [\n \"Yes\",\n \"No\"\n ],\n \"default\": \"Yes\"\n }\n }\n }\n },\n \"name\": \"Digital Textbook\",\n \"forms\": {\n \"childMetadata\": {\n \"templateName\": \"\",\n \"required\": [],\n \"properties\": [\n {\n \"code\": \"name\",\n \"editable\": true,\n \"displayProperty\": \"Editable\",\n \"dataType\": \"text\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1 required\"\n },\n \"description\": \"Name\",\n \"index\": 1,\n \"label\": \"Name\",\n \"required\": true,\n \"name\": \"Name\",\n \"inputType\": \"text\",\n \"placeholder\": \"Name\",\n \"validations\": [\n {\n \"type\": \"maxLength\",\n \"value\": \"120\",\n \"message\": \"Exceeded the limit of 120 characters\"\n },\n {\n \"type\": \"required\",\n \"message\": \"Name is required\"\n }\n ]\n },\n {\n \"code\": \"description\",\n \"dataType\": \"text\",\n \"description\": \"Description of the content\",\n \"editable\": true,\n \"inputType\": \"textarea\",\n \"label\": \"Description\",\n \"name\": \"Description\",\n \"placeholder\": \"Description\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"required\": false,\n \"visible\": true,\n \"validations\": [\n {\n \"type\": \"maxLength\",\n \"value\": \"1000\",\n \"message\": \"Exceeded the limit of 1000 characters\"\n }\n ]\n },\n {\n \"code\": \"primaryCategory\",\n \"dataType\": \"text\",\n \"description\": \"Type\",\n \"editable\": false,\n \"renderingHints\": {},\n \"inputType\": \"select\",\n \"label\": \"Category\",\n \"name\": \"Type\",\n \"placeholder\": \"\",\n \"required\": true,\n \"visible\": true,\n \"validations\": []\n },\n {\n \"code\": \"boardIds\",\n \"visible\": true,\n \"depends\": [],\n \"editable\": false,\n \"dataType\": \"list\",\n \"sourceCategory\": \"board\",\n \"output\": \"identifier\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"description\": \"\",\n \"label\": \"Board\",\n \"required\": true,\n \"name\": \"Board\",\n \"inputType\": \"nestedselect\",\n \"placeholder\": \"Select Board\"\n },\n {\n \"code\": \"mediumIds\",\n \"visible\": true,\n \"depends\": [],\n \"editable\": false,\n \"dataType\": \"list\",\n \"sourceCategory\": \"medium\",\n \"output\": \"identifier\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"description\": \"\",\n \"label\": \"Medium(s)\",\n \"required\": true,\n \"name\": \"Medium\",\n \"inputType\": \"nestedselect\",\n \"placeholder\": \"Select Medium\"\n },\n {\n \"code\": \"gradeLevelIds\",\n \"visible\": true,\n \"depends\": [],\n \"editable\": false,\n \"dataType\": \"list\",\n \"sourceCategory\": \"gradeLevel\",\n \"output\": \"identifier\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"description\": \"\",\n \"label\": \"Class(es)\",\n \"required\": true,\n \"name\": \"Grade Level\",\n \"inputType\": \"nestedselect\",\n \"placeholder\": \"Select Grade\"\n },\n {\n \"code\": \"subjectIds\",\n \"visible\": true,\n \"depends\": [],\n \"editable\": false,\n \"dataType\": \"list\",\n \"sourceCategory\": \"subject\",\n \"output\": \"identifier\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"description\": \"\",\n \"label\": \"Subject(s)\",\n \"required\": true,\n \"name\": \"Subject\",\n \"inputType\": \"nestedselect\",\n \"placeholder\": \"Select Subject\"\n },\n {\n \"code\": \"copyright\",\n \"dataType\": \"text\",\n \"description\": \"Copyright\",\n \"editable\": true,\n \"index\": 4,\n \"inputType\": \"text\",\n \"label\": \"Copyright and Year:\",\n \"name\": \"Copyright\",\n \"placeholder\": \"Enter Copyright and Year\",\n \"tooltip\": \"If you are an individual, creating original content, you are the copyright holder. If you are creating this content on behalf of an organisation, the organisation may be the copyright holder. \",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1 required\"\n },\n \"required\": true,\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"Copyright is required\"\n }\n ]\n },\n {\n \"code\": \"license\",\n \"visible\": true,\n \"editable\": true,\n \"displayProperty\": \"Editable\",\n \"dataType\": \"text\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1 required\"\n },\n \"description\": \"License\",\n \"index\": 6,\n \"label\": \"License\",\n \"required\": true,\n \"name\": \"license\",\n \"inputType\": \"select\",\n \"placeholder\": \"license\",\n \"tooltip\": \"Choose the more appropriate Creative commons license for this Content. \",\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"License is required\"\n }\n ]\n },\n {\n \"code\": \"author\",\n \"dataType\": \"text\",\n \"description\": \"Author\",\n \"editable\": true,\n \"index\": 5,\n \"inputType\": \"text\",\n \"label\": \"Author\",\n \"name\": \"Author\",\n \"placeholder\": \"Author\",\n \"tooltip\": \"Provide name of creator of this content.\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"required\": true,\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"Author is required\"\n }\n ]\n },\n {\n \"code\": \"attributions\",\n \"dataType\": \"list\",\n \"description\": \"Attributions\",\n \"editable\": true,\n \"index\": 3,\n \"inputType\": \"text\",\n \"label\": \"Attributions\",\n \"name\": \"attribution\",\n \"placeholder\": \"\",\n \"tooltip\": \"If you have relied on another work to create this content, provide the name of that creator and the source of that work.\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"required\": false\n },\n {\n \"code\": \"contentPolicyCheck\",\n \"visible\": true,\n \"editable\": true,\n \"displayProperty\": \"Editable\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1 required\"\n },\n \"description\": \"Content Policy check\",\n \"index\": 7,\n \"labelHtml\": \"

I agree that by submitting / publishing this Content, I confirm that this Content complies with prescribed guidelines, including the Terms of Use and Content Policy and that I consent to publish it under the Creative Commons Framework in accordance with the Content Policy. I have made sure that I do not violate others' copyright or privacy rights.

\",\n \"required\": true,\n \"name\": \"contentPolicyCheck\",\n \"inputType\": \"checkbox\",\n \"placeholder\": \"Content Policy Check\",\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"Content Policy Check is required\"\n }\n ]\n }\n ]\n },\n \"create\": {\n \"templateName\": \"\",\n \"required\": [],\n \"properties\": [\n {\n \"name\": \"First Section\",\n \"fields\": [\n {\n \"code\": \"appIcon\",\n \"dataType\": \"text\",\n \"description\": \"appIcon of the content\",\n \"editable\": true,\n \"inputType\": \"appIcon\",\n \"label\": \"Icon\",\n \"name\": \"Icon\",\n \"placeholder\": \"Icon\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1 required\"\n },\n \"required\": true,\n \"visible\": true\n },\n {\n \"code\": \"name\",\n \"dataType\": \"text\",\n \"description\": \"Name of the content\",\n \"editable\": true,\n \"inputType\": \"text\",\n \"label\": \"Name\",\n \"name\": \"Name\",\n \"placeholder\": \"Name\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1 required\"\n },\n \"required\": true,\n \"visible\": true,\n \"validations\": [\n {\n \"type\": \"maxLength\",\n \"value\": \"120\",\n \"message\": \"Exceeded the limit of 120 characters\"\n },\n {\n \"type\": \"required\",\n \"message\": \"Name is required\"\n }\n ]\n },\n {\n \"code\": \"description\",\n \"dataType\": \"text\",\n \"description\": \"Description of the content\",\n \"editable\": true,\n \"inputType\": \"textarea\",\n \"label\": \"Description\",\n \"name\": \"Description\",\n \"placeholder\": \"Description\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"required\": false,\n \"visible\": true,\n \"validations\": [\n {\n \"type\": \"maxLength\",\n \"value\": \"1000\",\n \"message\": \"Exceeded the limit of 1000 characters\"\n }\n ]\n },\n {\n \"code\": \"keywords\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"list\",\n \"name\": \"Keywords\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"description\": \"Keywords for the content\",\n \"inputType\": \"keywords\",\n \"label\": \"Keywords\",\n \"placeholder\": \"Input the keyword and press enter\",\n \"required\": false,\n \"validations\": []\n }\n ]\n },\n {\n \"name\": \"Second Section\",\n \"fields\": [\n {\n \"code\": \"dialcodeRequired\",\n \"dataType\": \"text\",\n \"description\": \"QR CODE REQUIRED\",\n \"editable\": true,\n \"default\": \"No\",\n \"index\": 5,\n \"inputType\": \"radio\",\n \"label\": \"QR code required?\",\n \"name\": \"dialcodeRequired\",\n \"placeholder\": \"QR code required?\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"range\": [\n \"Yes\",\n \"No\"\n ],\n \"required\": false,\n \"visible\": true\n },\n {\n \"code\": \"dialcodes\",\n \"depends\": [\n \"dialcodeRequired\"\n ],\n \"dataType\": \"list\",\n \"description\": \"Digital Infrastructure for Augmented Learning\",\n \"editable\": true,\n \"inputType\": \"dialcode\",\n \"label\": \"QR code\",\n \"name\": \"dialcode\",\n \"placeholder\": \"Enter code here\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"required\": true,\n \"visible\": true,\n \"validations\": [\n {\n \"type\": \"minLength\",\n \"value\": \"2\"\n },\n {\n \"type\": \"maxLength\",\n \"value\": \"20\"\n }\n ]\n }\n ]\n },\n {\n \"name\": \"Third Section\",\n \"fields\": [\n {\n \"code\": \"primaryCategory\",\n \"dataType\": \"text\",\n \"description\": \"Type\",\n \"editable\": false,\n \"renderingHints\": {},\n \"inputType\": \"select\",\n \"label\": \"Category\",\n \"name\": \"Type\",\n \"placeholder\": \"\",\n \"required\": true,\n \"visible\": true,\n \"validations\": []\n }\n ]\n },\n {\n \"name\": \"Framework Terms\",\n \"fields\": [\n {\n \"code\": \"audience\",\n \"dataType\": \"list\",\n \"description\": \"Audience\",\n \"editable\": true,\n \"inputType\": \"nestedselect\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"label\": \"Audience Type\",\n \"name\": \"Audience Type\",\n \"placeholder\": \"Select Audience Type\",\n \"required\": false,\n \"visible\": true,\n \"range\": [\n \"Student\",\n \"Teacher\",\n \"Parent\",\n \"Administrator\",\n \"Other\"\n ]\n },\n {\n \"code\": \"boardIds\",\n \"visible\": true,\n \"depends\": [],\n \"editable\": true,\n \"dataType\": \"list\",\n \"sourceCategory\": \"board\",\n \"output\": \"identifier\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1 required\"\n },\n \"description\": \"Board\",\n \"label\": \"Board\",\n \"required\": true,\n \"name\": \"Board/Syllabus\",\n \"inputType\": \"select\",\n \"placeholder\": \"Select Board/Syllabus\",\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"Board is required\"\n }\n ]\n },\n {\n \"code\": \"mediumIds\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"list\",\n \"sourceCategory\": \"medium\",\n \"output\": \"identifier\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1 required\"\n },\n \"description\": \"\",\n \"label\": \"Medium(s)\",\n \"required\": true,\n \"name\": \"Medium\",\n \"inputType\": \"nestedselect\",\n \"placeholder\": \"Select Medium\",\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"Medium is required\"\n }\n ]\n },\n {\n \"code\": \"gradeLevelIds\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"list\",\n \"sourceCategory\": \"gradeLevel\",\n \"output\": \"identifier\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1 required\"\n },\n \"description\": \"Class\",\n \"label\": \"Class(es)\",\n \"required\": true,\n \"name\": \"Class\",\n \"inputType\": \"nestedselect\",\n \"placeholder\": \"Select Class\",\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"Class is required\"\n }\n ]\n },\n {\n \"code\": \"subjectIds\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"list\",\n \"sourceCategory\": \"subject\",\n \"output\": \"identifier\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1 required\"\n },\n \"description\": \"\",\n \"label\": \"Subject(s)\",\n \"required\": true,\n \"name\": \"Subject\",\n \"inputType\": \"nestedselect\",\n \"placeholder\": \"Select Subject\",\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"Subject is required\"\n }\n ]\n }\n ]\n },\n {\n \"name\": \"Fourth Section\",\n \"fields\": [\n {\n \"code\": \"author\",\n \"dataType\": \"text\",\n \"description\": \"Author of the content\",\n \"editable\": true,\n \"inputType\": \"text\",\n \"label\": \"Author\",\n \"name\": \"Author\",\n \"placeholder\": \"Author\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"required\": false,\n \"visible\": true\n },\n {\n \"code\": \"attributions\",\n \"dataType\": \"list\",\n \"description\": \"Attributions\",\n \"editable\": true,\n \"inputType\": \"text\",\n \"label\": \"Attributions\",\n \"name\": \"Attributions\",\n \"placeholder\": \"Attributions\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"required\": false,\n \"visible\": true\n },\n {\n \"code\": \"copyright\",\n \"dataType\": \"text\",\n \"description\": \"Copyright\",\n \"editable\": true,\n \"inputType\": \"text\",\n \"label\": \"Copyright\",\n \"name\": \"Copyright\",\n \"placeholder\": \"Copyright\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1 required\"\n },\n \"required\": true,\n \"visible\": true,\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"Copyright is required\"\n }\n ]\n },\n {\n \"code\": \"copyrightYear\",\n \"dataType\": \"number\",\n \"description\": \"Year\",\n \"editable\": true,\n \"inputType\": \"text\",\n \"label\": \"Copyright Year\",\n \"name\": \"Copyright Year\",\n \"placeholder\": \"Copyright Year\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1 required\"\n },\n \"required\": true,\n \"visible\": true,\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"Copyright Year is required\"\n },\n {\n \"type\": \"minLength\",\n \"message\": \"Year should be a 4 digit number\",\n \"value\": 4\n },\n {\n \"type\": \"maxLength\",\n \"message\": \"Year should be a 4 digit number\",\n \"value\": 4\n }\n ]\n },\n {\n \"code\": \"license\",\n \"dataType\": \"text\",\n \"description\": \"license\",\n \"editable\": true,\n \"inputType\": \"select\",\n \"label\": \"License\",\n \"name\": \"license\",\n \"placeholder\": \"Select License\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1 required\"\n },\n \"required\": true,\n \"visible\": true,\n \"defaultValue\": \"CC BY 4.0\",\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"License is required\"\n }\n ]\n }\n ]\n }\n ]\n },\n \"delete\": {},\n \"publish\": {},\n \"publishchecklist\": {\n \"templateName\": \"\",\n \"required\": [],\n \"properties\": [\n {\n \"name\": \"Appropriateness\",\n \"renderingHints\": {\n \"class\": \"d-grid-inline-3 display-sectionName\"\n },\n \"fields\": [\n {\n \"code\": \"appropriatenessOne\",\n \"name\": \"No Hate speech, Abuse, Violence, Profanity\",\n \"label\": \"No Hate speech, Abuse, Violence, Profanity\",\n \"dataType\": \"boolean\",\n \"inputType\": \"checkbox\",\n \"editable\": true,\n \"required\": false,\n \"visible\": true,\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"\"\n }\n ],\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n }\n }\n ]\n },\n {\n \"name\": \"Content details\",\n \"renderingHints\": {\n \"class\": \"d-grid-inline-3 display-sectionName\"\n },\n \"fields\": [\n {\n \"code\": \"contentdetailsOne\",\n \"name\": \"Appropriate Title, Description\",\n \"label\": \"Appropriate Title, Description\",\n \"dataType\": \"boolean\",\n \"inputType\": \"checkbox\",\n \"editable\": true,\n \"required\": false,\n \"visible\": true,\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"\"\n }\n ],\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n }\n }\n ]\n },\n {\n \"name\": \"Usability\",\n \"renderingHints\": {\n \"class\": \"d-grid-inline-3 display-sectionName\"\n },\n \"fields\": [\n {\n \"code\": \"usabilityOne\",\n \"name\": \"Content plays correctly\",\n \"label\": \"Content plays correctly\",\n \"dataType\": \"boolean\",\n \"inputType\": \"checkbox\",\n \"editable\": true,\n \"required\": false,\n \"visible\": true,\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"\"\n }\n ],\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n }\n }\n ]\n }\n ]\n },\n \"relationalMetadata\": {\n \"templateName\": \"\",\n \"required\": [],\n \"properties\": [\n {\n \"code\": \"relName\",\n \"dataType\": \"text\",\n \"description\": \"Name of the content\",\n \"editable\": true,\n \"inputType\": \"text\",\n \"label\": \"Name of the content\",\n \"name\": \"Name of the content\",\n \"placeholder\": \"Name of the content\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1 required\"\n },\n \"required\": true,\n \"visible\": true,\n \"validations\": [\n {\n \"type\": \"maxLength\",\n \"value\": \"120\",\n \"message\": \"Input is Exceeded\"\n },\n {\n \"type\": \"required\",\n \"message\": \"Name is required\"\n }\n ]\n },\n {\n \"code\": \"keywords\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"list\",\n \"name\": \"Keywords\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"description\": \"Keywords for the content\",\n \"inputType\": \"keywords\",\n \"label\": \"Keywords\",\n \"placeholder\": \"Input the keyword and PRESS enter\",\n \"required\": false,\n \"validations\": []\n },\n {\n \"code\": \"relTrackable\",\n \"name\": \"Track in collection\",\n \"label\": \"Track in collection\",\n \"placeholder\": \"Track in collection\",\n \"description\": \"\",\n \"default\": false,\n \"dataType\": \"boolean\",\n \"inputType\": \"checkbox\",\n \"editable\": true,\n \"required\": false,\n \"visible\": true,\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n }\n }\n ]\n },\n \"review\": {},\n \"search\": {\n \"templateName\": \"\",\n \"required\": [],\n \"properties\": [\n {\n \"code\": \"primaryCategory\",\n \"dataType\": \"list\",\n \"description\": \"Type\",\n \"editable\": true,\n \"default\": [],\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"inputType\": \"nestedselect\",\n \"label\": \"Content Type(s)\",\n \"name\": \"Type\",\n \"placeholder\": \"Select ContentType\",\n \"required\": false,\n \"visible\": true\n },\n {\n \"code\": \"board\",\n \"visible\": true,\n \"depends\": [],\n \"editable\": true,\n \"dataType\": \"list\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"description\": \"Board\",\n \"label\": \"Board\",\n \"required\": false,\n \"name\": \"Board\",\n \"inputType\": \"select\",\n \"placeholder\": \"Select Board\",\n \"output\": \"name\"\n },\n {\n \"code\": \"medium\",\n \"visible\": true,\n \"depends\": [\n \"board\"\n ],\n \"editable\": true,\n \"dataType\": \"list\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"description\": \"\",\n \"label\": \"Medium(s)\",\n \"required\": false,\n \"name\": \"Medium\",\n \"inputType\": \"nestedselect\",\n \"placeholder\": \"Select Medium\",\n \"output\": \"name\"\n },\n {\n \"code\": \"gradeLevel\",\n \"visible\": true,\n \"depends\": [\n \"board\",\n \"medium\"\n ],\n \"editable\": true,\n \"default\": \"\",\n \"dataType\": \"list\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"description\": \"Class\",\n \"label\": \"Class(es)\",\n \"required\": false,\n \"name\": \"Class\",\n \"inputType\": \"nestedselect\",\n \"placeholder\": \"Select Class\",\n \"output\": \"name\"\n },\n {\n \"code\": \"subject\",\n \"visible\": true,\n \"depends\": [\n \"board\",\n \"medium\",\n \"gradeLevel\"\n ],\n \"editable\": true,\n \"default\": \"\",\n \"dataType\": \"list\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"description\": \"\",\n \"label\": \"Subject(s)\",\n \"required\": false,\n \"name\": \"Subject\",\n \"inputType\": \"nestedselect\",\n \"placeholder\": \"Select Subject\",\n \"output\": \"name\"\n }\n ]\n },\n \"unitMetadata\": {\n \"templateName\": \"\",\n \"required\": [],\n \"properties\": [\n {\n \"name\": \"First Section\",\n \"fields\": [\n {\n \"code\": \"name\",\n \"dataType\": \"text\",\n \"description\": \"Name of the content\",\n \"editable\": true,\n \"inputType\": \"text\",\n \"label\": \"Name\",\n \"name\": \"Title\",\n \"placeholder\": \"Name\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1 required\"\n },\n \"required\": true,\n \"visible\": true,\n \"validations\": [\n {\n \"type\": \"maxLength\",\n \"value\": \"120\",\n \"message\": \"Exceeded the limit of 120 characters\"\n },\n {\n \"type\": \"required\",\n \"message\": \"Name is required\"\n }\n ]\n },\n {\n \"code\": \"description\",\n \"dataType\": \"text\",\n \"description\": \"Description of the content\",\n \"editable\": true,\n \"inputType\": \"textarea\",\n \"label\": \"Description\",\n \"name\": \"Description\",\n \"placeholder\": \"Description\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"required\": false,\n \"visible\": true,\n \"validations\": [\n {\n \"type\": \"maxLength\",\n \"value\": \"1000\",\n \"message\": \"Exceeded the limit of 120 characters\"\n }\n ]\n },\n {\n \"code\": \"keywords\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"list\",\n \"name\": \"Keywords\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"index\": 3,\n \"description\": \"Keywords for the content\",\n \"inputType\": \"keywords\",\n \"label\": \"Keywords\",\n \"placeholder\": \"Input the keyword and press enter\",\n \"required\": false,\n \"validations\": []\n },\n {\n \"code\": \"dialcodeRequired\",\n \"dataType\": \"text\",\n \"description\": \"QR CODE REQUIRED\",\n \"editable\": true,\n \"default\": \"No\",\n \"index\": 5,\n \"inputType\": \"radio\",\n \"label\": \"QR code required?\",\n \"name\": \"dialcodeRequired\",\n \"placeholder\": \"QR code required?\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"range\": [\n \"Yes\",\n \"No\"\n ],\n \"required\": false,\n \"visible\": true\n },\n {\n \"code\": \"dialcodes\",\n \"depends\": [\n \"dialcodeRequired\"\n ],\n \"dataType\": \"list\",\n \"description\": \"Digital Infrastructure for Augmented Learning\",\n \"editable\": true,\n \"inputType\": \"dialcode\",\n \"label\": \"QR code\",\n \"name\": \"dialcode\",\n \"placeholder\": \"Enter code here\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"required\": true,\n \"visible\": true,\n \"validations\": [\n {\n \"type\": \"minLength\",\n \"value\": \"2\"\n },\n {\n \"type\": \"maxLength\",\n \"value\": \"20\"\n }\n ]\n }\n ]\n }\n ]\n },\n \"update\": {}\n }\n }\n }\n}", - "options": { - "raw": { - "language": "json" - } - } + "raw": "{\n \"request\": \n{\n \"type\": \"group\",\n \"subType\": \"supported_activities\",\n \"action\": \"list\",\n \"component\": \"*\",\n \"framework\": \"*\",\n \"data\": {\n \"templateName\": \"supported_activities\",\n \"action\": \"list\",\n \"fields\": [\n {\n \"index\": 0,\n \"activityType\": \"Explanation Content\",\n \"objectType\": \"Content\",\n \"isEnabled\": true,\n \"sortBy\": [\n {\n \"name\": \"asc\"\n }\n ],\n \"searchQuery\": \"{\\\"request\\\":{\\\"filters\\\":{\\\"primaryCategory\\\":[\\\"Explanation Content\\\"],\\\"status\\\":[\\\"Live\\\"],\\\"objectType\\\":[\\\"Content\\\"]},\\\"fields\\\":[\\\"name\\\",\\\"appIcon\\\",\\\"contentType\\\",\\\"identifier\\\",\\\"objectType\\\",\\\"createdBy\\\"]}}\",\n \"title\": \"Explanation Content\",\n \"translations\": \"{\\\"en\\\": \\\"Explanation Content\\\", \\\"as\\\": \\\"ব্যাখ্যা কৰা বিষয়বস্তু\\\", \\\"bn\\\": \\\"বিষয়বস্তুর ব্যাখ্যা\\\", \\\"gu\\\":\\\"એક્સપ્લેનેશન કન્ટેન્ટ\\\", \\\"hi\\\":\\\"स्पष्टीकरण सामग्री\\\", \\\"kn\\\":\\\"ವಿವರಣಾತ್ಮಕ ಪಠ್ಯಾಂಶ\\\", \\\"mr\\\":\\\"स्पष्टीकरण सामग्री\\\", \\\"or\\\":\\\"ବିସ୍ତାରିତ କଣ୍ଟେଣ୍ଟ୍\\\", \\\"pa\\\":\\\"ਵਿਆਖਿਆ ਕੰਟੇਂਟ\\\", \\\"ta\\\":\\\"விளக்க உள்ளடக்கம்\\\", \\\"te\\\":\\\"అర్థము కంటెంట్\\\", \\\"ur\\\":\\\"وضاحت کا مواد\\\"}\"\n },\n {\n \"index\": 1,\n \"activityType\": \"Learning Resource\",\n \"objectType\": \"Content\",\n \"isEnabled\": true,\n \"sortBy\": [\n {\n \"name\": \"asc\"\n }\n ],\n \"searchQuery\": \"{\\\"request\\\":{\\\"filters\\\":{\\\"primaryCategory\\\":[\\\"Learning Resource\\\"],\\\"status\\\":[\\\"Live\\\"],\\\"objectType\\\":[\\\"Content\\\"]},\\\"fields\\\":[\\\"name\\\",\\\"appIcon\\\",\\\"contentType\\\",\\\"identifier\\\",\\\"objectType\\\",\\\"createdBy\\\"]}}\",\n \"title\": \"Learning Resource\",\n \"translations\": \"{\\\"en\\\": \\\"Learning module\\\", \\\"as\\\": \\\"শিক্ষণৰ ম'ডিউল\\\", \\\"bn\\\": \\\"প্রশিক্ষণ মডিউল\\\", \\\"gu\\\":\\\"શીખવાનું મોડ્યુલ\\\", \\\"hi\\\":\\\"अध्ययन मॉड्यूल\\\", \\\"kn\\\":\\\"ಕಲಿಕಾ ಮಾಡ್ಯೂಲ್\\\", \\\"mr\\\":\\\"अभ्यास विभाग\\\", \\\"or\\\":\\\"ଶିକ୍ଷଣ ମଡ୍ୟୁଲ\\\", \\\"pa\\\":\\\"ਸਿਖਲਾਈ ਮੋਡੀਊਲ\\\", \\\"ta\\\":\\\"கற்றல் மாடுயூல்\\\", \\\"te\\\":\\\"మాడ్యూల్ నేర్చుకోవడం\\\", \\\"ur\\\":\\\"سیکھنے کا ماڈیول\\\"}\"\n },\n {\n \"index\": 2,\n \"activityType\": \"Course\",\n \"objectType\": \"Content\",\n \"isEnabled\": true,\n \"sortBy\": [\n {\n \"name\": \"asc\"\n }\n ],\n \"searchQuery\": \"{\\\"request\\\":{\\\"filters\\\":{\\\"primaryCategory\\\":[\\\"Course\\\"],\\\"batches.status\\\":1,\\\"batches.enrollmentType\\\":\\\"open\\\",\\\"objectType\\\":[\\\"Content\\\"],\\\"status\\\":[\\\"Live\\\"]},\\\"fields\\\":[\\\"name\\\",\\\"appIcon\\\",\\\"contentType\\\",\\\"identifier\\\",\\\"objectType\\\",\\\"createdBy\\\"]}}\",\n \"title\": \"Course\",\n \"translations\": \"{\\\"en\\\": \\\"Course\\\", \\\"as\\\": \\\"পাঠ্যক্ৰমসমুহ\\\", \\\"bn\\\": \\\"পাঠ্যধারাগুলি\\\", \\\"gu\\\":\\\"કોર્સ\\\", \\\"hi\\\":\\\"कोर्स\\\", \\\"kn\\\":\\\"ಕೋರ್ಸ್ ಗಳು\\\", \\\"mr\\\":\\\"कोर्सेस\\\", \\\"or\\\":\\\"ପାଠ୍ୟକ୍ରମଗୁଡ଼ିକ\\\", \\\"pa\\\":\\\"ਕੋਰਸਿਸ\\\", \\\"ta\\\":\\\"பாடநெறிகள்\\\", \\\"te\\\":\\\"కోర్సులు\\\", \\\"ur\\\":\\\"کورسز\\\"}\"\n },\n {\n \"index\": 3,\n \"activityType\": \"Practice Question Set\",\n \"objectType\": \"Content\",\n \"isEnabled\": true,\n \"sortBy\": [\n {\n \"name\": \"asc\"\n }\n ],\n \"searchQuery\": \"{\\\"request\\\":{\\\"filters\\\":{\\\"primaryCategory\\\":[\\\"Practice Question Set\\\"],\\\"status\\\":[\\\"Live\\\"],\\\"objectType\\\":[\\\"Content\\\"]},\\\"fields\\\":[\\\"name\\\",\\\"appIcon\\\",\\\"contentType\\\",\\\"identifier\\\",\\\"objectType\\\",\\\"createdBy\\\"]}}\",\n \"title\": \"Practice Question Set\",\n \"translations\": \"{\\\"en\\\": \\\"Practice question set\\\", \\\"as\\\": \\\"অনুশীলনৰ প্ৰশ্নৰ সমষ্টি\\\", \\\"bn\\\": \\\"অনুশীলনের প্রশ্ন সেট\\\", \\\"gu\\\":\\\"પ્રેક્ટિસ પ્રશ્ન સેટ\\\", \\\"hi\\\":\\\"अभ्यास प्रश्न संग्रह\\\", \\\"kn\\\":\\\"ಅಭ್ಯಾಸ ಪ್ರಶ್ನಾವಳಿ\\\", \\\"mr\\\":\\\"सराव प्रश्नसंच\\\", \\\"or\\\":\\\"ଅଭ୍ୟାସ ପ୍ରଶ୍ନପତ୍ର ସେଟ୍\\\", \\\"pa\\\":\\\"ਅਭਿਆਸ ਪ੍ਰਸ਼ਨ ਸੈੱਟ\\\", \\\"ta\\\":\\\"பயிற்சி கேள்வி தொகுப்பு\\\", \\\"te\\\":\\\"ప్రాక్టీస్ ప్రశ్న సెట్\\\", \\\"ur\\\":\\\"مشق سوال سیٹ\\\"}\"\n },\n {\n \"index\": 4,\n \"activityType\": \"eTextBook\",\n \"objectType\": \"Content\",\n \"isEnabled\": true,\n \"sortBy\": [\n {\n \"name\": \"asc\"\n }\n ],\n \"searchQuery\": \"{\\\"request\\\":{\\\"filters\\\":{\\\"primaryCategory\\\":[\\\"eTextBook\\\"],\\\"status\\\":[\\\"Live\\\"],\\\"objectType\\\":[\\\"Content\\\"]},\\\"fields\\\":[\\\"name\\\",\\\"appIcon\\\",\\\"contentType\\\",\\\"identifier\\\",\\\"objectType\\\",\\\"createdBy\\\"]}}\",\n \"title\": \"eTextBook\",\n \"translations\": \"{\\\"en\\\": \\\"PDF TextBook\\\", \\\"as\\\": \\\"PDF পাঠ্যপুথি\\\", \\\"bn\\\": \\\"পাঠ্যপুস্তকের পিডিএফ\\\", \\\"gu\\\":\\\"PDF ટેક્સ્ટબુક\\\", \\\"hi\\\":\\\"PDF पाठ्यपुस्तकें\\\", \\\"kn\\\":\\\"ಪಿಡಿಎಫ್ ಪಠ್ಯಪುಸ್ತಕ\\\", \\\"mr\\\":\\\"PDF पाठ्यपुस्तक\\\", \\\"or\\\":\\\"PDF ପାଠ୍ୟପୁସ୍ତକ\\\", \\\"pa\\\":\\\"PDF ਪਾਠ ਪੁਸਤਕ\\\", \\\"ta\\\":\\\"பி.டீ.எப் பாடபுத்தங்கள்\\\", \\\"te\\\":\\\"PDF పాఠ్య పుస్తకం\\\", \\\"ur\\\":\\\"پی ڈی ایف درسی کتاب\\\"}\"\n },\n {\n \"index\": 5,\n \"activityType\": \"Teacher Resource\",\n \"objectType\": \"Content\",\n \"isEnabled\": true,\n \"sortBy\": [\n {\n \"name\": \"asc\"\n }\n ],\n \"searchQuery\": \"{\\\"request\\\":{\\\"filters\\\":{\\\"primaryCategory\\\":[\\\"Teacher Resource\\\"],\\\"status\\\":[\\\"Live\\\"],\\\"objectType\\\":[\\\"Content\\\"]},\\\"fields\\\":[\\\"name\\\",\\\"appIcon\\\",\\\"contentType\\\",\\\"identifier\\\",\\\"objectType\\\",\\\"createdBy\\\"]}}\",\n \"title\": \"Teacher Resource\",\n \"translations\": \"{\\\"en\\\": \\\"Teaching Resource\\\", \\\"as\\\": \\\"শিক্ষাদানৰ সমলসমূহ\\\", \\\"bn\\\": \\\"শিক্ষার সংস্থান\\\", \\\"gu\\\":\\\"શિક્ષણ સંસાધનો\\\", \\\"hi\\\":\\\"शिक्षण संसाधन\\\", \\\"kn\\\":\\\"ಬೋಧನಾ ಸಂಪನ್ಮೂಲಗಳು\\\", \\\"mr\\\":\\\"शिक्षण संसाधने\\\", \\\"or\\\":\\\"ଶିକ୍ଷଣ ସଂସାଧନ\\\", \\\"pa\\\":\\\"ਅਧਿਆਪਨ ਦੇ ਸਰੋਤ\\\", \\\"ta\\\":\\\"கற்பித்தல் பொருள்\\\", \\\"te\\\":\\\"బోధనా వనరులు\\\", \\\"ur\\\":\\\" تدریسی وسائل \\\"}\"\n },\n {\n \"index\": 6,\n \"activityType\": \"Digital Textbook\",\n \"objectType\": \"Content\",\n \"isEnabled\": true,\n \"sortBy\": [\n {\n \"name\": \"asc\"\n }\n ],\n \"searchQuery\": \"{\\\"request\\\":{\\\"filters\\\":{\\\"primaryCategory\\\":[\\\"Digital Textbook\\\"],\\\"status\\\":[\\\"Live\\\"],\\\"objectType\\\":[\\\"Content\\\"]},\\\"fields\\\":[\\\"name\\\",\\\"appIcon\\\",\\\"contentType\\\",\\\"identifier\\\",\\\"objectType\\\",\\\"createdBy\\\"]}}\",\n \"title\": \"Digital Textbook\",\n \"translations\": \"{\\\"en\\\": \\\"Digital textbooks\\\", \\\"as\\\": \\\"ডিজিটেল পাঠ্যপুথিসমূহ\\\", \\\"bn\\\": \\\"ডিজিটাল পাঠ্যবই\\\", \\\"gu\\\":\\\"ડિજિટલ પાઠયપુસ્તકો\\\", \\\"hi\\\":\\\"डिजिटल पाठ्यपुस्तकें\\\", \\\"kn\\\":\\\"ಡಿಜಿಟಲ್ ಪಠ್ಯಪುಸ್ತಕಗಳು\\\", \\\"mr\\\":\\\"डिजिटल पाठ्यपुस्तके\\\", \\\"or\\\":\\\"ଡିଜିଟାଲ୍ ପାଠ୍ୟପୁସ୍ତକ\\\", \\\"pa\\\":\\\"ਡਿਜੀਟਲ ਪਾਠ ਪੁਸਤਕਾਂ\\\", \\\"ta\\\":\\\"டிஜிட்டல் பாடப்புத்தகங்கள்\\\", \\\"te\\\":\\\"పాఠ్యపుస్తకాలు\\\", \\\"ur\\\":\\\" ڈیجیٹل درسی کتابیں \\\"}\"\n },\n {\n \"index\": 7,\n \"activityType\": \"Content Playlist\",\n \"objectType\": \"Content\",\n \"isEnabled\": true,\n \"sortBy\": [\n {\n \"name\": \"asc\"\n }\n ],\n \"searchQuery\": \"{\\\"request\\\":{\\\"filters\\\":{\\\"primaryCategory\\\":[\\\"Content Playlist\\\"],\\\"status\\\":[\\\"Live\\\"],\\\"objectType\\\":[\\\"Content\\\"]},\\\"fields\\\":[\\\"name\\\",\\\"appIcon\\\",\\\"contentType\\\",\\\"identifier\\\",\\\"objectType\\\",\\\"createdBy\\\"]}}\",\n \"title\": \"Content Playlist\",\n \"translations\": \"{\\\"en\\\": \\\"Content Playlist\\\", \\\"as\\\": \\\"বিষয়বস্তুৰ প্লে'লিষ্ট\\\", \\\"bn\\\": \\\"কন্টেন্ট প্লেলিস্ট\\\", \\\"gu\\\":\\\"કન્ટેન્ટ જોવાનું લિસ્ટ\\\", \\\"hi\\\":\\\"कंटेन्ट प्लेलिस्ट\\\", \\\"kn\\\":\\\" ಪಠ್ಯಾಂಶ ಪ್ಲೇಲಿಸ್ಟ್\\\", \\\"mr\\\":\\\"सामग्री प्लेलिस्ट \\\", \\\"or\\\":\\\" କଣ୍ଟେଣ୍ଟ ପ୍ଲେଲିଷ୍ଟ\\\", \\\"pa\\\":\\\"ਕੰਟੇੇਂਟ ਪਲੇਲਿਸਟ\\\", \\\"ta\\\":\\\"உள்ளடக்க பிளேலிஸ்ட்\\\", \\\"te\\\":\\\"కంటెంట్ ప్లేజాబితా\\\", \\\"ur\\\":\\\" مواد پلے لسٹ \\\"}\"\n },\n {\n \"index\": 8,\n \"activityType\": \"TV Lesson\",\n \"objectType\": \"Content\",\n \"isEnabled\": true,\n \"sortBy\": [\n {\n \"name\": \"asc\"\n }\n ],\n \"searchQuery\": \"{\\\"request\\\":{\\\"filters\\\":{\\\"primaryCategory\\\":[\\\"Explanation Content\\\"],\\\"additionalCategories\\\":[\\\"TV Lesson\\\"],\\\"status\\\":[\\\"Live\\\"],\\\"objectType\\\":[\\\"Content\\\"]},\\\"fields\\\":[\\\"name\\\",\\\"appIcon\\\",\\\"contentType\\\",\\\"identifier\\\",\\\"objectType\\\",\\\"createdBy\\\"]}}\",\n \"title\": \"TV Lesson\",\n \"translations\": \"{\\\"en\\\": \\\"TV Class\\\", \\\"as\\\": \\\"টিভি শ্ৰেণীসমূহ\\\", \\\"bn\\\": \\\"টিভিতে সম্প্রচারিত শিক্ষাদানের অনুষ্ঠানগুলি\\\", \\\"gu\\\":\\\"TV વર્ગો\\\", \\\"hi\\\":\\\"टीवी कक्षाएँ\\\", \\\"kn\\\":\\\"ಟಿವಿ ತರಗತಿಗಳು\\\", \\\"mr\\\":\\\"टीव्ही वर्ग \\\", \\\"or\\\":\\\"TV କ୍ଲାସଗୁଡ଼ିକ\\\", \\\"pa\\\":\\\"ਟੀਵੀ ਕਲਾਸਾਂ\\\", \\\"ta\\\":\\\"தொலைக்காட்சி வகுப்புகள்\\\", \\\"te\\\":\\\"టీవీ క్లాసులు\\\", \\\"ur\\\":\\\" ٹی وی کلاسز\\\"}\"\n },\n {\n \"index\": 9,\n \"activityType\": \"Previous Board Exam Papers\",\n \"objectType\": \"Content\",\n \"isEnabled\": true,\n \"sortBy\": [\n {\n \"name\": \"asc\"\n }\n ],\n \"searchQuery\": \"{\\\"request\\\":{\\\"filters\\\":{\\\"primaryCategory\\\":[\\\"Learning Resource\\\"],\\\"additionalCategories\\\":[\\\"Previous Board Exam Papers\\\"],\\\"status\\\":[\\\"Live\\\"],\\\"objectType\\\":[\\\"Content\\\"]},\\\"fields\\\":[\\\"name\\\",\\\"appIcon\\\",\\\"contentType\\\",\\\"identifier\\\",\\\"objectType\\\",\\\"createdBy\\\"]}}\",\n \"title\": \"Previous Board Exam Papers\",\n \"translations\": \"{\\\"en\\\": \\\"Earlier Year's Board Exam Papers\\\", \\\"as\\\": \\\"আগৰ বছৰৰ ব'ৰ্ডৰ পৰীক্ষাৰ প্ৰশ্নসমূহ\\\", \\\"bn\\\": \\\"আগের বছরের বোর্ড পরীক্ষার প্রশ্নপত্র\\\", \\\"gu\\\":\\\"ગત બોર્ડ પરીક્ષાના પેપર્સ\\\", \\\"hi\\\":\\\"पिछले वर्षों की बोर्ड परीक्षा पेपर\\\", \\\"kn\\\":\\\"ಹಿಂದಿನ ವರ್ಷಗಳ ಮಂಡಳಿ ಪರೀಕ್ಷೆ ಪ್ರಶ್ನೆಪತ್ರಿಕೆಗಳು\\\", \\\"mr\\\":\\\"मागील वर्षाचे बोर्ड परीक्षेचे पेपर \\\", \\\"or\\\":\\\"ପୂର୍ବ ବର୍ଷର ବୋର୍ଡ ପରୀକ୍ଷା ପ୍ରଶ୍ନପତ୍ର\\\", \\\"pa\\\":\\\"ਸ਼ੁਰੂਆਤੀ ਸਾਲ ਬੋਰਡ ਪ੍ਰੀਖਿਆ ਪੇਪਰ\\\", \\\"ta\\\":\\\"முந்தைய ஆண்டுகளில் போர்டு தேர்வுத் தாள்கள்\\\", \\\"te\\\":\\\"అంతకుముందు సంవత్సరం బోర్డు పరీక్షా పత్రాలు\\\", \\\"ur\\\":\\\"ابتدائی سالوں کے بورڈ کے امتحانی پرچے\\\"}\"\n }\n ]\n },\n \"rootOrgId\": \"*\"\n }\n}" }, "url": { - "raw": "{{host}}/api/object/category/definition/v1/update/obj-cat:digital-textbook_collection_all", + "raw": "{{host}}/api/data/v1/form/create", "host": [ "{{host}}" ], "path": [ "api", - "object", - "category", - "definition", + "data", "v1", - "update", - "obj-cat:digital-textbook_collection_all" + "form", + "create" ] } }, "response": [] }, { - "name": "7 - Course Configuration (editor)", + "name": "7 - Player", "request": { - "method": "PATCH", + "method": "POST", "header": [ - { - "key": "X-Channel-id", - "type": "text", - "value": "{{channel_name}}" - }, { "key": "Authorization", - "type": "text", "value": "Bearer {{apikey}}" }, { "key": "Content-Type", - "type": "text", "value": "application/json" } ], "body": { "mode": "raw", - "raw": "{\n \"request\": {\n \"objectCategoryDefinition\": {\n \"forms\": {\n \"childMetadata\": {\n \"templateName\": \"\",\n \"required\": [],\n \"properties\": [\n {\n \"code\": \"name\",\n \"editable\": true,\n \"displayProperty\": \"Editable\",\n \"dataType\": \"text\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1 required\"\n },\n \"description\": \"Name\",\n \"index\": 1,\n \"label\": \"Name\",\n \"required\": true,\n \"name\": \"Name\",\n \"inputType\": \"text\",\n \"placeholder\": \"Name\",\n \"validations\": [\n {\n \"type\": \"maxlength\",\n \"value\": \"50\",\n \"message\": \"Input is Exceeded\"\n }\n ]\n },\n {\n \"code\": \"learningOutcomeIds\",\n \"dataType\": \"list\",\n \"description\": \"\",\n \"editable\": true,\n \"index\": 2,\n \"inputType\": \"select\",\n \"label\": \"Learning Outcome :\",\n \"sourceCategory\": \"learningOutcome\",\n \"name\": \"Learning Outcome :\",\n \"placeholder\": \"Select Learning Outcome\",\n \"depends\": [\n \"topicsIds\"\n ],\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"required\": false\n },\n {\n \"code\": \"attributions\",\n \"dataType\": \"list\",\n \"description\": \"Attributions\",\n \"editable\": true,\n \"index\": 3,\n \"inputType\": \"text\",\n \"label\": \"Attributions :\",\n \"name\": \"attribution\",\n \"placeholder\": \"\",\n \"tooltip\": \"If you have relied on another work to create this content, provide the name of that creator and the source of that work.\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"required\": false\n },\n {\n \"code\": \"author\",\n \"dataType\": \"text\",\n \"description\": \"Author\",\n \"editable\": true,\n \"index\": 5,\n \"inputType\": \"text\",\n \"label\": \"Author:\",\n \"name\": \"Author\",\n \"placeholder\": \"Author\",\n \"tooltip\": \"Provide name of creator of this content.\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"required\": true\n },\n {\n \"code\": \"copyright\",\n \"dataType\": \"text\",\n \"description\": \"Copyright\",\n \"editable\": true,\n \"index\": 4,\n \"inputType\": \"text\",\n \"label\": \"Copyright and Year:\",\n \"name\": \"Copyright\",\n \"placeholder\": \"Enter Copyright and Year\",\n \"tooltip\": \"If you are an individual, creating original content, you are the copyright holder. If you are creating this course content on behalf of an organisation, the organisation may be the copyright holder. \",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"required\": true\n },\n {\n \"code\": \"license\",\n \"visible\": true,\n \"editable\": true,\n \"displayProperty\": \"Editable\",\n \"dataType\": \"text\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"description\": \"Subject of the Content to use to teach\",\n \"index\": 6,\n \"label\": \"License:\",\n \"required\": true,\n \"name\": \"license\",\n \"inputType\": \"select\",\n \"placeholder\": \"license\",\n \"tooltip\": \"Choose the more appropriate Creative commons license for this Content. \"\n },\n {\n \"code\": \"additionalCategories\",\n \"visible\": true,\n \"editable\": true,\n \"displayProperty\": \"Editable\",\n \"dataType\": \"list\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"description\": \"Subject of the Content to use to teach\",\n \"index\": 7,\n \"label\": \"Content Additional Categories\",\n \"required\": false,\n \"name\": \"additionalCategories\",\n \"inputType\": \"multiSelect\",\n \"placeholder\": \"Content Additional Categories\"\n }\n ]\n },\n \"create\": {\n \"templateName\": \"\",\n \"required\": [],\n \"properties\": [\n {\n \"name\": \"First Section\",\n \"fields\": [\n {\n \"code\": \"name\",\n \"dataType\": \"text\",\n \"description\": \"Name of the content\",\n \"editable\": true,\n \"inputType\": \"text\",\n \"label\": \"Title\",\n \"name\": \"Name\",\n \"placeholder\": \"Title\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1 required\"\n },\n \"required\": true,\n \"visible\": true,\n \"validations\": [\n {\n \"type\": \"maxLength\",\n \"value\": \"120\",\n \"message\": \"Input is Exceeded\"\n },\n {\n \"type\": \"required\",\n \"message\": \"Title is required\"\n }\n ]\n },\n {\n \"code\": \"description\",\n \"dataType\": \"text\",\n \"description\": \"Description of the content\",\n \"editable\": true,\n \"inputType\": \"textarea\",\n \"label\": \"Description\",\n \"name\": \"Description\",\n \"placeholder\": \"Description\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"required\": false,\n \"visible\": true,\n \"validations\": [\n {\n \"type\": \"maxLength\",\n \"value\": \"256\",\n \"message\": \"Input is Exceeded\"\n }\n ]\n },\n {\n \"code\": \"keywords\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"list\",\n \"name\": \"Keywords\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"description\": \"Keywords for the content\",\n \"inputType\": \"keywords\",\n \"label\": \"Keywords\",\n \"placeholder\": \"Input the keyword and PRESS enter\",\n \"required\": false,\n \"validations\": []\n }\n ]\n },\n {\n \"name\": \"Second Section\",\n \"fields\": [\n {\n \"code\": \"dialcodeRequired\",\n \"dataType\": \"text\",\n \"description\": \"QR CODE REQUIRED\",\n \"editable\": true,\n \"default\": \"No\",\n \"index\": 5,\n \"inputType\": \"radio\",\n \"label\": \"QR code required\",\n \"name\": \"dialcodeRequired\",\n \"placeholder\": \"QR code required\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"range\": [\n \"Yes\",\n \"No\"\n ],\n \"required\": false,\n \"visible\": false\n },\n {\n \"code\": \"dialcodes\",\n \"depends\": [\n \"dialcodeRequired\"\n ],\n \"dataType\": \"list\",\n \"description\": \"Digital Infrastructure for Augmented Learning\",\n \"editable\": true,\n \"inputType\": \"dialcode\",\n \"label\": \"QR code\",\n \"name\": \"dialcode\",\n \"placeholder\": \"Enter code here\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"required\": true,\n \"visible\": false,\n \"validations\": [\n {\n \"type\": \"minLength\",\n \"value\": \"2\"\n },\n {\n \"type\": \"maxLength\",\n \"value\": \"20\"\n }\n ]\n },\n {\n \"code\": \"primaryCategory\",\n \"dataType\": \"text\",\n \"description\": \"Type\",\n \"editable\": false,\n \"renderingHints\": {},\n \"inputType\": \"select\",\n \"label\": \"Category\",\n \"name\": \"Type\",\n \"placeholder\": \"\",\n \"required\": true,\n \"visible\": true,\n \"validations\": []\n },\n {\n \"code\": \"additionalCategories\",\n \"dataType\": \"list\",\n \"depends\": [\n \"primaryCategory\"\n ],\n \"description\": \"Additonal Category of the Content\",\n \"editable\": true,\n \"inputType\": \"nestedselect\",\n \"label\": \"Additional Category\",\n \"name\": \"Additional Category\",\n \"placeholder\": \"Select Additional Category\",\n \"renderingHints\": {},\n \"required\": false,\n \"visible\": true\n }\n ]\n },\n {\n \"name\": \"Organisation Framework Terms\",\n \"fields\": [\n {\n \"code\": \"framework\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"text\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"description\": \"\",\n \"label\": \"Course Type\",\n \"required\": true,\n \"name\": \"Framework\",\n \"inputType\": \"framework\",\n \"placeholder\": \"Select Course Type\",\n \"output\": \"identifier\",\n \"validations\": []\n },\n {\n \"code\": \"subjectIds\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"list\",\n \"depends\": [\n \"framework\"\n ],\n \"sourceCategory\": \"subject\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"description\": \"\",\n \"label\": \"Subjects covered in the course\",\n \"required\": true,\n \"name\": \"Subject\",\n \"inputType\": \"frameworkCategorySelect\",\n \"placeholder\": \"Select Subject(s)\",\n \"output\": \"identifier\",\n \"validations\": []\n },\n {\n \"code\": \"topicsIds\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"list\",\n \"depends\": [\n \"framework\",\n \"subjectIds\"\n ],\n \"sourceCategory\": \"topic\",\n \"renderingHints\": {},\n \"name\": \"Topic\",\n \"description\": \"Choose a Topics\",\n \"inputType\": \"topicselector\",\n \"label\": \"Topics covered in the course\",\n \"placeholder\": \"Choose Topics\",\n \"required\": false,\n \"output\": \"identifier\"\n }\n ]\n },\n {\n \"name\": \"Target Framework Terms\",\n \"fields\": [\n {\n \"code\": \"audience\",\n \"dataType\": \"list\",\n \"description\": \"Audience\",\n \"editable\": true,\n \"inputType\": \"nestedselect\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"label\": \"Audience Type\",\n \"name\": \"Audience Type\",\n \"placeholder\": \"Select Audience Type\",\n \"required\": false,\n \"visible\": true,\n \"range\": [\n \"Student\",\n \"Teacher\",\n \"Parent\",\n \"Administrator\",\n \"Other\"\n ]\n },\n {\n \"code\": \"targetBoardIds\",\n \"visible\": true,\n \"depends\": [],\n \"editable\": true,\n \"dataType\": \"list\",\n \"sourceCategory\": \"board\",\n \"output\": \"identifier\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"description\": \"Board\",\n \"label\": \"Board/Syllabus of the audience\",\n \"required\": true,\n \"name\": \"Board/Syllabus\",\n \"inputType\": \"select\",\n \"placeholder\": \"Select Board/Syllabus\",\n \"validations\": []\n },\n {\n \"code\": \"targetMediumIds\",\n \"visible\": true,\n \"depends\": [\n \"targetBoardIds\"\n ],\n \"editable\": true,\n \"dataType\": \"list\",\n \"sourceCategory\": \"medium\",\n \"output\": \"identifier\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"description\": \"\",\n \"label\": \"Medium(s) of the audience\",\n \"required\": true,\n \"name\": \"Medium\",\n \"inputType\": \"nestedselect\",\n \"placeholder\": \"Select Medium\",\n \"validations\": []\n },\n {\n \"code\": \"targetGradeLevelIds\",\n \"visible\": true,\n \"depends\": [\n \"targetBoardIds\",\n \"targetMediumIds\"\n ],\n \"editable\": true,\n \"dataType\": \"list\",\n \"sourceCategory\": \"gradeLevel\",\n \"output\": \"identifier\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"description\": \"Class\",\n \"label\": \"Class(es) of the audience\",\n \"required\": true,\n \"name\": \"Class\",\n \"inputType\": \"nestedselect\",\n \"placeholder\": \"Select Class\",\n \"validations\": []\n },\n {\n \"code\": \"targetSubjectIds\",\n \"visible\": true,\n \"depends\": [\n \"targetBoardIds\",\n \"targetMediumIds\",\n \"targetGradeLevelIds\"\n ],\n \"editable\": true,\n \"dataType\": \"list\",\n \"sourceCategory\": \"subject\",\n \"output\": \"identifier\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"description\": \"\",\n \"label\": \"Subject(s) of the audience\",\n \"required\": true,\n \"name\": \"Subject\",\n \"inputType\": \"nestedselect\",\n \"placeholder\": \"Select Subject\",\n \"validations\": []\n }\n ]\n },\n {\n \"name\": \"Fourth Section\",\n \"fields\": [\n {\n \"code\": \"author\",\n \"dataType\": \"text\",\n \"description\": \"Author of the content\",\n \"editable\": true,\n \"inputType\": \"text\",\n \"label\": \"Author\",\n \"name\": \"Author\",\n \"placeholder\": \"Author\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"required\": false,\n \"visible\": true\n },\n {\n \"code\": \"attributions\",\n \"dataType\": \"text\",\n \"description\": \"Attributions\",\n \"editable\": true,\n \"inputType\": \"text\",\n \"label\": \"Attributions\",\n \"name\": \"Attributions\",\n \"placeholder\": \"Attributions\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"required\": false,\n \"visible\": true\n },\n {\n \"code\": \"copyright\",\n \"dataType\": \"text\",\n \"description\": \"Copyright\",\n \"editable\": true,\n \"inputType\": \"text\",\n \"label\": \"Copyright\",\n \"name\": \"Copyright & year\",\n \"placeholder\": \"Copyright\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1 required\"\n },\n \"required\": true,\n \"visible\": true,\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"Copyright is required\"\n }\n ]\n },\n {\n \"code\": \"copyrightYear\",\n \"dataType\": \"number\",\n \"description\": \"Year\",\n \"editable\": true,\n \"inputType\": \"text\",\n \"label\": \"Copyright Year\",\n \"name\": \"Copyright Year\",\n \"placeholder\": \"Copyright Year\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1 required\"\n },\n \"required\": true,\n \"visible\": true,\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"Copyright Year is required\"\n }\n ]\n },\n {\n \"code\": \"license\",\n \"dataType\": \"text\",\n \"description\": \"license\",\n \"editable\": true,\n \"inputType\": \"select\",\n \"label\": \"License\",\n \"name\": \"license\",\n \"placeholder\": \"Select License\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1 required\"\n },\n \"required\": true,\n \"visible\": true,\n \"defaultValue\": \"CC BY 4.0\",\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"License is required\"\n }\n ]\n }\n ]\n }\n ]\n },\n \"delete\": {},\n \"publish\": {},\n \"publishchecklist\": {\n \"templateName\": \"\",\n \"required\": [],\n \"properties\": [\n {\n \"name\": \"Appropriateness\",\n \"renderingHints\": {\n \"class\": \"d-grid-inline-3 display-sectionName\"\n },\n \"fields\": [\n {\n \"code\": \"appropriatenessOne\",\n \"name\": \"No Hate speech, Abuse, Violence, Profanity\",\n \"label\": \"No Hate speech, Abuse, Violence, Profanity\",\n \"dataType\": \"boolean\",\n \"inputType\": \"checkbox\",\n \"editable\": true,\n \"required\": false,\n \"visible\": true,\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"\"\n }\n ],\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n }\n },\n {\n \"code\": \"appropriatenessTwo\",\n \"name\": \"No Sexual content, Nudity or Vulgarity\",\n \"label\": \"No Sexual content, Nudity or Vulgarity\",\n \"dataType\": \"boolean\",\n \"inputType\": \"checkbox\",\n \"editable\": true,\n \"required\": false,\n \"visible\": true,\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"\"\n }\n ],\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n }\n },\n {\n \"code\": \"appropriatenessThree\",\n \"name\": \"No Discrimination or Defamation\",\n \"label\": \"No Discrimination or Defamation\",\n \"dataType\": \"boolean\",\n \"inputType\": \"checkbox\",\n \"editable\": true,\n \"required\": false,\n \"visible\": true,\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"\"\n }\n ],\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n }\n },\n {\n \"code\": \"appropriatenessFour\",\n \"name\": \"Is suitable for children\",\n \"label\": \"Is suitable for children\",\n \"dataType\": \"boolean\",\n \"inputType\": \"checkbox\",\n \"editable\": true,\n \"required\": false,\n \"visible\": true,\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"\"\n }\n ],\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n }\n }\n ]\n },\n {\n \"name\": \"Content details\",\n \"renderingHints\": {\n \"class\": \"d-grid-inline-3 display-sectionName\"\n },\n \"fields\": [\n {\n \"code\": \"contentdetailsOne\",\n \"name\": \"Appropriate Title, Description\",\n \"label\": \"Appropriate Title, Description\",\n \"dataType\": \"boolean\",\n \"inputType\": \"checkbox\",\n \"editable\": true,\n \"required\": false,\n \"visible\": true,\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"\"\n }\n ],\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n }\n },\n {\n \"code\": \"contentdetailsTwo\",\n \"name\": \"Correct Board, Grade, Subject, Medium\",\n \"label\": \"Correct Board, Grade, Subject, Medium\",\n \"dataType\": \"boolean\",\n \"inputType\": \"checkbox\",\n \"editable\": true,\n \"required\": false,\n \"visible\": true,\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"\"\n }\n ],\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n }\n },\n {\n \"code\": \"contentdetailsThree\",\n \"name\": \"Appropriate tags such as Resource Type, Concepts\",\n \"label\": \"Appropriate tags such as Resource Type, Concepts\",\n \"dataType\": \"boolean\",\n \"inputType\": \"checkbox\",\n \"editable\": true,\n \"required\": false,\n \"visible\": true,\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"\"\n }\n ],\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n }\n },\n {\n \"code\": \"contentdetailsFour\",\n \"name\": \"Relevant Keywords\",\n \"label\": \"Relevant Keywords\",\n \"dataType\": \"boolean\",\n \"inputType\": \"checkbox\",\n \"editable\": true,\n \"required\": false,\n \"visible\": true,\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"\"\n }\n ],\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n }\n }\n ]\n },\n {\n \"name\": \"Usability\",\n \"renderingHints\": {\n \"class\": \"d-grid-inline-3 display-sectionName\"\n },\n \"fields\": [\n {\n \"code\": \"usabilityOne\",\n \"name\": \"Content plays correctly\",\n \"label\": \"Content plays correctly\",\n \"dataType\": \"boolean\",\n \"inputType\": \"checkbox\",\n \"editable\": true,\n \"required\": false,\n \"visible\": true,\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"\"\n }\n ],\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n }\n },\n {\n \"code\": \"usabilityTwo\",\n \"name\": \"Can see the content clearly on Desktop and App\",\n \"label\": \"Can see the content clearly on Desktop and App\",\n \"dataType\": \"boolean\",\n \"inputType\": \"checkbox\",\n \"editable\": true,\n \"required\": false,\n \"visible\": true,\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"\"\n }\n ],\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n }\n },\n {\n \"code\": \"usabilityThree\",\n \"name\": \"Audio (if any) is clear and easy to understand\",\n \"label\": \"Audio (if any) is clear and easy to understand\",\n \"dataType\": \"boolean\",\n \"inputType\": \"checkbox\",\n \"editable\": true,\n \"required\": false,\n \"visible\": true,\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"\"\n }\n ],\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n }\n },\n {\n \"code\": \"usabilityFour\",\n \"name\": \"No Spelling mistakes in the text\",\n \"label\": \"No Spelling mistakes in the text\",\n \"dataType\": \"boolean\",\n \"inputType\": \"checkbox\",\n \"editable\": true,\n \"required\": false,\n \"visible\": true,\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"\"\n }\n ],\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n }\n },\n {\n \"code\": \"usabilityFive\",\n \"name\": \"Language is simple to understand\",\n \"label\": \"Language is simple to understand\",\n \"dataType\": \"boolean\",\n \"inputType\": \"checkbox\",\n \"editable\": true,\n \"required\": false,\n \"visible\": true,\n \"validations\": [\n {\n \"type\": \"required\",\n \"message\": \"\"\n }\n ],\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n }\n }\n ]\n }\n ]\n },\n \"requestforchangeschecklist\": {\n \"templateName\": \"\",\n \"required\": [],\n \"properties\": [\n {\n \"otherReason\": \"Other Issue(s) (if there are any other issues, tick this and provide details in the comments box)\",\n \"contents\": [\n {\n \"name\": \"Appropriateness\",\n \"checkList\": [\n \"Has Hate speech, Abuse, Violence, Profanity\",\n \"Has Sexual content, Nudity or Vulgarity\",\n \"Has Discriminatory or Defamatory content\",\n \"Is not suitable for children\"\n ]\n },\n {\n \"name\": \"Content details\",\n \"checkList\": [\n \"Inappropriate Title or Description\",\n \"Incorrect Board, Grade, Subject or Medium\",\n \"Inappropriate tags such as Resource Type or Concepts\",\n \"Irrelevant Keywords\"\n ]\n },\n {\n \"name\": \"Usability\",\n \"checkList\": [\n \"Content is NOT playing correctly\",\n \"CANNOT see the content clearly on Desktop and App\",\n \"Audio is NOT clear or NOT easy to understand\",\n \"Spelling mistakes found in text used\",\n \"Language is NOT simple to understand\"\n ]\n }\n ],\n \"title\": \"Please tick the reasons for requesting changes and provide detailed comments:\"\n }\n ]\n },\n \"review\": {},\n \"search\": {\n \"templateName\": \"\",\n \"required\": [],\n \"properties\": [\n {\n \"code\": \"primaryCategory\",\n \"dataType\": \"list\",\n \"description\": \"Type\",\n \"editable\": true,\n \"default\": [],\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"inputType\": \"nestedselect\",\n \"label\": \"Content Type(s)\",\n \"name\": \"Type\",\n \"placeholder\": \"Select ContentType\",\n \"required\": false,\n \"visible\": true\n },\n {\n \"code\": \"board\",\n \"visible\": true,\n \"depends\": [],\n \"editable\": true,\n \"dataType\": \"list\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"description\": \"Board\",\n \"label\": \"Board\",\n \"required\": false,\n \"name\": \"Board\",\n \"inputType\": \"select\",\n \"placeholder\": \"Select Board\",\n \"output\": \"name\"\n },\n {\n \"code\": \"medium\",\n \"visible\": true,\n \"depends\": [\n \"board\"\n ],\n \"editable\": true,\n \"dataType\": \"list\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"description\": \"\",\n \"label\": \"Medium(s)\",\n \"required\": false,\n \"name\": \"Medium\",\n \"inputType\": \"nestedselect\",\n \"placeholder\": \"Select Medium\",\n \"output\": \"name\"\n },\n {\n \"code\": \"gradeLevel\",\n \"visible\": true,\n \"depends\": [\n \"board\",\n \"medium\"\n ],\n \"editable\": true,\n \"default\": \"\",\n \"dataType\": \"list\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"description\": \"Class\",\n \"label\": \"Class(es)\",\n \"required\": false,\n \"name\": \"Class\",\n \"inputType\": \"nestedselect\",\n \"placeholder\": \"Select Class\",\n \"output\": \"name\"\n },\n {\n \"code\": \"subject\",\n \"visible\": true,\n \"depends\": [\n \"board\",\n \"medium\",\n \"gradeLevel\"\n ],\n \"editable\": true,\n \"default\": \"\",\n \"dataType\": \"list\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"description\": \"\",\n \"label\": \"Subject(s)\",\n \"required\": false,\n \"name\": \"Subject\",\n \"inputType\": \"nestedselect\",\n \"placeholder\": \"Select Subject\",\n \"output\": \"name\"\n },\n {\n \"code\": \"topic\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"list\",\n \"depends\": [\n \"board\",\n \"medium\",\n \"gradeLevel\",\n \"subject\"\n ],\n \"default\": \"\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"name\": \"Topic\",\n \"description\": \"Choose a Topics\",\n \"inputType\": \"topicselector\",\n \"label\": \"Topic(s)\",\n \"placeholder\": \"Choose Topics\",\n \"required\": false\n }\n ]\n },\n \"unitMetadata\": {\n \"templateName\": \"\",\n \"required\": [],\n \"properties\": [\n {\n \"name\": \"First Section\",\n \"fields\": [\n {\n \"code\": \"name\",\n \"dataType\": \"text\",\n \"description\": \"Name of the content\",\n \"editable\": true,\n \"inputType\": \"text\",\n \"label\": \"Title\",\n \"name\": \"Title\",\n \"placeholder\": \"Title\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1 required\"\n },\n \"required\": true,\n \"visible\": true,\n \"validations\": [\n {\n \"type\": \"max\",\n \"value\": \"120\",\n \"message\": \"Input is Exceeded\"\n },\n {\n \"type\": \"required\",\n \"message\": \"Title is required\"\n }\n ]\n },\n {\n \"code\": \"description\",\n \"dataType\": \"text\",\n \"description\": \"Description of the content\",\n \"editable\": true,\n \"inputType\": \"textarea\",\n \"label\": \"Description\",\n \"name\": \"Description\",\n \"placeholder\": \"Description\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1 required\"\n },\n \"required\": true,\n \"visible\": true,\n \"validations\": [\n {\n \"type\": \"max\",\n \"value\": \"120\",\n \"message\": \"Input is Exceeded\"\n },\n {\n \"type\": \"required\",\n \"message\": \"Title is required\"\n }\n ]\n },\n {\n \"code\": \"keywords\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"list\",\n \"name\": \"Keywords\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"description\": \"Keywords for the content\",\n \"inputType\": \"keywords\",\n \"label\": \"Keywords\",\n \"placeholder\": \"Input the keyword and PRESS enter\",\n \"required\": false,\n \"validations\": []\n },\n {\n \"code\": \"topic\",\n \"visible\": true,\n \"depends\": [],\n \"editable\": true,\n \"dataType\": \"list\",\n \"renderingHints\": {},\n \"name\": \"Topic\",\n \"description\": \"Choose a Topics\",\n \"index\": 11,\n \"inputType\": \"topicselector\",\n \"label\": \"Topics\",\n \"placeholder\": \"Choose Topics\",\n \"required\": false,\n \"validations\": []\n },\n {\n \"code\": \"dialcodeRequired\",\n \"dataType\": \"text\",\n \"description\": \"QR CODE REQUIRED\",\n \"editable\": true,\n \"default\": \"No\",\n \"index\": 5,\n \"inputType\": \"radio\",\n \"label\": \"QR code required\",\n \"name\": \"dialcodeRequired\",\n \"placeholder\": \"QR code required\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"range\": [\n \"Yes\",\n \"No\"\n ],\n \"required\": false,\n \"visible\": false\n },\n {\n \"code\": \"dialcodes\",\n \"depends\": [\n \"dialcodeRequired\"\n ],\n \"dataType\": \"list\",\n \"description\": \"Digital Infrastructure for Augmented Learning\",\n \"editable\": true,\n \"inputType\": \"dialcode\",\n \"label\": \"QR code\",\n \"name\": \"dialcode\",\n \"placeholder\": \"Enter code here\",\n \"renderingHints\": {\n \"class\": \"sb-g-col-lg-1\"\n },\n \"required\": true,\n \"visible\": false,\n \"validations\": [\n {\n \"type\": \"minLength\",\n \"value\": \"2\"\n },\n {\n \"type\": \"maxLength\",\n \"value\": \"20\"\n }\n ]\n }\n ]\n }\n ]\n },\n \"update\": {\n \"templateName\": \"\",\n \"required\": [],\n \"properties\": [\n {\n \"code\": \"name\",\n \"editable\": true,\n \"displayProperty\": \"Editable\",\n \"dataType\": \"text\",\n \"renderingHints\": {\n \"semanticColumnWidth\": \"twelve\"\n },\n \"description\": \"Name\",\n \"index\": 1,\n \"label\": \"Name\",\n \"required\": false,\n \"name\": \"Name\",\n \"inputType\": \"text\",\n \"placeholder\": \"Name\"\n },\n {\n \"code\": \"board\",\n \"depends\": [\n \"medium\",\n \"gradeLevel\",\n \"subject\"\n ],\n \"editable\": true,\n \"displayProperty\": \"Editable\",\n \"dataType\": \"text\",\n \"renderingHints\": {\n \"semanticColumnWidth\": \"six\"\n },\n \"description\": \"Education Board (Like MP Board, NCERT, etc)\",\n \"index\": 2,\n \"label\": \"Board\",\n \"required\": false,\n \"name\": \"Board\",\n \"inputType\": \"select\",\n \"placeholder\": \"Board\"\n },\n {\n \"code\": \"medium\",\n \"depends\": [\n \"gradeLevel\",\n \"subject\"\n ],\n \"editable\": true,\n \"dataType\": \"list\",\n \"renderingHints\": {\n \"semanticColumnWidth\": \"six\"\n },\n \"description\": \"Medium of instruction\",\n \"index\": 3,\n \"label\": \"Medium\",\n \"required\": false,\n \"name\": \"Medium\",\n \"inputType\": \"multiSelect\",\n \"placeholder\": \"Medium\"\n },\n {\n \"code\": \"gradeLevel\",\n \"depends\": [\n \"subject\"\n ],\n \"editable\": true,\n \"dataType\": \"list\",\n \"renderingHints\": {\n \"semanticColumnWidth\": \"six\"\n },\n \"description\": \"Grade\",\n \"index\": 4,\n \"label\": \"Grade\",\n \"required\": false,\n \"name\": \"Grade\",\n \"inputType\": \"multiSelect\",\n \"placeholder\": \"Grade\"\n },\n {\n \"code\": \"subject\",\n \"editable\": true,\n \"dataType\": \"list\",\n \"renderingHints\": {\n \"semanticColumnWidth\": \"six\"\n },\n \"name\": \"Subject\",\n \"description\": \"Subject of the Content to use to teach\",\n \"index\": 5,\n \"inputType\": \"multiSelect\",\n \"label\": \"Subject\",\n \"placeholder\": \"Grade\",\n \"required\": false\n },\n {\n \"code\": \"learningOutcome\",\n \"dataType\": \"list\",\n \"description\": \"\",\n \"editable\": true,\n \"index\": 6,\n \"inputType\": \"select\",\n \"label\": \"Learning Outcome :\",\n \"name\": \"Learning Outcome :\",\n \"placeholder\": \"Select Learning Outcome\",\n \"depends\": [\n \"topic\"\n ],\n \"renderingHints\": {},\n \"required\": false\n },\n {\n \"code\": \"attributions\",\n \"dataType\": \"list\",\n \"description\": \"Attributions\",\n \"editable\": true,\n \"index\": 7,\n \"inputType\": \"text\",\n \"label\": \"Attributions\",\n \"name\": \"attribution\",\n \"placeholder\": \"\",\n \"tooltip\": \"If you have relied on another work to create this content, provide the name of that creator and the source of that work.\",\n \"renderingHints\": {},\n \"required\": false\n },\n {\n \"code\": \"author\",\n \"dataType\": \"text\",\n \"description\": \"Author\",\n \"editable\": true,\n \"index\": 8,\n \"inputType\": \"text\",\n \"label\": \"Author\",\n \"name\": \"Author\",\n \"placeholder\": \"Author\",\n \"tooltip\": \"Provide name of creator of this content.\",\n \"renderingHints\": {},\n \"required\": false\n },\n {\n \"code\": \"copyright\",\n \"dataType\": \"text\",\n \"description\": \"Copyright\",\n \"editable\": true,\n \"index\": 9,\n \"inputType\": \"text\",\n \"label\": \"Copyright\",\n \"name\": \"Copyright\",\n \"placeholder\": \"Copyright\",\n \"tooltip\": \"If you are an individual, creating original content, you are the copyright holder. If you are creating this course content on behalf of an organisation, the organisation may be the copyright holder. \",\n \"renderingHints\": {},\n \"required\": false\n }\n ]\n }\n }\n }\n }\n}", - "options": { - "raw": { - "language": "json" - } - } + "raw": "{\n \"request\": \n{\n \"type\": \"content\",\n \"subType\": \"player\",\n \"action\": \"play\",\n \"component\": \"*\",\n \"framework\": \"*\",\n \"data\": {\n \"templateName\": \"defaultTemplate\",\n \"action\": \"play\",\n \"fields\": [\n {\n \"type\": \"video-player\",\n \"version\": 2,\n \"mimeType\": [\n \"video/mp4\",\n \"video/webm\"\n ]\n },\n {\n \"type\": \"pdf-player\",\n \"version\": 2,\n \"mimeType\": [\n \"application/pdf\"\n ]\n },\n {\n \"type\": \"epub-player\",\n \"version\": 2,\n \"mimeType\": [\n \"application/epub\"\n ]\n },\n {\n \"type\": \"quml-player\",\n \"version\": 2,\n \"threshold\": 3,\n \"mimeType\": [\n \"application/vnd.sunbird.questionset\"\n ]\n }\n ]\n },\n \"rootOrgId\": \"*\"\n }\n}" }, "url": { - "raw": "{{host}}/api/object/category/definition/v1/update/obj-cat:course_collection_all", + "raw": "{{host}}/api/data/v1/form/create", "host": [ "{{host}}" ], "path": [ "api", - "object", - "category", - "definition", + "data", "v1", - "update", - "obj-cat:course_collection_all" + "form", + "create" ] } }, "response": [] }, { - "name": "8 - Update form", + "name": "8 - ProfileConfigV2", "request": { "method": "POST", "header": [ { "key": "Authorization", - "value": "Bearer {{apikey}}", - "type": "text" + "value": "Bearer {{apikey}}" }, { "key": "Content-Type", - "value": "application/json", - "type": "text" + "value": "application/json" } ], "body": { "mode": "raw", - "raw": "{\n \"request\": {\n \"action\": \"create\",\n \"subType\": \"resource\",\n \"framework\": \"*\",\n \"rootOrgId\": \"*\",\n \"type\": \"content\",\n \"data\": {\n \"templateName\": \"defaultTemplate\",\n \"action\": \"get\",\n \"fields\": [\n {\n \"code\": \"appicon\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"url\",\n \"renderingHints\": {},\n \"name\": \"App Icon\",\n \"description\": \"App Icon\",\n \"index\": 1,\n \"inputType\": \"file\",\n \"label\": \"Icon\",\n \"placeholder\": \"App Icon\",\n \"required\": false\n },\n {\n \"code\": \"name\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"text\",\n \"renderingHints\": {},\n \"name\": \"Title\",\n \"description\": \"Title of the content\",\n \"index\": 2,\n \"inputType\": \"text\",\n \"label\": \"Title\",\n \"placeholder\": \"Enter Title For Book\",\n \"required\": false\n },\n {\n \"code\": \"description\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"text\",\n \"renderingHints\": {},\n \"name\": \"Description\",\n \"description\": \"Brief description\",\n \"index\": 3,\n \"inputType\": \"textarea\",\n \"label\": \"Description\",\n \"placeholder\": \"Brief description about the Book\",\n \"required\": false\n },\n {\n \"code\": \"board\",\n \"visible\": true,\n \"depends\": [\n \"medium\",\n \"gradeLevel\",\n \"subject\",\n \"topic\"\n ],\n \"editable\": true,\n \"dataType\": \"text\",\n \"renderingHints\": {},\n \"description\": \"Board\",\n \"index\": 5,\n \"label\": \"Board/Syllabus\",\n \"required\": false,\n \"name\": \"Board/Syllabus\",\n \"inputType\": \"select\",\n \"placeholder\": \"Select Board/Syllabus\"\n },\n {\n \"code\": \"medium\",\n \"visible\": true,\n \"depends\": [\n \"gradeLevel\",\n \"subject\",\n \"topic\"\n ],\n \"editable\": true,\n \"dataType\": \"list\",\n \"renderingHints\": {},\n \"description\": \"\",\n \"index\": 6,\n \"label\": \"Medium\",\n \"required\": false,\n \"name\": \"medium\",\n \"inputType\": \"multiselect\",\n \"placeholder\": \"Select Medium\"\n },\n {\n \"code\": \"gradeLevel\",\n \"visible\": true,\n \"depends\": [\n \"subject\",\n \"topic\"\n ],\n \"editable\": true,\n \"dataType\": \"list\",\n \"renderingHints\": {},\n \"description\": \"Class\",\n \"index\": 7,\n \"label\": \"Class\",\n \"required\": false,\n \"name\": \"Class\",\n \"inputType\": \"multiselect\",\n \"placeholder\": \"Select Class\"\n },\n {\n \"code\": \"subject\",\n \"visible\": true,\n \"depends\": [\n \"topic\"\n ],\n \"editable\": true,\n \"dataType\": \"list\",\n \"renderingHints\": {},\n \"description\": \"\",\n \"index\": 8,\n \"label\": \"Subject\",\n \"required\": false,\n \"name\": \"Subject\",\n \"inputType\": \"multiselect\",\n \"placeholder\": \"Select Subject\"\n }\n ]\n }\n }\n}", - "options": { - "raw": { - "language": "json" - } - } + "raw": "{\n \"request\": \n{\n \"type\": \"profileConfig_v2\",\n \"subType\": \"default\",\n \"action\": \"get\",\n \"component\": \"*\",\n \"framework\": \"*\",\n \"data\": {\n \"templateName\": \"profileConfig_v2\",\n \"action\": \"get\",\n \"fields\": [\n {\n \"code\": \"name\",\n \"type\": \"input\",\n \"templateOptions\": {\n \"labelHtml\": {\n \"contents\": \"$0 *\",\n \"values\": {\n \"$0\": \"Name\"\n }\n },\n \"hidden\": true,\n \"placeHolder\": \"Enter Name\",\n \"multiple\": false\n },\n \"validations\": [\n {\n \"type\": \"required\"\n }\n ]\n },\n {\n \"code\": \"persona\",\n \"type\": \"nested_select\",\n \"templateOptions\": {\n \"hidden\": true,\n \"labelHtml\": {\n \"contents\": \"$0 *\",\n \"values\": {\n \"$0\": \"Role\"\n }\n },\n \"placeHolder\": \"Select Role\",\n \"multiple\": false,\n \"dataSrc\": {\n \"marker\": \"SUPPORTED_PERSONA_LIST\"\n }\n },\n \"validations\": [\n {\n \"type\": \"required\"\n }\n ],\n \"children\": {\n \"administrator\": [\n {\n \"code\": \"state\",\n \"type\": \"select\",\n \"templateOptions\": {\n \"labelHtml\": {\n \"contents\": \"$0 *\",\n \"values\": {\n \"$0\": \"State\"\n }\n },\n \"placeHolder\": \"Select State\",\n \"multiple\": false,\n \"dataSrc\": {\n \"marker\": \"STATE_LOCATION_LIST\",\n \"params\": {\n \"useCase\": \"SIGNEDIN_GUEST\"\n }\n }\n },\n \"validations\": [\n {\n \"type\": \"required\"\n }\n ]\n },\n {\n \"code\": \"district\",\n \"type\": \"select\",\n \"context\": \"state\",\n \"default\": null,\n \"templateOptions\": {\n \"labelHtml\": {\n \"contents\": \"$0 *\",\n \"values\": {\n \"$0\": \"District\"\n }\n },\n \"placeHolder\": \"Select District\",\n \"multiple\": false,\n \"dataSrc\": {\n \"marker\": \"LOCATION_LIST\",\n \"params\": {\n \"id\": \"district\",\n \"useCase\": \"SIGNEDIN_GUEST\"\n }\n }\n },\n \"validations\": [\n {\n \"type\": \"required\"\n }\n ]\n },\n {\n \"code\": \"subPersona\",\n \"type\": \"select\",\n \"default\": null,\n \"templateOptions\": {\n \"labelHtml\": {\n \"contents\": \"$0 *\",\n \"values\": {\n \"$0\": \"Subrole\"\n }\n },\n \"placeHolder\": \"Select Subrole\",\n \"multiple\": true,\n \"dataSrc\": {\n \"marker\": \"SUBPERSONA_LIST\",\n \"params\": {\n \"useCase\": \"SIGNEDIN\"\n }\n },\n \"options\": [\n {\n \"label\": \"Principal\",\n \"value\": \"PRINCIPAL\"\n },\n {\n \"label\": \"State Project Director\",\n \"value\": \"SPD\"\n },\n {\n \"label\": \"District Education Officer\",\n \"value\": \"DEO\"\n },\n {\n \"label\": \"Block Education Officer\",\n \"value\": \"BEO\"\n },\n {\n \"label\": \"Headmaster/Headmistress\",\n \"value\": \"HM\"\n },\n {\n \"label\": \"Head Teacher\",\n \"value\": \"HT\"\n },\n {\n \"value\": \"DE\",\n \"label\": \"Director Education\"\n },\n {\n \"value\": \"ADE\",\n \"label\": \"Additional Director Education\"\n },\n {\n \"value\": \"JDE\",\n \"label\": \"Joint Director Education\"\n },\n {\n \"value\": \"DDE\",\n \"label\": \"Deputy Director Education\"\n },\n {\n \"value\": \"CONSULTANT\",\n \"label\": \"Consultant\"\n },\n {\n \"value\": \"SRL\",\n \"label\": \"Sr. Lecturer\"\n },\n {\n \"value\": \"PROFESSOR\",\n \"label\": \"Professor\"\n },\n {\n \"value\": \"ASSIP\",\n \"label\": \"Assistant Professor\"\n },\n {\n \"value\": \"ASSOP\",\n \"label\": \"Associate Professor\"\n },\n {\n \"value\": \"DIET_PRICIPAL\",\n \"label\": \"DIET Principal\"\n },\n {\n \"value\": \"BRC\",\n \"label\": \"BRC\"\n },\n {\n \"value\": \"CRCCD\",\n \"label\": \"CRCC\"\n },\n {\n \"value\": \"VP\",\n \"label\": \"Vice Principal\"\n },\n {\n \"value\": \"LR\",\n \"label\": \"Lecturer\"\n },\n {\n \"value\": \"HS\",\n \"label\": \"Head of School\"\n },\n {\n \"value\": \"LA\",\n \"label\": \"Lab Assistant\"\n },\n {\n \"value\": \"ITA\",\n \"label\": \"IT Assistant\"\n }\n ]\n },\n \"validations\": [\n {\n \"type\": \"required\"\n }\n ]\n },\n {\n \"code\": \"block\",\n \"type\": \"select\",\n \"context\": \"district\",\n \"default\": null,\n \"templateOptions\": {\n \"label\": \"Block\",\n \"placeHolder\": \"Select Block\",\n \"multiple\": false,\n \"dataSrc\": {\n \"marker\": \"LOCATION_LIST\",\n \"params\": {\n \"id\": \"block\",\n \"useCase\": \"SIGNEDIN\"\n }\n }\n },\n \"validations\": []\n },\n {\n \"code\": \"cluster\",\n \"type\": \"select\",\n \"context\": \"block\",\n \"default\": null,\n \"templateOptions\": {\n \"label\": \"Cluster\",\n \"placeHolder\": \"Select Cluster\",\n \"multiple\": false,\n \"dataSrc\": {\n \"marker\": \"LOCATION_LIST\",\n \"params\": {\n \"id\": \"cluster\",\n \"useCase\": \"SIGNEDIN\"\n }\n }\n },\n \"validations\": []\n },\n {\n \"code\": \"school\",\n \"type\": \"select\",\n \"context\": \"cluster\",\n \"default\": null,\n \"templateOptions\": {\n \"label\": \"School\",\n \"placeHolder\": \"Select School\",\n \"multiple\": false,\n \"dataSrc\": {\n \"marker\": \"LOCATION_LIST\",\n \"params\": {\n \"id\": \"school\",\n \"useCase\": \"SIGNEDIN\"\n }\n }\n }\n }\n ],\n \"teacher\": [\n {\n \"code\": \"state\",\n \"type\": \"select\",\n \"templateOptions\": {\n \"labelHtml\": {\n \"contents\": \"$0 *\",\n \"values\": {\n \"$0\": \"State\"\n }\n },\n \"placeHolder\": \"Select State\",\n \"multiple\": false,\n \"dataSrc\": {\n \"marker\": \"STATE_LOCATION_LIST\",\n \"params\": {\n \"useCase\": \"SIGNEDIN_GUEST\"\n }\n }\n },\n \"validations\": [\n {\n \"type\": \"required\"\n }\n ]\n },\n {\n \"code\": \"district\",\n \"type\": \"select\",\n \"context\": \"state\",\n \"default\": null,\n \"templateOptions\": {\n \"labelHtml\": {\n \"contents\": \"$0 *\",\n \"values\": {\n \"$0\": \"District\"\n }\n },\n \"placeHolder\": \"Select District\",\n \"multiple\": false,\n \"dataSrc\": {\n \"marker\": \"LOCATION_LIST\",\n \"params\": {\n \"id\": \"district\",\n \"useCase\": \"SIGNEDIN_GUEST\"\n }\n }\n },\n \"validations\": [\n {\n \"type\": \"required\"\n }\n ]\n },\n {\n \"code\": \"block\",\n \"type\": \"select\",\n \"context\": \"district\",\n \"default\": null,\n \"templateOptions\": {\n \"label\": \"Block\",\n \"placeHolder\": \"Select Block\",\n \"multiple\": false,\n \"dataSrc\": {\n \"marker\": \"LOCATION_LIST\",\n \"params\": {\n \"id\": \"block\",\n \"useCase\": \"SIGNEDIN\"\n }\n }\n },\n \"validations\": []\n },\n {\n \"code\": \"cluster\",\n \"type\": \"select\",\n \"context\": \"block\",\n \"default\": null,\n \"templateOptions\": {\n \"label\": \"Cluster\",\n \"placeHolder\": \"Select Cluster\",\n \"multiple\": false,\n \"dataSrc\": {\n \"marker\": \"LOCATION_LIST\",\n \"params\": {\n \"id\": \"cluster\",\n \"useCase\": \"SIGNEDIN\"\n }\n }\n },\n \"validations\": []\n },\n {\n \"code\": \"school\",\n \"type\": \"select\",\n \"context\": \"cluster\",\n \"default\": null,\n \"templateOptions\": {\n \"label\": \"School\",\n \"placeHolder\": \"Select School\",\n \"multiple\": false,\n \"dataSrc\": {\n \"marker\": \"LOCATION_LIST\",\n \"params\": {\n \"id\": \"school\",\n \"useCase\": \"SIGNEDIN\"\n }\n }\n }\n }\n ],\n \"student\": [\n {\n \"code\": \"state\",\n \"type\": \"select\",\n \"templateOptions\": {\n \"labelHtml\": {\n \"contents\": \"$0 *\",\n \"values\": {\n \"$0\": \"State\"\n }\n },\n \"placeHolder\": \"Select State\",\n \"multiple\": false,\n \"dataSrc\": {\n \"marker\": \"STATE_LOCATION_LIST\",\n \"params\": {\n \"useCase\": \"SIGNEDIN_GUEST\"\n }\n }\n },\n \"validations\": [\n {\n \"type\": \"required\"\n }\n ]\n },\n {\n \"code\": \"district\",\n \"type\": \"select\",\n \"context\": \"state\",\n \"default\": null,\n \"templateOptions\": {\n \"labelHtml\": {\n \"contents\": \"$0 *\",\n \"values\": {\n \"$0\": \"District\"\n }\n },\n \"placeHolder\": \"Select District\",\n \"multiple\": false,\n \"dataSrc\": {\n \"marker\": \"LOCATION_LIST\",\n \"params\": {\n \"id\": \"district\",\n \"useCase\": \"SIGNEDIN_GUEST\"\n }\n }\n },\n \"validations\": [\n {\n \"type\": \"required\"\n }\n ]\n },\n {\n \"code\": \"block\",\n \"type\": \"select\",\n \"context\": \"district\",\n \"default\": null,\n \"templateOptions\": {\n \"label\": \"Block\",\n \"placeHolder\": \"Select Block\",\n \"multiple\": false,\n \"dataSrc\": {\n \"marker\": \"LOCATION_LIST\",\n \"params\": {\n \"id\": \"block\",\n \"useCase\": \"SIGNEDIN\"\n }\n }\n },\n \"validations\": []\n },\n {\n \"code\": \"cluster\",\n \"type\": \"select\",\n \"context\": \"block\",\n \"default\": null,\n \"templateOptions\": {\n \"label\": \"Cluster\",\n \"placeHolder\": \"Select Cluster\",\n \"multiple\": false,\n \"dataSrc\": {\n \"marker\": \"LOCATION_LIST\",\n \"params\": {\n \"id\": \"cluster\",\n \"useCase\": \"SIGNEDIN\"\n }\n }\n },\n \"validations\": []\n },\n {\n \"code\": \"school\",\n \"type\": \"select\",\n \"context\": \"cluster\",\n \"default\": null,\n \"templateOptions\": {\n \"label\": \"School\",\n \"placeHolder\": \"Select School\",\n \"multiple\": false,\n \"dataSrc\": {\n \"marker\": \"LOCATION_LIST\",\n \"params\": {\n \"id\": \"school\",\n \"useCase\": \"SIGNEDIN\"\n }\n }\n }\n }\n ],\n \"parent\": [\n {\n \"code\": \"state\",\n \"type\": \"select\",\n \"templateOptions\": {\n \"labelHtml\": {\n \"contents\": \"$0 *\",\n \"values\": {\n \"$0\": \"State\"\n }\n },\n \"placeHolder\": \"Select State\",\n \"multiple\": false,\n \"dataSrc\": {\n \"marker\": \"STATE_LOCATION_LIST\",\n \"params\": {\n \"useCase\": \"SIGNEDIN_GUEST\"\n }\n }\n },\n \"validations\": [\n {\n \"type\": \"required\"\n }\n ]\n },\n {\n \"code\": \"district\",\n \"type\": \"select\",\n \"context\": \"state\",\n \"default\": null,\n \"templateOptions\": {\n \"labelHtml\": {\n \"contents\": \"$0 *\",\n \"values\": {\n \"$0\": \"District\"\n }\n },\n \"placeHolder\": \"Select District\",\n \"multiple\": false,\n \"dataSrc\": {\n \"marker\": \"LOCATION_LIST\",\n \"params\": {\n \"id\": \"district\",\n \"useCase\": \"SIGNEDIN_GUEST\"\n }\n }\n },\n \"validations\": [\n {\n \"type\": \"required\"\n }\n ]\n },\n {\n \"code\": \"block\",\n \"type\": \"select\",\n \"context\": \"district\",\n \"default\": null,\n \"templateOptions\": {\n \"label\": \"Block\",\n \"placeHolder\": \"Select Block\",\n \"multiple\": false,\n \"dataSrc\": {\n \"marker\": \"LOCATION_LIST\",\n \"params\": {\n \"id\": \"block\",\n \"useCase\": \"SIGNEDIN\"\n }\n }\n },\n \"validations\": []\n },\n {\n \"code\": \"cluster\",\n \"type\": \"select\",\n \"context\": \"block\",\n \"default\": null,\n \"templateOptions\": {\n \"label\": \"Cluster\",\n \"placeHolder\": \"Select Cluster\",\n \"multiple\": false,\n \"dataSrc\": {\n \"marker\": \"LOCATION_LIST\",\n \"params\": {\n \"id\": \"cluster\",\n \"useCase\": \"SIGNEDIN\"\n }\n }\n },\n \"validations\": []\n },\n {\n \"code\": \"school\",\n \"type\": \"select\",\n \"context\": \"cluster\",\n \"default\": null,\n \"templateOptions\": {\n \"label\": \"School\",\n \"placeHolder\": \"Select School\",\n \"multiple\": false,\n \"dataSrc\": {\n \"marker\": \"LOCATION_LIST\",\n \"params\": {\n \"id\": \"school\",\n \"useCase\": \"SIGNEDIN\"\n }\n }\n }\n }\n ],\n \"other\": [\n {\n \"code\": \"state\",\n \"type\": \"select\",\n \"templateOptions\": {\n \"labelHtml\": {\n \"contents\": \"$0 *\",\n \"values\": {\n \"$0\": \"State\"\n }\n },\n \"placeHolder\": \"Select State\",\n \"multiple\": false,\n \"dataSrc\": {\n \"marker\": \"STATE_LOCATION_LIST\",\n \"params\": {\n \"useCase\": \"SIGNEDIN_GUEST\"\n }\n }\n },\n \"validations\": [\n {\n \"type\": \"required\"\n }\n ]\n },\n {\n \"code\": \"district\",\n \"type\": \"select\",\n \"context\": \"state\",\n \"default\": null,\n \"templateOptions\": {\n \"labelHtml\": {\n \"contents\": \"$0 *\",\n \"values\": {\n \"$0\": \"District\"\n }\n },\n \"placeHolder\": \"Select District\",\n \"multiple\": false,\n \"dataSrc\": {\n \"marker\": \"LOCATION_LIST\",\n \"params\": {\n \"id\": \"district\",\n \"useCase\": \"SIGNEDIN_GUEST\"\n }\n }\n },\n \"validations\": [\n {\n \"type\": \"required\"\n }\n ]\n },\n {\n \"code\": \"subPersona\",\n \"type\": \"select\",\n \"default\": null,\n \"templateOptions\": {\n \"labelHtml\": {\n \"contents\": \"$0 *\",\n \"values\": {\n \"$0\": \"Subrole\"\n }\n },\n \"placeHolder\": \"Select Subrole\",\n \"multiple\": false,\n \"dataSrc\": {\n \"marker\": \"SUBPERSONA_LIST\",\n \"params\": {\n \"useCase\": \"SIGNEDIN\"\n }\n },\n \"options\": [\n {\n \"value\": \"BRC\",\n \"label\": \"BRC\"\n },\n {\n \"value\": \"CRC\",\n \"label\": \"CRC\"\n },\n {\n \"value\": \"SCERT_FACULTY\",\n \"label\": \"SCERT Faculty\"\n },\n {\n \"value\": \"DIET_FACULTY\",\n \"label\": \"DIET Faculty\"\n },\n {\n \"value\": \"ICDS_PO\",\n \"label\": \"ICDS - PO\"\n },\n {\n \"value\": \"ICDS_CDPO\",\n \"label\": \"ICDS - CDPO\"\n },\n {\n \"value\": \"ICDS_SUPERVISOR\",\n \"label\": \"ICDS - Supervisor\"\n },\n {\n \"value\": \"ICDS_ANGANWADI_WORKERS\",\n \"label\": \"ICDS - Anganwadi Workers\"\n },\n {\n \"value\": \"Doctor (Allopathy)\",\n \"label\": \"Doctor (Allopathy)\"\n },\n {\n \"value\": \"AYUSH Professional\",\n \"label\": \"AYUSH Professional\"\n },\n {\n \"value\": \"Dentist & Dental Students\",\n \"label\": \"Dentist & Dental Students\"\n },\n {\n \"value\": \"Nurses\",\n \"label\": \"Nurses\"\n },\n {\n \"value\": \"Pharmacist\",\n \"label\": \"Pharmacist\"\n },\n {\n \"value\": \"Lab Technician\",\n \"label\": \"Lab Technician\"\n },\n {\n \"value\": \"Psychosocial HealthProf\",\n \"label\": \"Psychosocial HealthProf\"\n },\n {\n \"value\": \"Rehabilitation Prof.\",\n \"label\": \"Rehabilitation Prof.\"\n },\n {\n \"value\": \"Allied & Healthcare Professional\",\n \"label\": \"Allied & Healthcare Professional\"\n },\n {\n \"value\": \"Student/ Intern\",\n \"label\": \"Student/ Intern\"\n },\n {\n \"value\": \"ANMs\",\n \"label\": \"ANMs\"\n },\n {\n \"value\": \"ASHA Health worker\",\n \"label\": \"ASHA Health worker\"\n },\n {\n \"value\": \"Other Health Worker\",\n \"label\": \"Other Health Worker\"\n },\n {\n \"value\": \"Police\",\n \"label\": \"Police\"\n },\n {\n \"value\": \"NCC Cadets\",\n \"label\": \"NCC Cadets\"\n },\n {\n \"value\": \"NYKS Volunteers\",\n \"label\": \"NYKS Volunteers\"\n },\n {\n \"value\": \"NSS Volunteers\",\n \"label\": \"NSS Volunteers\"\n },\n {\n \"value\": \"Volunteer Red Cross\",\n \"label\": \"Volunteer Red Cross\"\n },\n {\n \"value\": \"Volunteer BSG\",\n \"label\": \"Volunteer BSG\"\n },\n {\n \"value\": \"NGO Volunteer\",\n \"label\": \"NGO Volunteer\"\n },\n {\n \"value\": \"Other Volunteer\",\n \"label\": \"Other Volunteer\"\n },\n {\n \"value\": \"Sanitation Prof.\",\n \"label\": \"Sanitation Prof.\"\n },\n {\n \"value\": \"District Administrator\",\n \"label\": \"District Administrator\"\n },\n {\n \"value\": \"RWA representative\",\n \"label\": \"RWA representative\"\n },\n {\n \"value\": \"Common citizen\",\n \"label\": \"Common citizen\"\n },\n {\n \"value\": \"Others\",\n \"label\": \"Others\"\n }\n ]\n },\n \"validations\": [\n {\n \"type\": \"required\"\n }\n ]\n },\n {\n \"code\": \"block\",\n \"type\": \"select\",\n \"context\": \"district\",\n \"default\": null,\n \"templateOptions\": {\n \"label\": \"Block\",\n \"placeHolder\": \"Select Block\",\n \"multiple\": false,\n \"dataSrc\": {\n \"marker\": \"LOCATION_LIST\",\n \"params\": {\n \"id\": \"block\",\n \"useCase\": \"SIGNEDIN\"\n }\n }\n },\n \"validations\": []\n },\n {\n \"code\": \"cluster\",\n \"type\": \"select\",\n \"context\": \"block\",\n \"default\": null,\n \"templateOptions\": {\n \"label\": \"Cluster\",\n \"placeHolder\": \"Select Cluster\",\n \"multiple\": false,\n \"dataSrc\": {\n \"marker\": \"LOCATION_LIST\",\n \"params\": {\n \"id\": \"cluster\",\n \"useCase\": \"SIGNEDIN\"\n }\n }\n },\n \"validations\": []\n },\n {\n \"code\": \"school\",\n \"type\": \"select\",\n \"context\": \"cluster\",\n \"default\": null,\n \"templateOptions\": {\n \"label\": \"School\",\n \"placeHolder\": \"Select School\",\n \"multiple\": false,\n \"dataSrc\": {\n \"marker\": \"LOCATION_LIST\",\n \"params\": {\n \"id\": \"school\",\n \"useCase\": \"SIGNEDIN\"\n }\n }\n }\n }\n ]\n }\n }\n ]\n },\n \"rootOrgId\": \"*\"\n }\n}" }, "url": { - "raw": "{{host}}/api/data/v1/form/update", + "raw": "{{host}}/api/data/v1/form/create", "host": [ "{{host}}" ], @@ -5403,29 +8268,29 @@ "data", "v1", "form", - "update" + "create" ] } }, "response": [] }, { - "name": "9 - Collection Create", + "name": "9 - TargetedCategory", "request": { "method": "POST", "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, { "key": "Authorization", "value": "Bearer {{apikey}}" + }, + { + "key": "Content-Type", + "value": "application/json" } ], "body": { "mode": "raw", - "raw": "{\r\n \"request\": {\r\n \"type\": \"content\",\r\n \"action\": \"create\",\r\n \"subType\": \"collection\",\r\n \"framework\": \"*\",\r\n \"rootOrgId\": \"*\",\r\n \"data\": {\r\n \"templateName\": \"defaultTemplate\",\r\n \"action\": \"create\",\r\n \"fields\": [\r\n {\r\n \"code\": \"name\",\r\n \"dataType\": \"text\",\r\n \"name\": \"Name\",\r\n \"label\": \"Name\",\r\n \"description\": \"Name\",\r\n \"editable\": true,\r\n \"placeholder\": \"Name\",\r\n \"inputType\": \"text\",\r\n \"required\": false,\r\n \"displayProperty\": \"Editable\",\r\n \"visible\": true,\r\n \"renderingHints\": {\r\n \"semanticColumnWidth\": \"twelve\"\r\n },\r\n \"index\": 1\r\n },\r\n {\r\n \"code\": \"description\",\r\n \"dataType\": \"text\",\r\n \"name\": \"Description\",\r\n \"label\": \"Description\",\r\n \"description\": \"description\",\r\n \"placeholder\": \"Description\",\r\n \"editable\": true,\r\n \"inputType\": \"text\",\r\n \"required\": false,\r\n \"displayProperty\": \"Editable\",\r\n \"visible\": true,\r\n \"renderingHints\": {\r\n \"semanticColumnWidth\": \"twelve\"\r\n },\r\n \"index\": 2\r\n },\r\n {\r\n \"code\": \"primaryCategory\",\r\n \"dataType\": \"text\",\r\n \"name\": \"Collection Type\",\r\n \"label\": \"Collection Type\",\r\n \"description\": \"Collection Type\",\r\n \"placeholder\": \"Select one\",\r\n \"editable\": true,\r\n \"inputType\": \"select\",\r\n \"required\": true,\r\n \"displayProperty\": \"Editable\",\r\n \"visible\": true,\r\n \"renderingHints\": {\r\n \"semanticColumnWidth\": \"twelve\"\r\n },\r\n \"index\": 3\r\n }\r\n ]\r\n }\r\n }\r\n}" + "raw": "{\n \"request\": \n{\n \"type\": \"category\",\n \"subType\": \"targetedCategory\",\n \"action\": \"homelisting\",\n \"component\": \"*\",\n \"framework\": \"*\",\n \"data\": {\n \"templateName\": \"defaultTemplate\",\n \"action\": \"homeListing\",\n \"fields\": {\n \"up_k-12\": {\n \"teacher\": [\n {\n \"name\": \"observation\",\n \"icon\": {\n \"web\": \"assets/images/mask-image/observation_category.png\",\n \"app\": \"assets/imgs/ic_observation_category.png\"\n }\n },\n {\n \"name\": \"project\",\n \"icon\": {\n \"web\": \"\",\n \"app\": \"assets/imgs/ic_project.svg\"\n }\n }\n ]\n },\n \"ap_k-12_1\": {\n \"teacher\": [\n {\n \"name\": \"observation\",\n \"icon\": {\n \"web\": \"assets/images/mask-image/observation_category.png\",\n \"app\": \"assets/imgs/ic_observation_category.png\"\n }\n },\n {\n \"name\": \"project\",\n \"icon\": {\n \"web\": \"\",\n \"app\": \"assets/imgs/ic_project.svg\"\n }\n }\n ]\n },\n \"hp_k-12\": {\n \"teacher\": [\n {\n \"name\": \"observation\",\n \"icon\": {\n \"web\": \"assets/images/mask-image/observation_category.png\",\n \"app\": \"assets/imgs/ic_observation_category.png\"\n }\n },\n {\n \"name\": \"project\",\n \"icon\": {\n \"web\": \"\",\n \"app\": \"assets/imgs/ic_project.svg\"\n }\n }\n ]\n },\n \"pb_k-12\": {\n \"teacher\": [\n {\n \"name\": \"observation\",\n \"icon\": {\n \"web\": \"assets/images/mask-image/observation_category.png\",\n \"app\": \"assets/imgs/ic_observation_category.png\"\n }\n },\n {\n \"name\": \"project\",\n \"icon\": {\n \"web\": \"\",\n \"app\": \"assets/imgs/ic_project.svg\"\n }\n }\n ]\n },\n \"mz_k-12\": {\n \"teacher\": [\n {\n \"name\": \"project\",\n \"icon\": {\n \"web\": \"\",\n \"app\": \"assets/imgs/ic_project.svg\"\n }\n }\n ]\n },\n \"br_k-12\": {\n \"teacher\": [\n {\n \"name\": \"project\",\n \"icon\": {\n \"web\": \"\",\n \"app\": \"assets/imgs/ic_project.svg\"\n }\n }\n ]\n },\n \"ar_k-12\": {\n \"teacher\": [\n {\n \"name\": \"project\",\n \"icon\": {\n \"web\": \"\",\n \"app\": \"assets/imgs/ic_project.svg\"\n }\n }\n ]\n },\n \"as_k-12\": {\n \"teacher\": [\n {\n \"name\": \"project\",\n \"icon\": {\n \"web\": \"\",\n \"app\": \"assets/imgs/ic_project.svg\"\n }\n }\n ]\n },\n \"ch_k-12\": {\n \"teacher\": [\n {\n \"name\": \"project\",\n \"icon\": {\n \"web\": \"\",\n \"app\": \"assets/imgs/ic_project.svg\"\n }\n }\n ]\n },\n \"cg_k-12\": {\n \"teacher\": [\n {\n \"name\": \"project\",\n \"icon\": {\n \"web\": \"\",\n \"app\": \"assets/imgs/ic_project.svg\"\n }\n }\n ]\n },\n \"dl_k-12_1\": {\n \"teacher\": [\n {\n \"name\": \"project\",\n \"icon\": {\n \"web\": \"\",\n \"app\": \"assets/imgs/ic_project.svg\"\n }\n },\n {\n \"name\": \"observation\",\n \"icon\": {\n \"web\": \"assets/images/mask-image/observation_category.png\",\n \"app\": \"assets/imgs/ic_observation_category.png\"\n }\n }\n ]\n },\n \"ga_k-12\": {\n \"teacher\": [\n {\n \"name\": \"project\",\n \"icon\": {\n \"web\": \"\",\n \"app\": \"assets/imgs/ic_project.svg\"\n }\n }\n ]\n },\n \"gj_k-12\": {\n \"teacher\": [\n {\n \"name\": \"project\",\n \"icon\": {\n \"web\": \"\",\n \"app\": \"assets/imgs/ic_project.svg\"\n }\n }\n ]\n },\n \"hr_k-12\": {\n \"teacher\": [\n {\n \"name\": \"project\",\n \"icon\": {\n \"web\": \"\",\n \"app\": \"assets/imgs/ic_project.svg\"\n }\n }\n ]\n },\n \"jk_k-12\": {\n \"teacher\": [\n {\n \"name\": \"project\",\n \"icon\": {\n \"web\": \"\",\n \"app\": \"assets/imgs/ic_project.svg\"\n }\n }\n ]\n },\n \"jh_k-12\": {\n \"teacher\": [\n {\n \"name\": \"project\",\n \"icon\": {\n \"web\": \"\",\n \"app\": \"assets/imgs/ic_project.svg\"\n }\n },\n {\n \"name\": \"observation\",\n \"icon\": {\n \"web\": \"assets/images/mask-image/observation_category.png\",\n \"app\": \"assets/imgs/ic_observation_category.png\"\n }\n }\n ]\n },\n \"ka_k-12\": {\n \"teacher\": [\n {\n \"name\": \"project\",\n \"icon\": {\n \"web\": \"\",\n \"app\": \"assets/imgs/ic_project.svg\"\n }\n }\n ]\n },\n \"kl_k-12\": {\n \"teacher\": [\n {\n \"name\": \"project\",\n \"icon\": {\n \"web\": \"\",\n \"app\": \"assets/imgs/ic_project.svg\"\n }\n }\n ]\n },\n \"mh_k-12_1\": {\n \"teacher\": [\n {\n \"name\": \"project\",\n \"icon\": {\n \"web\": \"\",\n \"app\": \"assets/imgs/ic_project.svg\"\n }\n }\n ]\n },\n \"mn_k-12\": {\n \"teacher\": [\n {\n \"name\": \"project\",\n \"icon\": {\n \"web\": \"\",\n \"app\": \"assets/imgs/ic_project.svg\"\n }\n }\n ]\n },\n \"ml_k-12\": {\n \"teacher\": [\n {\n \"name\": \"project\",\n \"icon\": {\n \"web\": \"\",\n \"app\": \"assets/imgs/ic_project.svg\"\n }\n }\n ]\n },\n \"nl_k-12\": {\n \"teacher\": [\n {\n \"name\": \"project\",\n \"icon\": {\n \"web\": \"\",\n \"app\": \"assets/imgs/ic_project.svg\"\n }\n }\n ]\n },\n \"od_k-12\": {\n \"teacher\": [\n {\n \"name\": \"project\",\n \"icon\": {\n \"web\": \"\",\n \"app\": \"assets/imgs/ic_project.svg\"\n }\n }\n ]\n },\n \"rj_k-12\": {\n \"teacher\": [\n {\n \"name\": \"project\",\n \"icon\": {\n \"web\": \"\",\n \"app\": \"assets/imgs/ic_project.svg\"\n }\n }\n ]\n },\n \"sk_k-12_1\": {\n \"teacher\": [\n {\n \"name\": \"project\",\n \"icon\": {\n \"web\": \"\",\n \"app\": \"assets/imgs/ic_project.svg\"\n }\n }\n ]\n },\n \"tn_k-12_5\": {\n \"teacher\": [\n {\n \"name\": \"project\",\n \"icon\": {\n \"web\": \"\",\n \"app\": \"assets/imgs/ic_project.svg\"\n }\n }\n ]\n },\n \"ts_k-12\": {\n \"teacher\": [\n {\n \"name\": \"project\",\n \"icon\": {\n \"web\": \"\",\n \"app\": \"assets/imgs/ic_project.svg\"\n }\n }\n ]\n },\n \"tp_k-12\": {\n \"teacher\": [\n {\n \"name\": \"observation\",\n \"icon\": {\n \"web\": \"assets/images/mask-image/observation_category.png\",\n \"app\": \"assets/imgs/ic_observation_category.png\"\n }\n },\n {\n \"name\": \"project\",\n \"icon\": {\n \"web\": \"\",\n \"app\": \"assets/imgs/ic_project.svg\"\n }\n }\n ]\n },\n \"uk_k-12\": {\n \"teacher\": [\n {\n \"name\": \"project\",\n \"icon\": {\n \"web\": \"\",\n \"app\": \"assets/imgs/ic_project.svg\"\n }\n }\n ]\n },\n \"an_k-12\": {\n \"teacher\": [\n {\n \"name\": \"project\",\n \"icon\": {\n \"web\": \"\",\n \"app\": \"assets/imgs/ic_project.svg\"\n }\n }\n ]\n },\n \"dd_k-12\": {\n \"teacher\": [\n {\n \"name\": \"project\",\n \"icon\": {\n \"web\": \"\",\n \"app\": \"assets/imgs/ic_project.svg\"\n }\n }\n ]\n },\n \"ld_k-12\": {\n \"teacher\": [\n {\n \"name\": \"project\",\n \"icon\": {\n \"web\": \"\",\n \"app\": \"assets/imgs/ic_project.svg\"\n }\n }\n ]\n },\n \"py_k-12\": {\n \"teacher\": [\n {\n \"name\": \"project\",\n \"icon\": {\n \"web\": \"\",\n \"app\": \"assets/imgs/ic_project.svg\"\n }\n }\n ]\n },\n \"ekstep_ncert_k-12\": {\n \"teacher\": [\n {\n \"name\": \"project\",\n \"icon\": {\n \"web\": \"\",\n \"app\": \"assets/imgs/ic_project.svg\"\n }\n }\n ]\n },\n \"mp_k-12\": {\n \"teacher\": [\n {\n \"name\": \"project\",\n \"icon\": {\n \"web\": \"\",\n \"app\": \"assets/imgs/ic_project.svg\"\n }\n }\n ]\n }\n }\n },\n \"rootOrgId\": \"*\"\n }\n}" }, "url": { "raw": "{{host}}/api/data/v1/form/create", @@ -5439,37 +8304,27 @@ "form", "create" ] - }, - "description": "{\"request\":{\"type\":\"content\",\"action\":\"save\",\"subType\":\"resource\"}}" + } }, "response": [] - } - ] - }, - { - "name": "4 - ED", - "item": [ + }, { - "name": "1 - Menubar form - Creation for all rootOrg", + "name": "10 - ContentAll", "request": { "method": "POST", "header": [ { - "key": "Accept", - "value": "application/json" + "key": "Authorization", + "value": "Bearer {{apikey}}" }, { "key": "Content-Type", "value": "application/json" - }, - { - "key": "Authorization", - "value": "Bearer {{apikey}}" } ], "body": { "mode": "raw", - "raw": "{\n \"request\": {\n \"type\": \"contentcategory\",\n \"action\": \"menubar\",\n \"subType\": \"global\",\n \"rootOrgId\": \"*\",\n \"framework\": \"*\",\n \"component\": \"*\",\n \"data\":{\n \"templateName\": \"menuConfig\",\n \"action\": \"list\",\n \"fields\": [\n\n {\n \"index\": 1,\n \"title\": \"frmelmnts.tab.all\",\n \"desc\": \"frmelmnts.tab.all\",\n \"menuType\": \"Content\",\n \"contentType\": \"all\",\n \"isEnabled\": true,\n \"isOnlineOnly\": true,\n \"isLoginMandatory\": false,\n \"theme\": {\n \"baseColor\": \"\",\n \"textColor\": \"\",\n \"supportingColor\": \"\",\n \"className\": \"all\",\n \"imageName\": \"all-banner-img.svg\"\n },\n \"anonumousUserRoute\": {\n \"route\": \"/explore/1\",\n \"queryParam\": \"all\"\n },\n \"loggedInUserRoute\": {\n \"route\": \"/search/Library/1\",\n \"queryParam\": \"all\"\n },\n \"metaData\": {\n \"cacheTimeout\": 3600000\n },\n \"search\": {\n \"facets\": [\n \"se_boards\",\n \"se_gradeLevels\",\n \"se_subjects\",\n \"se_mediums\",\n \"primaryCategory\"\n ],\n \"fields\": [\n \"name\",\n \"appIcon\",\n \"mimeType\",\n \"gradeLevel\",\n \"identifier\",\n \"medium\",\n \"pkgVersion\",\n \"board\",\n \"subject\",\n \"resourceType\",\n \"primaryCategory\",\n \"contentType\",\n \"channel\",\n \"organisation\",\n \"trackable\"\n ],\n \"filters\": {\n \"primaryCategory\": [\n \"Collection\",\n \"Resource\",\n \"Content Playlist\",\n \"Course\",\n \"Course Assessment\",\n \"Digital Textbook\",\n \"eTextbook\",\n \"Explanation Content\",\n \"Learning Resource\",\n \"Lesson Plan Unit\",\n \"Practice Question Set\",\n \"Teacher Resource\",\n \"Textbook Unit\",\n \"LessonPlan\",\n \"FocusSpot\",\n \"Learning Outcome Definition\",\n \"Curiosity Questions\",\n \"MarkingSchemeRubric\",\n \"ExplanationResource\",\n \"ExperientialResource\",\n \"Practice Resource\",\n \"TVLesson\",\n \"Course Unit\"\n ],\n \"visibility\": [\n \"Default\",\n \"Parent\"\n ]\n }\n }\n },\n \n {\n \"index\": 0,\n \"title\": \"frmelmnts.lbl.home\",\n \"desc\": \"frmelmnts.lbl.home\",\n \"menuType\": \"Content\",\n \"contentType\": \"home\",\n \"isEnabled\": true,\n \"default\": true,\n \"isOnlineOnly\": true,\n \"theme\": {\n \"baseColor\": \"\",\n \"textColor\": \"\",\n \"supportingColor\": \"\",\n \"className\": \"home\",\n \"imageName\": \"courses-banner-img.svg\"\n },\n \"anonumousUserRoute\": {\n \"route\": \"/explore\",\n \"queryParam\": \"home\"\n },\n \"loggedInUserRoute\": {\n \"route\": \"/resources\",\n \"queryParam\": \"home\"\n },\n \"metaData\": {\n \"filters\": [\n \"board\",\n \"gradeLevel\",\n \"subject\",\n \"medium\",\n \"publisher\",\n \"audience\",\n \"channel\"\n ],\n \"groupByKey\": \"subject\",\n \"defaultFilters\": {\n \"board\": [\n \"CBSE\"\n ],\n \"gradeLevel\": [\n \"Class 10\"\n ],\n \"medium\": []\n }\n },\n \"search\": {\n \"facets\": [\n \"subject\",\n \"primaryCategory\",\n \"medium\",\n \"banner\",\n \"additionalCategories\",\n \"search\",\n \"ContinueLearning\"\n ],\n \"fields\": [\n \"name\",\n \"appIcon\",\n \"medium\",\n \"subject\",\n \"resourceType\",\n \"contentType\",\n \"organisation\",\n \"topic\",\n \"mimeType\",\n \"trackable\",\n \"gradeLevel\",\n \"se_boards\",\n \"se_subjects\",\n \"se_mediums\",\n \"se_gradeLevels\"\n ],\n \"filters\": {\n \"channel\": [],\n \"subject\": [],\n \"audience\": [],\n \"primaryCategory\": [\n \"Digital Textbook\",\n \"eTextbook\",\n \"Course\"\n ],\n \"board\": [],\n \"medium\": [],\n \"gradeLevel\": []\n }\n },\n \"filter\": {\n \"isEnabled\": false,\n \"type\": \"facet\"\n },\n \"sections\": [\n {\n \"index\": 4,\n \"title\": \"frmelmnts.lbl.recentlyPublishedCourses\",\n \"desc\": \"Section for Searched contents\",\n \"facetKey\": \"search\",\n \"isEnabled\": true,\n \"apiConfig\": {\n \"url\": \"\",\n \"method\": \"\",\n \"req\": {\n \"request\": {\n \"filters\": {\n \"contentType\": [\n \"Course\"\n ],\n \"primaryCategory\": [\n \"Course\"\n ],\n \"batches.enrollmentType\": \"open\",\n \"batches.status\": [\n 1\n ],\n \"status\": [\n \"Live\"\n ],\n \"se_boards\": [\n \"State (Tamil Nadu)\"\n ],\n \"se_mediums\": [\n \"English\",\n \"Tamil\"\n ],\n \"se_gradeLevels\": [\n \"Class 1\",\n \"Class 2\",\n \"Class 5\"\n ]\n },\n \"limit\": 100,\n \"fields\": [\n \"name\",\n \"appIcon\",\n \"mimeType\",\n \"gradeLevel\",\n \"identifier\",\n \"medium\",\n \"pkgVersion\",\n \"board\",\n \"subject\",\n \"resourceType\",\n \"contentType\",\n \"channel\",\n \"organisation\",\n \"trackable\",\n \"se_boards\",\n \"se_subjects\",\n \"se_mediums\",\n \"se_gradeLevels\",\n \"lastPublishedOn\"\n ],\n \"facets\": [\n \"se_subjects\"\n ],\n \"sort_by\": {\n \"lastPublishedOn\": \"desc\"\n }\n }\n },\n \"params\": \"\",\n \"contextKey\": \"res.facet.search\",\n \"sortBy\": \"lastPublishedOn\"\n }\n },\n {\n \"index\": 0,\n \"title\": \"Continue Learning\",\n \"desc\": \"Continue Learning\",\n \"facetKey\": \"ContinueLearning\",\n \"isEnabled\": true\n },\n {\n \"index\": 5,\n \"title\": \"frmelmnts.lbl.fromncert\",\n \"defaultTitle\": \"From NCERT\",\n \"desc\": \"Section for Searched contents\",\n \"facetKey\": \"search\",\n \"isEnabled\": true,\n \"apiConfig\": {\n \"url\": \"\",\n \"method\": \"\",\n \"req\": {\n \"request\": {\n \"filters\": {\n \"primaryCategory\": [\n \"Course\",\n \"Digital Textbook\"\n ],\n \"status\": [\n \"Live\"\n ],\n \"channel\": \"01329314824202649627\"\n },\n \"limit\": 100,\n \"fields\": [\n \"name\",\n \"appIcon\",\n \"mimeType\",\n \"gradeLevel\",\n \"identifier\",\n \"medium\",\n \"pkgVersion\",\n \"board\",\n \"subject\",\n \"resourceType\",\n \"contentType\",\n \"channel\",\n \"organisation\",\n \"trackable\",\n \"se_boards\",\n \"se_subjects\",\n \"se_mediums\",\n \"se_gradeLevels\",\n \"lastPublishedOn\"\n ],\n \"facets\": [\n \"se_subjects\"\n ],\n \"sort_by\": {\n \"lastPublishedOn\": \"desc\"\n }\n }\n },\n \"params\": \"\",\n \"contextKey\": \"res.facet.search\",\n \"sortBy\": \"lastPublishedOn\"\n }\n },\n {\n \"index\": 3,\n \"title\": \"frmelmnts.lbl.search\",\n \"desc\": \"Section for Searched contents\",\n \"facetKey\": \"search\",\n \"isEnabled\": true,\n \"apiConfig\": {\n \"url\": \"\",\n \"method\": \"\",\n \"req\": {\n \"request\": {\n \"filters\": {\n \"channel\": [],\n \"subject\": [],\n \"audience\": [],\n \"primaryCategory\": [\n \"Digital Textbook\"\n ],\n \"se_boards\": [\n \"State (Tamil Nadu)\"\n ],\n \"se_mediums\": [\n \"English\"\n ],\n \"se_gradeLevels\": [\n \"Class 4\"\n ]\n },\n \"limit\": 100,\n \"fields\": [\n \"name\",\n \"appIcon\",\n \"mimeType\",\n \"gradeLevel\",\n \"identifier\",\n \"medium\",\n \"pkgVersion\",\n \"board\",\n \"subject\",\n \"resourceType\",\n \"primaryCategory\",\n \"contentType\",\n \"channel\",\n \"organisation\",\n \"trackable\",\n \"se_boards\",\n \"se_subjects\",\n \"se_mediums\",\n \"se_gradeLevels\"\n ],\n \"facets\": [\n \"se_subjects\"\n ]\n }\n },\n \"params\": \"\",\n \"contextKey\": \"res.facet.search\"\n }\n },\n {\n \"index\": 1,\n \"title\": \"frmelmnts.lbl.subjects\",\n \"desc\": \"Section for subjects\",\n \"facetKey\": \"subject\",\n \"isEnabled\": true,\n \"apiConfig\": {\n \"url\": \"\",\n \"method\": \"\",\n \"req\": {},\n \"params\": \"\",\n \"contextKey\": \"res.facet.subject\"\n },\n \"theme\": {\n \"component\": \"sb-pills-grid\",\n \"limit\": 10,\n \"infiniteCard\": false,\n \"colorMapping\": [\n {\n \"primary\": \"rgba(255,139,46,1)\",\n \"secondary\": \"rgba(255,139,46,0.3)\"\n },\n {\n \"primary\": \"rgba(163,99,255,1)\",\n \"secondary\": \"rgba(163,99,255,0.3)\"\n },\n {\n \"primary\": \"rgba(34,139,255,1)\",\n \"secondary\": \"rgba(34,139,255,0.3)\"\n },\n {\n \"primary\": \"rgba(95,192,32,1)\",\n \"secondary\": \"rgba(95,192,32,0.3)\"\n },\n {\n \"primary\": \"rgba(255,128,47,1)\",\n \"secondary\": \"rgba(255,128,47,0.3)\"\n },\n {\n \"primary\": \"rgba(251,70,70,1)\",\n \"secondary\": \"rgba(251,70,70,0.3)\"\n },\n {\n \"primary\": \"rgba(83,109,252,1)\",\n \"secondary\": \"rgba(83,109,252,0.3)\"\n },\n {\n \"primary\": \"rgba(15,186,208,1)\",\n \"secondary\": \"rgba(15,186,208,0.3)\"\n }\n ],\n \"icons\": {\n \"english\": \"assets/images/book_english.svg\",\n \"mathematics\": \"assets/images/calculator.svg\",\n \"science\": \"assets/images/globe.svg\",\n \"default\": \"assets/images/book_default.svg\"\n }\n },\n \"landing\": {\n \"title\": \"frmelmnts.lbl.exploretitle\",\n \"description\": \"frmelmnts.lbl.exploredescription\"\n },\n \"anonumousUserRoute\": {\n \"route\": \"/explore-course\",\n \"queryParam\": \"course\"\n },\n \"loggedInUserRoute\": {\n \"route\": \"/learn\",\n \"queryParam\": \"course\"\n }\n },\n {\n \"index\": 6,\n \"title\": \"frmelmnts.lbl.dscfrmctgries\",\n \"desc\": \"Section for category\",\n \"facetKey\": \"primaryCategory\",\n \"isEnabled\": true,\n \"apiConfig\": {\n \"url\": \"\",\n \"method\": \"\",\n \"req\": {},\n \"params\": \"\",\n \"contextKey\": \"res.facet.primaryCategory\"\n },\n \"filter\": {\n \"primaryCategory\": [\n \"course\",\n \"digital textbook\",\n \"etextbook\"\n ],\n \"additionalCategories\": [\n \"tv lesson\"\n ]\n },\n \"merge\": {\n \"source\": \"primaryCategory\",\n \"destination\": \"additionalCategories\"\n },\n \"theme\": {\n \"component\": \"sb-pills-grid\",\n \"limit\": 10,\n \"infiniteCard\": false,\n \"colorMapping\": [\n {\n \"primary\": \"rgba(255,255,255,1)\",\n \"secondary\": \"rgba(255,255,255,1)\"\n }\n ],\n \"icons\": {\n \"digital textbooks\": \"assets/images/textbook.svg\",\n \"courses\": \"assets/images/course.svg\",\n \"tv programs\": \"assets/images/tv.svg\",\n \"documents\": \"assets/images/documents.svg\",\n \"videos\": \"assets/images/videos.svg\",\n \"default\": \"assets/images/all_content.svg\"\n }\n },\n \"landing\": {\n \"title\": \"frmelmnts.lbl.exploretitle\",\n \"description\": \"frmelmnts.lbl.exploredescription\"\n },\n \"anonumousUserRoute\": {\n \"route\": \"/explore-course\",\n \"queryParam\": \"course\"\n },\n \"loggedInUserRoute\": {\n \"route\": \"/learn\",\n \"queryParam\": \"course\"\n }\n },\n {\n \"index\": 7,\n \"title\": \"frmelmnts.lbl.medium\",\n \"desc\": \"Section for medium\",\n \"facetKey\": \"medium\",\n \"isEnabled\": false,\n \"apiConfig\": {\n \"url\": \"\",\n \"method\": \"\",\n \"req\": {},\n \"params\": \"\",\n \"contextKey\": \"res.facet.medium\"\n },\n \"theme\": {\n \"component\": \"sb-pills-grid\",\n \"limit\": 10,\n \"infiniteCard\": false,\n \"colorMapping\": [\n {\n \"primary\": \"rgba(255,139,46,1)\",\n \"secondary\": \"rgba(255,139,46,0.3)\"\n },\n {\n \"primary\": \"rgba(163,99,255,1)\",\n \"secondary\": \"rgba(163,99,255,0.3)\"\n },\n {\n \"primary\": \"rgba(34,139,255,1)\",\n \"secondary\": \"rgba(34,139,255,0.3)\"\n },\n {\n \"primary\": \"rgba(95,192,32,1)\",\n \"secondary\": \"rgba(95,192,32,0.3)\"\n },\n {\n \"primary\": \"rgba(255,128,47,1)\",\n \"secondary\": \"rgba(255,128,47,0.3)\"\n },\n {\n \"primary\": \"rgba(251,70,70,1)\",\n \"secondary\": \"rgba(251,70,70,0.3)\"\n },\n {\n \"primary\": \"rgba(83,109,252,1)\",\n \"secondary\": \"rgba(83,109,252,0.3)\"\n },\n {\n \"primary\": \"rgba(15,186,208,1)\",\n \"secondary\": \"rgba(15,186,208,0.3)\"\n }\n ]\n },\n \"anonumousUserRoute\": {\n \"route\": \"/home\",\n \"queryParam\": \"course\"\n },\n \"loggedInUserRoute\": {\n \"route\": \"/learn\",\n \"queryParam\": \"course\"\n }\n }\n ]\n }\n ]\n }\n }\n}" + "raw": "{\n \"request\": \n{\n \"type\": \"content\",\n \"subType\": \"all\",\n \"action\": \"ownership\",\n \"component\": \"*\",\n \"framework\": \"*\",\n \"data\": {\n \"templateName\": \"defaultTemplate\",\n \"action\": \"ownership\",\n \"fields\": [\n {\n \"ownershipType\": [\n \"createdBy\",\n \"createdFor\"\n ]\n }\n ]\n },\n \"rootOrgId\": \"*\"\n }\n}" }, "url": { "raw": "{{host}}/api/data/v1/form/create", @@ -5488,22 +8343,22 @@ "response": [] }, { - "name": "3 - All Tab - Schema creation", + "name": "11 - SegmentationV2", "request": { "method": "POST", "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, { "key": "Authorization", "value": "Bearer {{apikey}}" + }, + { + "key": "Content-Type", + "value": "application/json" } ], "body": { "mode": "raw", - "raw": "{\n \"request\": {\n \"type\": \"schemas\",\n \"action\": \"get\",\n \"subType\": \"search\",\n \"rootOrgId\": \"*\",\n \"framework\": \"*\",\n \"component\": \"*\",\n \"data\":{\n \"templateName\": \"defaultTemplate\",\n \"action\": \"get\",\n \"fields\": [\n {\n \"id\": \"content\",\n \"schema\": {\n \"properties\": [\n \"name\",\n \"code\",\n \"createdOn\",\n \"lastUpdatedOn\",\n \"status\",\n \"channel\",\n \"mimeType\",\n \"osId\",\n \"contentEncoding\",\n \"contentDisposition\",\n \"mediaType\",\n \"os\",\n \"minOsVersion\",\n \"compatibilityLevel\",\n \"minGenieVersion\",\n \"minSupportedVersion\",\n \"filter\",\n \"variants\",\n \"config\",\n \"visibility\",\n \"audience\",\n \"posterImage\",\n \"badgeAssertions\",\n \"targets\",\n \"contentCredits\",\n \"appIcon\",\n \"grayScaleAppIcon\",\n \"thumbnail\",\n \"screenshots\",\n \"format\",\n \"duration\",\n \"size\",\n \"idealScreenSize\",\n \"idealScreenDensity\",\n \"releaseNotes\",\n \"pkgVersion\",\n \"semanticVersion\",\n \"versionKey\",\n \"resources\",\n \"downloadUrl\",\n \"artifactUrl\",\n \"previewUrl\",\n \"streamingUrl\",\n \"objects\",\n \"organization\",\n \"createdFor\",\n \"developer\",\n \"source\",\n \"notes\",\n \"pageNumber\",\n \"publication\",\n \"edition\",\n \"publisher\",\n \"author\",\n \"owner\",\n \"attributions\",\n \"collaborators\",\n \"creators\",\n \"contributors\",\n \"voiceCredits\",\n \"soundCredits\",\n \"imageCredits\",\n \"copyright\",\n \"license\",\n \"language\",\n \"words\",\n \"text\",\n \"forkable\",\n \"translatable\",\n \"ageGroup\",\n \"interactivityLevel\",\n \"contentType\",\n \"resourceType\",\n \"category\",\n \"templateType\",\n \"genre\",\n \"theme\",\n \"themes\",\n \"rating\",\n \"rating_a\",\n \"quality\",\n \"genieScore\",\n \"authoringScore\",\n \"popularity\",\n \"downloads\",\n \"launchUrl\",\n \"activity_class\",\n \"draftImage\",\n \"scaffolding\",\n \"feedback\",\n \"feedbackType\",\n \"teachingMode\",\n \"skills\",\n \"keywords\",\n \"domain\",\n \"dialcodes\",\n \"optStatus\",\n \"description\",\n \"instructions\",\n \"body\",\n \"oldBody\",\n \"stageIcons\",\n \"editorState\",\n \"data\",\n \"loadingMessage\",\n \"checksum\",\n \"learningObjective\",\n \"createdBy\",\n \"creator\",\n \"reviewer\",\n \"lastUpdatedBy\",\n \"lastSubmittedBy\",\n \"lastSubmittedOn\",\n \"lastPublishedBy\",\n \"lastPublishedOn\",\n \"versionDate\",\n \"origin\",\n \"originData\",\n \"versionCreatedBy\",\n \"me_totalSessionsCount\",\n \"me_creationSessions\",\n \"me_creationTimespent\",\n \"me_totalTimespent\",\n \"me_totalInteractions\",\n \"me_averageInteractionsPerMin\",\n \"me_averageSessionsPerDevice\",\n \"me_totalDevices\",\n \"me_averageTimespentPerSession\",\n \"me_averageRating\",\n \"me_totalDownloads\",\n \"me_totalSideloads\",\n \"me_totalRatings\",\n \"me_totalComments\",\n \"me_totalUsage\",\n \"me_totalLiveContentUsage\",\n \"me_usageLastWeek\",\n \"me_deletionsLastWeek\",\n \"me_lastUsedOn\",\n \"me_lastRemovedOn\",\n \"me_hierarchyLevel\",\n \"me_totalDialcodeAttached\",\n \"me_totalDialcodeLinkedToContent\",\n \"me_totalDialcode\",\n \"flagReasons\",\n \"flaggedBy\",\n \"flags\",\n \"lastFlaggedOn\",\n \"tempData\",\n \"copyType\",\n \"pragma\",\n \"publishChecklist\",\n \"publishComment\",\n \"rejectReasons\",\n \"rejectComment\",\n \"totalQuestions\",\n \"totalScore\",\n \"ownershipType\",\n \"reservedDialcodes\",\n \"dialcodeRequired\",\n \"lockKey\",\n \"badgeAssociations\",\n \"framework\",\n \"lastStatusChangedOn\",\n \"uploadError\",\n \"appId\",\n \"s3Key\",\n \"consumerId\",\n \"organisation\",\n \"nodeType\",\n \"prevState\",\n \"publishError\",\n \"publish_type\",\n \"ownedBy\",\n \"purpose\",\n \"toc_url\",\n \"reviewError\",\n \"mimeTypesCount\",\n \"contentTypesCount\",\n \"childNodes\",\n \"leafNodesCount\",\n \"depth\",\n \"SYS_INTERNAL_LAST_UPDATED_ON\",\n \"assets\",\n \"version\",\n \"qrCodeProcessId\",\n \"migratedUrl\",\n \"totalCompressedSize\",\n \"programId\",\n \"leafNodes\",\n \"editorVersion\",\n \"unitIdentifiers\",\n \"questionCategories\",\n \"certTemplate\",\n \"subject\",\n \"medium\",\n \"gradeLevel\",\n \"topic\",\n \"subDomains\",\n \"subjectCodes\",\n \"difficultyLevel\",\n \"board\",\n \"licenseterms\",\n \"copyrightYear\",\n \"organisationId\",\n \"itemSetPreviewUrl\",\n \"textbook_name\",\n \"level1Name\",\n \"level1Concept\",\n \"level2Name\",\n \"level2Concept\",\n \"level3Name\",\n \"level3Concept\",\n \"sourceURL\",\n \"me_totalTimeSpentInSec\",\n \"me_totalPlaySessionCount\",\n \"me_totalRatingsCount\",\n \"monitorable\",\n \"userConsent\",\n \"trackable\",\n \"credentials\",\n \"processId\",\n \"primaryCategory\",\n \"additionalCategories\",\n \"prevStatus\",\n \"cloudStorageKey\",\n \"batches\",\n \"year\",\n \"plugins\",\n \"showNotification\",\n \"collectionId\",\n \"learningOutcome\",\n \"displayScore\",\n \"boardIds\",\n \"gradeLevelIds\",\n \"subjectIds\",\n \"mediumIds\",\n \"topicsIds\",\n \"targetFWIds\",\n \"targetBoardIds\",\n \"targetGradeLevelIds\",\n \"targetSubjectIds\",\n \"targetMediumIds\",\n \"targetTopicIds\",\n \"maxAttempts\",\n \"se_frameworkIds\",\n \"se_boardIds\",\n \"se_subjectIds\",\n \"se_mediumIds\",\n \"se_topicIds\",\n \"se_gradeLevelIds\",\n \"se_boards\",\n \"se_subjects\",\n \"se_mediums\",\n \"se_topics\",\n \"se_gradeLevels\"\n ]\n }\n }\n ]\n }\n }\n}" + "raw": "{\n \"request\": \n{\n \"type\": \"config\",\n \"subType\": \"segmentation_v2\",\n \"action\": \"get\",\n \"component\": \"*\",\n \"framework\": \"*\",\n \"data\": {\n \"templateName\": \"segmentation_v2\",\n \"action\": \"get\",\n \"fields\": [\n {\n \"commandId\": 1633395600005,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_rj_k-12\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"targetedClient\": \"portal\",\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20Courses%20with%20text.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA Secondary Courses\",\n \"description\": \"NISHTHA Secondary Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHASEC\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"01246375399411712074\"\n ],\n \"batches.enrollmentType\": \"open\",\n \"softConstraints\": \"{}\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n },\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20FLN%20with%20text%20mobile.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA FLN Courses\",\n \"description\": \"NISHTHA FLN Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHAFLN\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"01246375399411712074\"\n ],\n \"batches.enrollmentType\": \"open\",\n \"softConstraints\": \"{}\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n },\n {\n \"code\": \"banner_search\",\n \"type\": \"secondary\",\n \"ui\": {\n \"text\": \"NISHTHA FLN Courses\",\n \"icon\": \"assets/images/ic_nishtha_courses.svg\",\n \"theme\": {\n \"iconBgColor\": \"#FFFFFF\",\n \"pillBgColor\": \"#FFFFFF\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"query\": \"limited attempt course\",\n \"filter\": {\n \"offset\": 0,\n \"filters\": {\n \"audience\": [],\n \"objectType\": [\n \"Content\"\n ]\n }\n }\n }\n },\n \"expiry\": \"1653031067\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600006,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_gj_k-12\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"targetedClient\": \"portal\",\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20Courses%20with%20text.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA Secondary Courses\",\n \"description\": \"NISHTHA Secondary Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHASEC\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"01260242422044262448\"\n ],\n \"batches.enrollmentType\": \"open\",\n \"softConstraints\": \"{}\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n },\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20FLN%20with%20text%20mobile.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA FLN Courses\",\n \"description\": \"NISHTHA FLN Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHAFLN\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"01260242422044262448\"\n ],\n \"batches.enrollmentType\": \"open\",\n \"softConstraints\": \"{}\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600007,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_as_k-12\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"targetedClient\": \"portal\",\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20Courses%20with%20text.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA Secondary Courses\",\n \"description\": \"NISHTHA Secondary Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHASEC\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"01254290140407398431\"\n ],\n \"batches.enrollmentType\": \"open\",\n \"softConstraints\": \"{}\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n },\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20FLN%20with%20text%20mobile.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA FLN Courses\",\n \"description\": \"NISHTHA FLN Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHAFLN\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"01254290140407398431\"\n ],\n \"batches.enrollmentType\": \"open\",\n \"softConstraints\": \"{}\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600008,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_ekstep_ncert_k-12\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"targetedClient\": \"portal\",\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20Courses%20with%20text.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA Secondary Courses\",\n \"description\": \"NISHTHA Secondary Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHASEC\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"01241974041332940818\"\n ],\n \"batches.enrollmentType\": \"open\",\n \"softConstraints\": \"{}\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n },\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20FLN%20with%20text%20mobile.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA FLN Courses\",\n \"description\": \"NISHTHA FLN Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHAFLN\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"01241974041332940818\"\n ],\n \"batches.enrollmentType\": \"open\",\n \"softConstraints\": \"{}\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600009,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_pb_k-12\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"targetedClient\": \"portal\",\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20Courses%20with%20text.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA Secondary Courses\",\n \"description\": \"NISHTHA Secondary Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHASEC\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"01259891801536921611\"\n ],\n \"batches.enrollmentType\": \"open\",\n \"softConstraints\": \"{}\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n },\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20FLN%20with%20text%20mobile.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA FLN Courses\",\n \"description\": \"NISHTHA FLN Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHAFLN\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"01259891801536921611\"\n ],\n \"batches.enrollmentType\": \"open\",\n \"softConstraints\": \"{}\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600010,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_ka_k-12\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"targetedClient\": \"portal\",\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20Courses%20with%20text.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA Secondary Courses\",\n \"description\": \"NISHTHA Secondary Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHASEC\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"01248978648941363234\"\n ],\n \"batches.enrollmentType\": \"open\",\n \"softConstraints\": \"{}\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n },\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20FLN%20with%20text%20mobile.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA FLN Courses\",\n \"description\": \"NISHTHA FLN Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHAFLN\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"01248978648941363234\"\n ],\n \"batches.enrollmentType\": \"open\",\n \"softConstraints\": \"{}\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600011,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_od_k-12\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"targetedClient\": \"portal\",\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20Courses%20with%20text.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA Secondary Courses\",\n \"description\": \"NISHTHA Secondary Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHASEC\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"012582683533344768108\"\n ],\n \"batches.enrollmentType\": \"open\",\n \"softConstraints\": \"{}\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n },\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20FLN%20with%20text%20mobile.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA FLN Courses\",\n \"description\": \"NISHTHA FLN Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHAFLN\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"012582683533344768108\"\n ],\n \"batches.enrollmentType\": \"open\",\n \"softConstraints\": \"{}\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600012,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_jk_k-12\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"targetedClient\": \"portal\",\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20Courses%20with%20text.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA Secondary Courses\",\n \"description\": \"NISHTHA Secondary Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHASEC\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"01254592085869363222\"\n ],\n \"batches.enrollmentType\": \"open\",\n \"softConstraints\": \"{}\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n },\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20FLN%20with%20text%20mobile.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA FLN Courses\",\n \"description\": \"NISHTHA FLN Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHAFLN\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"01254592085869363222\"\n ],\n \"batches.enrollmentType\": \"open\",\n \"softConstraints\": \"{}\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600013,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_up_k-12\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"targetedClient\": \"portal\",\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20Courses%20with%20text.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA Secondary Courses\",\n \"description\": \"NISHTHA Secondary Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHASEC\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"01246376237871104093\"\n ],\n \"batches.enrollmentType\": \"open\",\n \"softConstraints\": \"{}\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n },\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20FLN%20with%20text%20mobile.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA FLN Courses\",\n \"description\": \"NISHTHA FLN Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHAFLN\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"01246376237871104093\"\n ],\n \"batches.enrollmentType\": \"open\",\n \"softConstraints\": \"{}\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600014,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_nl_k-12\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"targetedClient\": \"portal\",\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20Courses%20with%20text.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA Secondary Courses\",\n \"description\": \"NISHTHA Secondary Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHASEC\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"012585429003968512109\"\n ],\n \"batches.enrollmentType\": \"open\",\n \"softConstraints\": \"{}\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n },\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20FLN%20with%20text%20mobile.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA FLN Courses\",\n \"description\": \"NISHTHA FLN Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHAFLN\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"012585429003968512109\"\n ],\n \"batches.enrollmentType\": \"open\",\n \"softConstraints\": \"{}\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600015,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_ts_k-12\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"targetedClient\": \"portal\",\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20Courses%20with%20text.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA Secondary Courses\",\n \"description\": \"NISHTHA Secondary Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHASEC\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"0126640793823641603\"\n ],\n \"batches.enrollmentType\": \"open\",\n \"softConstraints\": \"{}\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n },\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20FLN%20with%20text%20mobile.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA FLN Courses\",\n \"description\": \"NISHTHA FLN Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHAFLN\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"0126640793823641603\"\n ],\n \"batches.enrollmentType\": \"open\",\n \"softConstraints\": \"{}\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600016,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_mn_k-12\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"targetedClient\": \"portal\",\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20Courses%20with%20text.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA Secondary Courses\",\n \"description\": \"NISHTHA Secondary Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHASEC\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"01260243155748454421\"\n ],\n \"batches.enrollmentType\": \"open\",\n \"softConstraints\": \"{}\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n },\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20FLN%20with%20text%20mobile.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA FLN Courses\",\n \"description\": \"NISHTHA FLN Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHAFLN\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"01260243155748454421\"\n ],\n \"batches.enrollmentType\": \"open\",\n \"softConstraints\": \"{}\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600017,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_mz_k-12\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"targetedClient\": \"portal\",\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20Courses%20with%20text.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA Secondary Courses\",\n \"description\": \"NISHTHA Secondary Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHASEC\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"012585437685645312268\"\n ],\n \"batches.enrollmentType\": \"open\",\n \"softConstraints\": \"{}\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n },\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20FLN%20with%20text%20mobile.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA FLN Courses\",\n \"description\": \"NISHTHA FLN Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHAFLN\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"012585437685645312268\"\n ],\n \"batches.enrollmentType\": \"open\",\n \"softConstraints\": \"{}\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600018,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_uk_k-12\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"targetedClient\": \"portal\",\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20Courses%20with%20text.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA Secondary Courses\",\n \"description\": \"NISHTHA Secondary Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHASEC\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"01259546259641958410\"\n ],\n \"batches.enrollmentType\": \"open\",\n \"softConstraints\": \"{}\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n },\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20FLN%20with%20text%20mobile.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA FLN Courses\",\n \"description\": \"NISHTHA FLN Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHAFLN\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"01259546259641958410\"\n ],\n \"batches.enrollmentType\": \"open\",\n \"softConstraints\": \"{}\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600019,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_dl_k-12_1\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"targetedClient\": \"portal\",\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20Courses%20with%20text.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA Secondary Courses\",\n \"description\": \"NISHTHA Secondary Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHASEC\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"01265770253221888087\"\n ],\n \"batches.enrollmentType\": \"open\",\n \"softConstraints\": \"{}\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n },\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20FLN%20with%20text%20mobile.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA FLN Courses\",\n \"description\": \"NISHTHA FLN Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHAFLN\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"01265770253221888087\"\n ],\n \"batches.enrollmentType\": \"open\",\n \"softConstraints\": \"{}\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600020,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_br_k-12\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"targetedClient\": \"portal\",\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20Courses%20with%20text.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA Secondary Courses\",\n \"description\": \"NISHTHA Secondary Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHASEC\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"012593397993308160261\"\n ],\n \"batches.enrollmentType\": \"open\",\n \"softConstraints\": \"{}\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n },\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20FLN%20with%20text%20mobile.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA FLN Courses\",\n \"description\": \"NISHTHA FLN Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHAFLN\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"012593397993308160261\"\n ],\n \"batches.enrollmentType\": \"open\",\n \"softConstraints\": \"{}\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600021,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_sk_k-12_1\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"targetedClient\": \"portal\",\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20Courses%20with%20text.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA Secondary Courses\",\n \"description\": \"NISHTHA Secondary Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHASEC\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"0126002713272729607\"\n ],\n \"batches.enrollmentType\": \"open\",\n \"softConstraints\": \"{}\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n },\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20FLN%20with%20text%20mobile.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA FLN Courses\",\n \"description\": \"NISHTHA FLN Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHAFLN\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"0126002713272729607\"\n ],\n \"batches.enrollmentType\": \"open\",\n \"softConstraints\": \"{}\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600022,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_ga_k-12\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"targetedClient\": \"portal\",\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20Courses%20with%20text.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA Secondary Courses\",\n \"description\": \"NISHTHA Secondary Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHASEC\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"0126830867681034247\"\n ],\n \"batches.enrollmentType\": \"open\",\n \"softConstraints\": \"{}\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n },\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20FLN%20with%20text%20mobile.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA FLN Courses\",\n \"description\": \"NISHTHA FLN Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHAFLN\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"0126830867681034247\"\n ],\n \"batches.enrollmentType\": \"open\",\n \"softConstraints\": \"{}\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600023,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_tp_k-12\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"targetedClient\": \"portal\",\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20Courses%20with%20text.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA Secondary Courses\",\n \"description\": \"NISHTHA Secondary Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHASEC\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"012584868382023680262\"\n ],\n \"batches.enrollmentType\": \"open\",\n \"softConstraints\": \"{}\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n },\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20FLN%20with%20text%20mobile.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA FLN Courses\",\n \"description\": \"NISHTHA FLN Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHAFLN\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"012584868382023680262\"\n ],\n \"batches.enrollmentType\": \"open\",\n \"softConstraints\": \"{}\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600024,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_tn_k-12_5\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"targetedClient\": \"portal\",\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20Courses%20with%20text.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA Secondary Courses\",\n \"description\": \"NISHTHA Secondary Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHASEC\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"01235953109336064029450\"\n ],\n \"batches.enrollmentType\": \"open\",\n \"softConstraints\": \"{}\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n },\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20FLN%20with%20text%20mobile.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA FLN Courses\",\n \"description\": \"NISHTHA FLN Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHAFLN\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"01235953109336064029450\"\n ],\n \"batches.enrollmentType\": \"open\",\n \"softConstraints\": \"{}\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600025,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_kl_k-12\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"targetedClient\": \"portal\",\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20Courses%20with%20text.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA Secondary Courses\",\n \"description\": \"NISHTHA Secondary Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHASEC\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"0126202691023585280\"\n ],\n \"batches.enrollmentType\": \"open\",\n \"softConstraints\": \"{}\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n },\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20FLN%20with%20text%20mobile.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA FLN Courses\",\n \"description\": \"NISHTHA FLN Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHAFLN\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"0126202691023585280\"\n ],\n \"batches.enrollmentType\": \"open\",\n \"softConstraints\": \"{}\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600026,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_cg_k-12\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"targetedClient\": \"portal\",\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20Courses%20with%20text.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA Secondary Courses\",\n \"description\": \"NISHTHA Secondary Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHASEC\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"012361885070827520110898\"\n ],\n \"batches.enrollmentType\": \"open\",\n \"softConstraints\": \"{}\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n },\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20FLN%20with%20text%20mobile.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA FLN Courses\",\n \"description\": \"NISHTHA FLN Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHAFLN\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"012361885070827520110898\"\n ],\n \"batches.enrollmentType\": \"open\",\n \"softConstraints\": \"{}\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600027,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_mh_k-12_1\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"targetedClient\": \"portal\",\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20Courses%20with%20text.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA Secondary Courses\",\n \"description\": \"NISHTHA Secondary Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHASEC\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"0123221617357783046602\"\n ],\n \"batches.enrollmentType\": \"open\",\n \"softConstraints\": \"{}\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n },\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20FLN%20with%20text%20mobile.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA FLN Courses\",\n \"description\": \"NISHTHA FLN Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHAFLN\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"0123221617357783046602\"\n ],\n \"batches.enrollmentType\": \"open\",\n \"softConstraints\": \"{}\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600028,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_jh_k-12\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"targetedClient\": \"portal\",\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20Courses%20with%20text.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA Secondary Courses\",\n \"description\": \"NISHTHA Secondary Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHASEC\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"01263350230999859261\"\n ],\n \"batches.enrollmentType\": \"open\",\n \"softConstraints\": \"{}\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n },\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20FLN%20with%20text%20mobile.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA FLN Courses\",\n \"description\": \"NISHTHA FLN Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHAFLN\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"01263350230999859261\"\n ],\n \"batches.enrollmentType\": \"open\",\n \"softConstraints\": \"{}\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600029,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_hr_k-12\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"targetedClient\": \"portal\",\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20Courses%20with%20text.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA Secondary Courses\",\n \"description\": \"NISHTHA Secondary Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHASEC\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"01257280950159769620\"\n ],\n \"batches.enrollmentType\": \"open\",\n \"softConstraints\": \"{}\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n },\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20FLN%20with%20text%20mobile.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA FLN Courses\",\n \"description\": \"NISHTHA FLN Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHAFLN\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"01257280950159769620\"\n ],\n \"batches.enrollmentType\": \"open\",\n \"softConstraints\": \"{}\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600030,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_ch_k-12\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"targetedClient\": \"portal\",\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20Courses%20with%20text.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA Secondary Courses\",\n \"description\": \"NISHTHA Secondary Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHASEC\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"0125805318613565447\"\n ],\n \"batches.enrollmentType\": \"open\",\n \"softConstraints\": \"{}\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n },\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20FLN%20with%20text%20mobile.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA FLN Courses\",\n \"description\": \"NISHTHA FLN Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHAFLN\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"0125805318613565447\"\n ],\n \"batches.enrollmentType\": \"open\",\n \"softConstraints\": \"{}\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600031,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_ap_k-12_1\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"targetedClient\": \"portal\",\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20Courses%20with%20text.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA Secondary Courses\",\n \"description\": \"NISHTHA Secondary Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHASEC\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"0123207707019919361056\"\n ],\n \"batches.enrollmentType\": \"open\",\n \"softConstraints\": \"{}\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n },\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20FLN%20with%20text%20mobile.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA FLN Courses\",\n \"description\": \"NISHTHA FLN Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHAFLN\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"0123207707019919361056\"\n ],\n \"batches.enrollmentType\": \"open\",\n \"softConstraints\": \"{}\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600032,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_ml_k-12\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"targetedClient\": \"portal\",\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20Courses%20with%20text.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA Secondary Courses\",\n \"description\": \"NISHTHA Secondary Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHASEC\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"012837368918761472986\"\n ],\n \"batches.enrollmentType\": \"open\",\n \"softConstraints\": \"{}\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n },\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20FLN%20with%20text%20mobile.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA FLN Courses\",\n \"description\": \"NISHTHA FLN Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHAFLN\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"012837368918761472986\"\n ],\n \"batches.enrollmentType\": \"open\",\n \"softConstraints\": \"{}\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600033,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_dd_k-12\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"targetedClient\": \"portal\",\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20Courses%20with%20text.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA Secondary Courses\",\n \"description\": \"NISHTHA Secondary Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHASEC\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"01312557236873625613757\"\n ],\n \"batches.enrollmentType\": \"open\",\n \"softConstraints\": \"{}\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n },\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20FLN%20with%20text%20mobile.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA FLN Courses\",\n \"description\": \"NISHTHA FLN Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHAFLN\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"01312557236873625613757\"\n ],\n \"batches.enrollmentType\": \"open\",\n \"softConstraints\": \"{}\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600034,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_an_k-12\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"targetedClient\": \"portal\",\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20Courses%20with%20text.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA Secondary Courses\",\n \"description\": \"NISHTHA Secondary Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHASEC\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"0125747585442037766\"\n ],\n \"batches.enrollmentType\": \"open\",\n \"softConstraints\": \"{}\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n },\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20FLN%20with%20text%20mobile.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA FLN Courses\",\n \"description\": \"NISHTHA FLN Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHAFLN\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"0125747585442037766\"\n ],\n \"batches.enrollmentType\": \"open\",\n \"softConstraints\": \"{}\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600035,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_ld_k-12\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"targetedClient\": \"portal\",\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20Courses%20with%20text.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA Secondary Courses\",\n \"description\": \"NISHTHA Secondary Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHASEC\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"0131197424650321921193\"\n ],\n \"batches.enrollmentType\": \"open\",\n \"softConstraints\": \"{}\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n },\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20FLN%20with%20text%20mobile.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA FLN Courses\",\n \"description\": \"NISHTHA FLN Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHAFLN\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"0131197424650321921193\"\n ],\n \"batches.enrollmentType\": \"open\",\n \"softConstraints\": \"{}\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600036,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_mp_k-12\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"targetedClient\": \"portal\",\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20Courses%20with%20text.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA Secondary Courses\",\n \"description\": \"NISHTHA Secondary Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHASEC\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"012936530816278528135\"\n ],\n \"batches.enrollmentType\": \"open\",\n \"softConstraints\": \"{}\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n },\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20FLN%20with%20text%20mobile.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA FLN Courses\",\n \"description\": \"NISHTHA FLN Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHAFLN\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"012936530816278528135\"\n ],\n \"batches.enrollmentType\": \"open\",\n \"softConstraints\": \"{}\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600037,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_hp_k-12\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"targetedClient\": \"portal\",\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20Courses%20with%20text.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA Secondary Courses\",\n \"description\": \"NISHTHA Secondary Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHASEC\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"01300084831702220811905\"\n ],\n \"batches.enrollmentType\": \"open\",\n \"softConstraints\": \"{}\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n },\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20FLN%20with%20text%20mobile.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA FLN Courses\",\n \"description\": \"NISHTHA FLN Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHAFLN\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"01300084831702220811905\"\n ],\n \"batches.enrollmentType\": \"open\",\n \"softConstraints\": \"{}\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600038,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_py_k-12\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"targetedClient\": \"portal\",\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20Courses%20with%20text.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA Secondary Courses\",\n \"description\": \"NISHTHA Secondary Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHASEC\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"0130737312897597448340\"\n ],\n \"batches.enrollmentType\": \"open\",\n \"softConstraints\": \"{}\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n },\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20FLN%20with%20text%20mobile.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA FLN Courses\",\n \"description\": \"NISHTHA FLN Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHAFLN\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"0130737312897597448340\"\n ],\n \"batches.enrollmentType\": \"open\",\n \"softConstraints\": \"{}\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600039,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_ar_k-12\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"targetedClient\": \"portal\",\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20Courses%20with%20text.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA Secondary Courses\",\n \"description\": \"NISHTHA Secondary Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHASEC\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"0130589531303690248689\"\n ],\n \"batches.enrollmentType\": \"open\",\n \"softConstraints\": \"{}\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n },\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20FLN%20with%20text%20mobile.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA FLN Courses\",\n \"description\": \"NISHTHA FLN Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHAFLN\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"0130589531303690248689\"\n ],\n \"batches.enrollmentType\": \"open\",\n \"softConstraints\": \"{}\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600040,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_nios_fw\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"targetedClient\": \"portal\",\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20Courses%20with%20text.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA Secondary Courses\",\n \"description\": \"NISHTHA Secondary Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHASEC\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"0131423797264547845395\"\n ],\n \"batches.enrollmentType\": \"open\",\n \"softConstraints\": \"{}\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n },\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20FLN%20with%20text%20mobile.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA FLN Courses\",\n \"description\": \"NISHTHA FLN Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHAFLN\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"0131423797264547845395\"\n ],\n \"batches.enrollmentType\": \"open\",\n \"softConstraints\": \"{}\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600041,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_cisce_k-12\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"targetedClient\": \"portal\",\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20Courses%20with%20text.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA Secondary Courses\",\n \"description\": \"NISHTHA Secondary Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHASEC\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"0131426198943907845456\"\n ],\n \"batches.enrollmentType\": \"open\",\n \"softConstraints\": \"{}\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n },\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20FLN%20with%20text%20mobile.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA FLN Courses\",\n \"description\": \"NISHTHA FLN Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHAFLN\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"0131426198943907845456\"\n ],\n \"batches.enrollmentType\": \"open\",\n \"softConstraints\": \"{}\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600042,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_rj_k-12\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20Courses%20with%20text.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA Secondary Courses\",\n \"description\": \"NISHTHA Secondary Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHASEC\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"01246375399411712074\"\n ],\n \"batches.enrollmentType\": \"open\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n },\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20FLN%20with%20text%20mobile.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA FLN Courses\",\n \"description\": \"NISHTHA FLN Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHAFLN\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"01246375399411712074\"\n ],\n \"batches.enrollmentType\": \"open\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n },\n {\n \"code\": \"banner_search\",\n \"type\": \"secondary\",\n \"ui\": {\n \"text\": \"NISHTHA FLN Courses\",\n \"icon\": \"assets/images/ic_nishtha_courses.svg\",\n \"theme\": {\n \"iconBgColor\": \"#FFFFFF\",\n \"pillBgColor\": \"#FFFFFF\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"query\": \"limited attempt course\",\n \"filter\": {\n \"offset\": 0,\n \"filters\": {\n \"audience\": [],\n \"objectType\": [\n \"Content\"\n ]\n }\n }\n }\n },\n \"expiry\": \"1653031067\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600043,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_gj_k-12\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20Courses%20with%20text.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA Secondary Courses\",\n \"description\": \"NISHTHA Secondary Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHASEC\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"01260242422044262448\"\n ],\n \"batches.enrollmentType\": \"open\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n },\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20FLN%20with%20text%20mobile.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA FLN Courses\",\n \"description\": \"NISHTHA FLN Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHAFLN\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"01260242422044262448\"\n ],\n \"batches.enrollmentType\": \"open\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600044,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_as_k-12\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20Courses%20with%20text.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA Secondary Courses\",\n \"description\": \"NISHTHA Secondary Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHASEC\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"01254290140407398431\"\n ],\n \"batches.enrollmentType\": \"open\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n },\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20FLN%20with%20text%20mobile.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA FLN Courses\",\n \"description\": \"NISHTHA FLN Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHAFLN\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"01254290140407398431\"\n ],\n \"batches.enrollmentType\": \"open\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600045,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_ekstep_ncert_k-12\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20Courses%20with%20text.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA Secondary Courses\",\n \"description\": \"NISHTHA Secondary Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHASEC\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"01241974041332940818\"\n ],\n \"batches.enrollmentType\": \"open\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n },\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20FLN%20with%20text%20mobile.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA FLN Courses\",\n \"description\": \"NISHTHA FLN Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHAFLN\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"01241974041332940818\"\n ],\n \"batches.enrollmentType\": \"open\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600046,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_pb_k-12\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20Courses%20with%20text.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA Secondary Courses\",\n \"description\": \"NISHTHA Secondary Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHASEC\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"01259891801536921611\"\n ],\n \"batches.enrollmentType\": \"open\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n },\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20FLN%20with%20text%20mobile.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA FLN Courses\",\n \"description\": \"NISHTHA FLN Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHAFLN\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"01259891801536921611\"\n ],\n \"batches.enrollmentType\": \"open\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600047,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_ka_k-12\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20Courses%20with%20text.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA Secondary Courses\",\n \"description\": \"NISHTHA Secondary Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHASEC\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"01248978648941363234\"\n ],\n \"batches.enrollmentType\": \"open\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n },\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20FLN%20with%20text%20mobile.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA FLN Courses\",\n \"description\": \"NISHTHA FLN Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHAFLN\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"01248978648941363234\"\n ],\n \"batches.enrollmentType\": \"open\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600048,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_od_k-12\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20Courses%20with%20text.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA Secondary Courses\",\n \"description\": \"NISHTHA Secondary Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHASEC\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"012582683533344768108\"\n ],\n \"batches.enrollmentType\": \"open\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n },\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20FLN%20with%20text%20mobile.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA FLN Courses\",\n \"description\": \"NISHTHA FLN Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHAFLN\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"012582683533344768108\"\n ],\n \"batches.enrollmentType\": \"open\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600049,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_jk_k-12\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20Courses%20with%20text.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA Secondary Courses\",\n \"description\": \"NISHTHA Secondary Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHASEC\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"01254592085869363222\"\n ],\n \"batches.enrollmentType\": \"open\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n },\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20FLN%20with%20text%20mobile.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA FLN Courses\",\n \"description\": \"NISHTHA FLN Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHAFLN\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"01254592085869363222\"\n ],\n \"batches.enrollmentType\": \"open\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600050,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_up_k-12\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20Courses%20with%20text.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA Secondary Courses\",\n \"description\": \"NISHTHA Secondary Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHASEC\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"01246376237871104093\"\n ],\n \"batches.enrollmentType\": \"open\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n },\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20FLN%20with%20text%20mobile.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA FLN Courses\",\n \"description\": \"NISHTHA FLN Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHAFLN\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"01246376237871104093\"\n ],\n \"batches.enrollmentType\": \"open\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600051,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_nl_k-12\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20Courses%20with%20text.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA Secondary Courses\",\n \"description\": \"NISHTHA Secondary Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHASEC\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"012585429003968512109\"\n ],\n \"batches.enrollmentType\": \"open\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n },\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20FLN%20with%20text%20mobile.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA FLN Courses\",\n \"description\": \"NISHTHA FLN Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHAFLN\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"012585429003968512109\"\n ],\n \"batches.enrollmentType\": \"open\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600052,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_ts_k-12\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20Courses%20with%20text.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA Secondary Courses\",\n \"description\": \"NISHTHA Secondary Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHASEC\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"0126640793823641603\"\n ],\n \"batches.enrollmentType\": \"open\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n },\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20FLN%20with%20text%20mobile.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA FLN Courses\",\n \"description\": \"NISHTHA FLN Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHAFLN\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"0126640793823641603\"\n ],\n \"batches.enrollmentType\": \"open\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600053,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_mn_k-12\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20Courses%20with%20text.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA Secondary Courses\",\n \"description\": \"NISHTHA Secondary Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHASEC\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"01260243155748454421\"\n ],\n \"batches.enrollmentType\": \"open\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n },\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20FLN%20with%20text%20mobile.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA FLN Courses\",\n \"description\": \"NISHTHA FLN Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHAFLN\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"01260243155748454421\"\n ],\n \"batches.enrollmentType\": \"open\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600054,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_mz_k-12\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20Courses%20with%20text.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA Secondary Courses\",\n \"description\": \"NISHTHA Secondary Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHASEC\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"012585437685645312268\"\n ],\n \"batches.enrollmentType\": \"open\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n },\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20FLN%20with%20text%20mobile.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA FLN Courses\",\n \"description\": \"NISHTHA FLN Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHAFLN\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"012585437685645312268\"\n ],\n \"batches.enrollmentType\": \"open\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600055,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_uk_k-12\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20Courses%20with%20text.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA Secondary Courses\",\n \"description\": \"NISHTHA Secondary Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHASEC\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"01259546259641958410\"\n ],\n \"batches.enrollmentType\": \"open\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n },\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20FLN%20with%20text%20mobile.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA FLN Courses\",\n \"description\": \"NISHTHA FLN Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHAFLN\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"01259546259641958410\"\n ],\n \"batches.enrollmentType\": \"open\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600056,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_dl_k-12_1\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20Courses%20with%20text.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA Secondary Courses\",\n \"description\": \"NISHTHA Secondary Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHASEC\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"01265770253221888087\"\n ],\n \"batches.enrollmentType\": \"open\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n },\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20FLN%20with%20text%20mobile.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA FLN Courses\",\n \"description\": \"NISHTHA FLN Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHAFLN\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"01265770253221888087\"\n ],\n \"batches.enrollmentType\": \"open\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600057,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_br_k-12\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20Courses%20with%20text.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA Secondary Courses\",\n \"description\": \"NISHTHA Secondary Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHASEC\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"012593397993308160261\"\n ],\n \"batches.enrollmentType\": \"open\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n },\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20FLN%20with%20text%20mobile.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA FLN Courses\",\n \"description\": \"NISHTHA FLN Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHAFLN\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"012593397993308160261\"\n ],\n \"batches.enrollmentType\": \"open\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600058,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_sk_k-12_1\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20Courses%20with%20text.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA Secondary Courses\",\n \"description\": \"NISHTHA Secondary Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHASEC\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"0126002713272729607\"\n ],\n \"batches.enrollmentType\": \"open\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n },\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20FLN%20with%20text%20mobile.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA FLN Courses\",\n \"description\": \"NISHTHA FLN Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHAFLN\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"0126002713272729607\"\n ],\n \"batches.enrollmentType\": \"open\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600059,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_ga_k-12\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20Courses%20with%20text.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA Secondary Courses\",\n \"description\": \"NISHTHA Secondary Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHASEC\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"0126830867681034247\"\n ],\n \"batches.enrollmentType\": \"open\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n },\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20FLN%20with%20text%20mobile.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA FLN Courses\",\n \"description\": \"NISHTHA FLN Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHAFLN\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"0126830867681034247\"\n ],\n \"batches.enrollmentType\": \"open\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600060,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_tp_k-12\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20Courses%20with%20text.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA Secondary Courses\",\n \"description\": \"NISHTHA Secondary Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHASEC\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"012584868382023680262\"\n ],\n \"batches.enrollmentType\": \"open\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n },\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20FLN%20with%20text%20mobile.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA FLN Courses\",\n \"description\": \"NISHTHA FLN Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHAFLN\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"012584868382023680262\"\n ],\n \"batches.enrollmentType\": \"open\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600061,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_tn_k-12_5\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20Courses%20with%20text.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA Secondary Courses\",\n \"description\": \"NISHTHA Secondary Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHASEC\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"01235953109336064029450\"\n ],\n \"batches.enrollmentType\": \"open\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n },\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20FLN%20with%20text%20mobile.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA FLN Courses\",\n \"description\": \"NISHTHA FLN Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHAFLN\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"01235953109336064029450\"\n ],\n \"batches.enrollmentType\": \"open\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600062,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_kl_k-12\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20Courses%20with%20text.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA Secondary Courses\",\n \"description\": \"NISHTHA Secondary Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHASEC\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"0126202691023585280\"\n ],\n \"batches.enrollmentType\": \"open\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n },\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20FLN%20with%20text%20mobile.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA FLN Courses\",\n \"description\": \"NISHTHA FLN Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHAFLN\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"0126202691023585280\"\n ],\n \"batches.enrollmentType\": \"open\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600063,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_cg_k-12\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20Courses%20with%20text.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA Secondary Courses\",\n \"description\": \"NISHTHA Secondary Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHASEC\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"012361885070827520110898\"\n ],\n \"batches.enrollmentType\": \"open\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n },\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20FLN%20with%20text%20mobile.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA FLN Courses\",\n \"description\": \"NISHTHA FLN Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHAFLN\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"012361885070827520110898\"\n ],\n \"batches.enrollmentType\": \"open\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600064,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_mh_k-12_1\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20Courses%20with%20text.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA Secondary Courses\",\n \"description\": \"NISHTHA Secondary Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHASEC\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"0123221617357783046602\"\n ],\n \"batches.enrollmentType\": \"open\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n },\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20FLN%20with%20text%20mobile.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA FLN Courses\",\n \"description\": \"NISHTHA FLN Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHAFLN\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"0123221617357783046602\"\n ],\n \"batches.enrollmentType\": \"open\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600065,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_jh_k-12\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20Courses%20with%20text.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA Secondary Courses\",\n \"description\": \"NISHTHA Secondary Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHASEC\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"01263350230999859261\"\n ],\n \"batches.enrollmentType\": \"open\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n },\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20FLN%20with%20text%20mobile.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA FLN Courses\",\n \"description\": \"NISHTHA FLN Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHAFLN\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"01263350230999859261\"\n ],\n \"batches.enrollmentType\": \"open\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600066,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_hr_k-12\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20Courses%20with%20text.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA Secondary Courses\",\n \"description\": \"NISHTHA Secondary Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHASEC\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"01257280950159769620\"\n ],\n \"batches.enrollmentType\": \"open\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n },\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20FLN%20with%20text%20mobile.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA FLN Courses\",\n \"description\": \"NISHTHA FLN Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHAFLN\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"01257280950159769620\"\n ],\n \"batches.enrollmentType\": \"open\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600067,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_ch_k-12\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20Courses%20with%20text.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA Secondary Courses\",\n \"description\": \"NISHTHA Secondary Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHASEC\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"0125805318613565447\"\n ],\n \"batches.enrollmentType\": \"open\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n },\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20FLN%20with%20text%20mobile.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA FLN Courses\",\n \"description\": \"NISHTHA FLN Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHAFLN\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"0125805318613565447\"\n ],\n \"batches.enrollmentType\": \"open\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600068,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_ap_k-12_1\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20Courses%20with%20text.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA Secondary Courses\",\n \"description\": \"NISHTHA Secondary Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHASEC\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"0123207707019919361056\"\n ],\n \"batches.enrollmentType\": \"open\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n },\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20FLN%20with%20text%20mobile.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA FLN Courses\",\n \"description\": \"NISHTHA FLN Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHAFLN\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"0123207707019919361056\"\n ],\n \"batches.enrollmentType\": \"open\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600069,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_ml_k-12\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20Courses%20with%20text.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA Secondary Courses\",\n \"description\": \"NISHTHA Secondary Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHASEC\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"012837368918761472986\"\n ],\n \"batches.enrollmentType\": \"open\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n },\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20FLN%20with%20text%20mobile.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA FLN Courses\",\n \"description\": \"NISHTHA FLN Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHAFLN\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"012837368918761472986\"\n ],\n \"batches.enrollmentType\": \"open\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600070,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_dd_k-12\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20Courses%20with%20text.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA Secondary Courses\",\n \"description\": \"NISHTHA Secondary Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHASEC\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"01312557236873625613757\"\n ],\n \"batches.enrollmentType\": \"open\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n },\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20FLN%20with%20text%20mobile.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA FLN Courses\",\n \"description\": \"NISHTHA FLN Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHAFLN\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"01312557236873625613757\"\n ],\n \"batches.enrollmentType\": \"open\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600071,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_an_k-12\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20Courses%20with%20text.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA Secondary Courses\",\n \"description\": \"NISHTHA Secondary Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHASEC\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"0125747585442037766\"\n ],\n \"batches.enrollmentType\": \"open\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n },\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20FLN%20with%20text%20mobile.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA FLN Courses\",\n \"description\": \"NISHTHA FLN Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHAFLN\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"0125747585442037766\"\n ],\n \"batches.enrollmentType\": \"open\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600072,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_ld_k-12\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20Courses%20with%20text.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA Secondary Courses\",\n \"description\": \"NISHTHA Secondary Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHASEC\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"0131197424650321921193\"\n ],\n \"batches.enrollmentType\": \"open\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n },\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20FLN%20with%20text%20mobile.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA FLN Courses\",\n \"description\": \"NISHTHA FLN Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHAFLN\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"0131197424650321921193\"\n ],\n \"batches.enrollmentType\": \"open\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600073,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_mp_k-12\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20Courses%20with%20text.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA Secondary Courses\",\n \"description\": \"NISHTHA Secondary Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHASEC\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"012936530816278528135\"\n ],\n \"batches.enrollmentType\": \"open\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n },\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20FLN%20with%20text%20mobile.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA FLN Courses\",\n \"description\": \"NISHTHA FLN Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHAFLN\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"012936530816278528135\"\n ],\n \"batches.enrollmentType\": \"open\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600074,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_hp_k-12\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20Courses%20with%20text.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA Secondary Courses\",\n \"description\": \"NISHTHA Secondary Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHASEC\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"01300084831702220811905\"\n ],\n \"batches.enrollmentType\": \"open\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n },\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20FLN%20with%20text%20mobile.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA FLN Courses\",\n \"description\": \"NISHTHA FLN Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHAFLN\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"01300084831702220811905\"\n ],\n \"batches.enrollmentType\": \"open\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600075,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_py_k-12\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20Courses%20with%20text.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA Secondary Courses\",\n \"description\": \"NISHTHA Secondary Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHASEC\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"0130737312897597448340\"\n ],\n \"batches.enrollmentType\": \"open\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n },\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20FLN%20with%20text%20mobile.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA FLN Courses\",\n \"description\": \"NISHTHA FLN Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHAFLN\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"0130737312897597448340\"\n ],\n \"batches.enrollmentType\": \"open\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600076,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_ar_k-12\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20Courses%20with%20text.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA Secondary Courses\",\n \"description\": \"NISHTHA Secondary Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHASEC\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"0130589531303690248689\"\n ],\n \"batches.enrollmentType\": \"open\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n },\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20FLN%20with%20text%20mobile.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA FLN Courses\",\n \"description\": \"NISHTHA FLN Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHAFLN\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"0130589531303690248689\"\n ],\n \"batches.enrollmentType\": \"open\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600077,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_nios_fw\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20Courses%20with%20text.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA Secondary Courses\",\n \"description\": \"NISHTHA Secondary Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHASEC\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"0131423797264547845395\"\n ],\n \"batches.enrollmentType\": \"open\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n },\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20FLN%20with%20text%20mobile.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA FLN Courses\",\n \"description\": \"NISHTHA FLN Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHAFLN\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"0131423797264547845395\"\n ],\n \"batches.enrollmentType\": \"open\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600078,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_cisce_k-12\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20Courses%20with%20text.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA Secondary Courses\",\n \"description\": \"NISHTHA Secondary Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHASEC\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"0131426198943907845456\"\n ],\n \"batches.enrollmentType\": \"open\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n },\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20FLN%20with%20text%20mobile.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA FLN Courses\",\n \"description\": \"NISHTHA FLN Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHAFLN\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"0131426198943907845456\"\n ],\n \"batches.enrollmentType\": \"open\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600079,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"OR\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_Preschool 1\",\n \"USERFRAMEWORK_Preschool 2\",\n \"USERFRAMEWORK_Preschool 3\",\n \"USERFRAMEWORK_Class 1\",\n \"USERFRAMEWORK_Class 2\",\n \"USERFRAMEWORK_Class 3\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"targetedClient\": \"portal\",\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/nipunBharat.png\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"vertical nipun bharat (fln)\",\n \"description\": \"vertical nipun bharat (fln)\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"verticals\": \"nipun bharat (fln)\",\n \"status\": [\n \"Live\"\n ]\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600080,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"OR\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_preschool1\",\n \"USERFRAMEWORK_preschool2\",\n \"USERFRAMEWORK_preschool3\",\n \"USERFRAMEWORK_class1\",\n \"USERFRAMEWORK_class2\",\n \"USERFRAMEWORK_class3\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/nipunBharat.png\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"vertical nipun bharat (fln)\",\n \"description\": \"vertical nipun bharat (fln)\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"verticals\": \"nipun bharat (fln)\",\n \"status\": [\n \"Live\"\n ]\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600081,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"OR\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_class6\",\n \"USERFRAMEWORK_class7\",\n \"USERFRAMEWORK_class8\",\n \"USERFRAMEWORK_class9\",\n \"USERFRAMEWORK_class10\",\n \"USERFRAMEWORK_class11\",\n \"USERFRAMEWORK_class12\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/virtuallab-min.png\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"Virtual Labs\",\n \"description\": \"Virtual Labs\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"verticals\": \"Virtual Labs\",\n \"status\": [\n \"Live\"\n ]\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600082,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"OR\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_Class 6\",\n \"USERFRAMEWORK_Class 7\",\n \"USERFRAMEWORK_Class 8\",\n \"USERFRAMEWORK_Class 9\",\n \"USERFRAMEWORK_Class 10\",\n \"USERFRAMEWORK_Class 11\",\n \"USERFRAMEWORK_Class 12\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"targetedClient\": \"portal\",\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/virtuallab-min.png\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"Virtual Labs\",\n \"description\": \"Virtual Labs\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"verticals\": \"Virtual Labs\",\n \"status\": [\n \"Live\"\n ]\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600083,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"OR\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_class1\",\n \"USERFRAMEWORK_class2\",\n \"USERFRAMEWORK_class3\",\n \"USERFRAMEWORK_class4\",\n \"USERFRAMEWORK_class5\",\n \"USERFRAMEWORK_class6\",\n \"USERFRAMEWORK_class7\",\n \"USERFRAMEWORK_class8\",\n \"USERFRAMEWORK_class9\",\n \"USERFRAMEWORK_class10\",\n \"USERFRAMEWORK_class11\",\n \"USERFRAMEWORK_class12\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/educationall-min.png\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"Adult Education\",\n \"description\": \"Adult Education\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"verticals\": \"Adult Education\",\n \"status\": [\n \"Live\"\n ]\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600084,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"OR\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_Class 1\",\n \"USERFRAMEWORK_Class 2\",\n \"USERFRAMEWORK_Class 3\",\n \"USERFRAMEWORK_Class 4\",\n \"USERFRAMEWORK_Class 5\",\n \"USERFRAMEWORK_Class 6\",\n \"USERFRAMEWORK_Class 7\",\n \"USERFRAMEWORK_Class 8\",\n \"USERFRAMEWORK_Class 9\",\n \"USERFRAMEWORK_Class 10\",\n \"USERFRAMEWORK_Class 11\",\n \"USERFRAMEWORK_Class 12\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"targetedClient\": \"portal\",\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/educationall-min.png\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"Adult Education\",\n \"description\": \"Adult Education\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"verticals\": \"Adult Education\",\n \"status\": [\n \"Live\"\n ]\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600085,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"OR\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_class9\",\n \"USERFRAMEWORK_class10\",\n \"USERFRAMEWORK_class11\",\n \"USERFRAMEWORK_class12\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/vocational-education-min.png\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"Vocational Education\",\n \"description\": \"Vocational Education\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"verticals\": \"Vocational Education\",\n \"status\": [\n \"Live\"\n ]\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600086,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"OR\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_Class 9\",\n \"USERFRAMEWORK_Class 10\",\n \"USERFRAMEWORK_Class 11\",\n \"USERFRAMEWORK_Class 12\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"targetedClient\": \"portal\",\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/vocational-education-min.png\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"Vocational Education\",\n \"description\": \"Vocational Education\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"verticals\": \"Vocational Education\",\n \"status\": [\n \"Live\"\n ]\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600087,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_State (Uttarakhand)\",\n \"USERFRAMEWORK_Class 9\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"targetedClient\": \"portal\",\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/gyanankuran-class-9-courses-banner.jpg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"Gyanankuran Courses\",\n \"description\": \"Gyanankuran Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"GYANANKURAN\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"01259546259641958410\"\n ],\n \"se_gradeLevels\": [\n \"Class 9\"\n ]\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600088,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_State (Uttarakhand)\",\n \"USERFRAMEWORK_Class 10\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"targetedClient\": \"portal\",\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/gyanankuran-class-10-courses-banner.jpg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"Gyanankuran Courses\",\n \"description\": \"Gyanankuran Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"GYANANKURAN\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"01259546259641958410\"\n ],\n \"se_gradeLevels\": [\n \"Class 10\"\n ]\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600089,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_stateuttarakhand\",\n \"USERFRAMEWORK_class9\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/gyanankuran-class-9-courses-banner.jpg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"Gyanankuran Courses\",\n \"description\": \"Gyanankuran Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"GYANANKURAN\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"01259546259641958410\"\n ],\n \"se_gradeLevels\": [\n \"Class 9\"\n ]\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600090,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_stateuttarakhand\",\n \"USERFRAMEWORK_class10\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/gyanankuran-class-10-courses-banner.jpg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"Gyanankuran Courses\",\n \"description\": \"Gyanankuran Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"GYANANKURAN\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"01259546259641958410\"\n ],\n \"se_gradeLevels\": [\n \"Class 10\"\n ]\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n }\n ]\n }\n }\n ]\n },\n \"rootOrgId\": \"*\"\n }\n}" }, "url": { "raw": "{{host}}/api/data/v1/form/create", @@ -5522,22 +8377,22 @@ "response": [] }, { - "name": "4 - Resource Bundle - For Labels", + "name": "12 - UserType", "request": { "method": "POST", "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, { "key": "Authorization", "value": "Bearer {{apikey}}" + }, + { + "key": "Content-Type", + "value": "application/json" } ], "body": { "mode": "raw", - "raw": "{\n \"request\": {\n \"type\": \"customResourcebundles\",\n \"action\": \"list\",\n \"subType\": \"global\",\n \"rootOrgId\": \"*\",\n \"component\": \"portal\",\n \"data\": {\n \"defaultLanguage\": \"en\",\n \"en\": {\n \"frameworkCategory1\": \"Board\",\n \"frameworkCategory2\": \"Medium\",\n \"frameworkCategory3\": \"Grade\",\n \"frameworkCategory4\": \"Subject\"\n }\n }\n }\n}" + "raw": "{\n \"request\": \n{\n \"type\": \"config\",\n \"subType\": \"userType\",\n \"action\": \"get\",\n \"component\": \"portal\",\n \"framework\": \"*\",\n \"data\": {\n \"templateName\": \"userType\",\n \"action\": \"get\",\n \"fields\": [\n {\n \"code\": \"teacher\",\n \"name\": \"Teacher\",\n \"label\": \"frmelmnts.lbl.teacher\",\n \"visibility\": true,\n \"image\": \"guest-img1.svg\",\n \"index\": 0,\n \"searchFilter\": [\n \"Teacher\",\n \"Instructor\"\n ]\n },\n {\n \"code\": \"student\",\n \"name\": \"Student\",\n \"visibility\": true,\n \"label\": \"frmelmnts.lbl.student\",\n \"image\": \"guest-img2.svg\",\n \"index\": 1,\n \"searchFilter\": [\n \"Student\",\n \"Learner\"\n ]\n },\n {\n \"code\": \"administrator\",\n \"name\": \"Head teacher & Official\",\n \"index\": 3,\n \"visibility\": true,\n \"label\": \"frmelmnts.lbl.administrator\",\n \"image\": \"guest-img5.svg\",\n \"searchFilter\": [\n \"administrator\"\n ]\n },\n {\n \"code\": \"parent\",\n \"name\": \"Parent\",\n \"index\": 2,\n \"visibility\": true,\n \"label\": \"frmelmnts.lbl.parent\",\n \"image\": \"guest-img4.svg\",\n \"searchFilter\": [\n \"Student\",\n \"Teacher\",\n \"Instructor\",\n \"Learner\"\n ]\n },\n {\n \"code\": \"other\",\n \"name\": \"Other\",\n \"visibility\": true,\n \"index\": 4,\n \"label\": \"frmelmnts.lbl.other\",\n \"image\": \"guest-img3.svg\",\n \"searchFilter\": [\n \"Student\",\n \"Teacher\",\n \"Instructor\",\n \"Learner\"\n ]\n }\n ]\n },\n \"rootOrgId\": \"*\"\n }\n}" }, "url": { "raw": "{{host}}/api/data/v1/form/create", @@ -5556,22 +8411,22 @@ "response": [] }, { - "name": "5 - Groups Form", + "name": "13 - ResourceCreate", "request": { "method": "POST", "header": [ - { - "key": "Authorization", - "value": "Bearer {{apikey}}" - }, { "key": "Content-Type", "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{apikey}}" } ], "body": { "mode": "raw", - "raw": "{\n \"request\": \n{\n \"type\": \"forum\",\n \"subType\": \"group\",\n \"action\": \"create\",\n \"component\": \"*\",\n \"framework\": \"*\",\n \"data\": {\n \"templateName\": \"defaultTemplate\",\n \"action\": \"create\",\n \"fields\": [\n {\n \"category\": {\n \"name\": \"Discussion Forum for Groups\",\n \"pid\": \"6\",\n \"uid\": \"1\",\n \"description\": \"\",\n \"context\": [\n {\n \"type\": \"group\",\n \"identifier\": \"_groupId\"\n }\n ]\n }\n }\n ]\n },\n \"rootOrgId\": \"*\"\n }\n}" + "raw": "{\r\n \"request\": {\r\n \"action\": \"create\",\r\n \"subType\": \"resource\",\r\n \"framework\": \"*\",\r\n \"rootOrgId\": \"*\",\r\n \"type\": \"content\",\r\n \"popup\": true,\r\n \"editMode\": true,\r\n \"data\": {\r\n \"templateName\": \"defaultTemplate\",\r\n \"action\": \"create\",\r\n \"fields\": [\r\n {\r\n \"code\": \"appicon\",\r\n \"visible\": true,\r\n \"editable\": true,\r\n \"dataType\": \"url\",\r\n \"renderingHints\": {},\r\n \"name\": \"App Icon\",\r\n \"description\": \"App Icon\",\r\n \"index\": 1,\r\n \"inputType\": \"file\",\r\n \"label\": \"Icon\",\r\n \"placeholder\": \"App Icon\"\r\n },\r\n {\r\n \"code\": \"name\",\r\n \"visible\": true,\r\n \"editable\": true,\r\n \"dataType\": \"text\",\r\n \"renderingHints\": {},\r\n \"name\": \"Title\",\r\n \"description\": \"Title of the content\",\r\n \"index\": 2,\r\n \"inputType\": \"text\",\r\n \"label\": \"Title\",\r\n \"placeholder\": \"Enter Title For Book\"\r\n },\r\n {\r\n \"code\": \"description\",\r\n \"visible\": true,\r\n \"editable\": true,\r\n \"dataType\": \"text\",\r\n \"renderingHints\": {},\r\n \"name\": \"Description\",\r\n \"description\": \"Brief description\",\r\n \"index\": 3,\r\n \"inputType\": \"textarea\",\r\n \"label\": \"Description\",\r\n \"placeholder\": \"Brief description about the Book\"\r\n }\r\n \r\n ]\r\n }\r\n }\r\n}" }, "url": { "raw": "{{host}}/api/data/v1/form/create", @@ -5590,22 +8445,22 @@ "response": [] }, { - "name": "6 - Groups Supported Activities", + "name": "14 - ReportTypes", "request": { "method": "POST", "header": [ - { - "key": "Authorization", - "value": "Bearer {{apikey}}" - }, { "key": "Content-Type", "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{apikey}}" } ], "body": { "mode": "raw", - "raw": "{\n \"request\": \n{\n \"type\": \"group\",\n \"subType\": \"supported_activities\",\n \"action\": \"list\",\n \"component\": \"*\",\n \"framework\": \"*\",\n \"data\": {\n \"templateName\": \"supported_activities\",\n \"action\": \"list\",\n \"fields\": [\n {\n \"index\": 0,\n \"activityType\": \"Explanation Content\",\n \"objectType\": \"Content\",\n \"isEnabled\": true,\n \"sortBy\": [\n {\n \"name\": \"asc\"\n }\n ],\n \"searchQuery\": \"{\\\"request\\\":{\\\"filters\\\":{\\\"primaryCategory\\\":[\\\"Explanation Content\\\"],\\\"status\\\":[\\\"Live\\\"],\\\"objectType\\\":[\\\"Content\\\"]},\\\"fields\\\":[\\\"name\\\",\\\"appIcon\\\",\\\"contentType\\\",\\\"identifier\\\",\\\"objectType\\\",\\\"createdBy\\\"]}}\",\n \"title\": \"Explanation Content\",\n \"translations\": \"{\\\"en\\\": \\\"Explanation Content\\\", \\\"as\\\": \\\"ব্যাখ্যা কৰা বিষয়বস্তু\\\", \\\"bn\\\": \\\"বিষয়বস্তুর ব্যাখ্যা\\\", \\\"gu\\\":\\\"એક્સપ્લેનેશન કન્ટેન્ટ\\\", \\\"hi\\\":\\\"स्पष्टीकरण सामग्री\\\", \\\"kn\\\":\\\"ವಿವರಣಾತ್ಮಕ ಪಠ್ಯಾಂಶ\\\", \\\"mr\\\":\\\"स्पष्टीकरण सामग्री\\\", \\\"or\\\":\\\"ବିସ୍ତାରିତ କଣ୍ଟେଣ୍ଟ୍\\\", \\\"pa\\\":\\\"ਵਿਆਖਿਆ ਕੰਟੇਂਟ\\\", \\\"ta\\\":\\\"விளக்க உள்ளடக்கம்\\\", \\\"te\\\":\\\"అర్థము కంటెంట్\\\", \\\"ur\\\":\\\"وضاحت کا مواد\\\"}\"\n },\n {\n \"index\": 1,\n \"activityType\": \"Learning Resource\",\n \"objectType\": \"Content\",\n \"isEnabled\": true,\n \"sortBy\": [\n {\n \"name\": \"asc\"\n }\n ],\n \"searchQuery\": \"{\\\"request\\\":{\\\"filters\\\":{\\\"primaryCategory\\\":[\\\"Learning Resource\\\"],\\\"status\\\":[\\\"Live\\\"],\\\"objectType\\\":[\\\"Content\\\"]},\\\"fields\\\":[\\\"name\\\",\\\"appIcon\\\",\\\"contentType\\\",\\\"identifier\\\",\\\"objectType\\\",\\\"createdBy\\\"]}}\",\n \"title\": \"Learning Resource\",\n \"translations\": \"{\\\"en\\\": \\\"Learning module\\\", \\\"as\\\": \\\"শিক্ষণৰ ম'ডিউল\\\", \\\"bn\\\": \\\"প্রশিক্ষণ মডিউল\\\", \\\"gu\\\":\\\"શીખવાનું મોડ્યુલ\\\", \\\"hi\\\":\\\"अध्ययन मॉड्यूल\\\", \\\"kn\\\":\\\"ಕಲಿಕಾ ಮಾಡ್ಯೂಲ್\\\", \\\"mr\\\":\\\"अभ्यास विभाग\\\", \\\"or\\\":\\\"ଶିକ୍ଷଣ ମଡ୍ୟୁଲ\\\", \\\"pa\\\":\\\"ਸਿਖਲਾਈ ਮੋਡੀਊਲ\\\", \\\"ta\\\":\\\"கற்றல் மாடுயூல்\\\", \\\"te\\\":\\\"మాడ్యూల్ నేర్చుకోవడం\\\", \\\"ur\\\":\\\"سیکھنے کا ماڈیول\\\"}\"\n },\n {\n \"index\": 2,\n \"activityType\": \"Course\",\n \"objectType\": \"Content\",\n \"isEnabled\": true,\n \"sortBy\": [\n {\n \"name\": \"asc\"\n }\n ],\n \"searchQuery\": \"{\\\"request\\\":{\\\"filters\\\":{\\\"primaryCategory\\\":[\\\"Course\\\"],\\\"batches.status\\\":1,\\\"batches.enrollmentType\\\":\\\"open\\\",\\\"objectType\\\":[\\\"Content\\\"],\\\"status\\\":[\\\"Live\\\"]},\\\"fields\\\":[\\\"name\\\",\\\"appIcon\\\",\\\"contentType\\\",\\\"identifier\\\",\\\"objectType\\\",\\\"createdBy\\\"]}}\",\n \"title\": \"Course\",\n \"translations\": \"{\\\"en\\\": \\\"Course\\\", \\\"as\\\": \\\"পাঠ্যক্ৰমসমুহ\\\", \\\"bn\\\": \\\"পাঠ্যধারাগুলি\\\", \\\"gu\\\":\\\"કોર્સ\\\", \\\"hi\\\":\\\"कोर्स\\\", \\\"kn\\\":\\\"ಕೋರ್ಸ್ ಗಳು\\\", \\\"mr\\\":\\\"कोर्सेस\\\", \\\"or\\\":\\\"ପାଠ୍ୟକ୍ରମଗୁଡ଼ିକ\\\", \\\"pa\\\":\\\"ਕੋਰਸਿਸ\\\", \\\"ta\\\":\\\"பாடநெறிகள்\\\", \\\"te\\\":\\\"కోర్సులు\\\", \\\"ur\\\":\\\"کورسز\\\"}\"\n },\n {\n \"index\": 3,\n \"activityType\": \"Practice Question Set\",\n \"objectType\": \"Content\",\n \"isEnabled\": true,\n \"sortBy\": [\n {\n \"name\": \"asc\"\n }\n ],\n \"searchQuery\": \"{\\\"request\\\":{\\\"filters\\\":{\\\"primaryCategory\\\":[\\\"Practice Question Set\\\"],\\\"status\\\":[\\\"Live\\\"],\\\"objectType\\\":[\\\"Content\\\"]},\\\"fields\\\":[\\\"name\\\",\\\"appIcon\\\",\\\"contentType\\\",\\\"identifier\\\",\\\"objectType\\\",\\\"createdBy\\\"]}}\",\n \"title\": \"Practice Question Set\",\n \"translations\": \"{\\\"en\\\": \\\"Practice question set\\\", \\\"as\\\": \\\"অনুশীলনৰ প্ৰশ্নৰ সমষ্টি\\\", \\\"bn\\\": \\\"অনুশীলনের প্রশ্ন সেট\\\", \\\"gu\\\":\\\"પ્રેક્ટિસ પ્રશ્ન સેટ\\\", \\\"hi\\\":\\\"अभ्यास प्रश्न संग्रह\\\", \\\"kn\\\":\\\"ಅಭ್ಯಾಸ ಪ್ರಶ್ನಾವಳಿ\\\", \\\"mr\\\":\\\"सराव प्रश्नसंच\\\", \\\"or\\\":\\\"ଅଭ୍ୟାସ ପ୍ରଶ୍ନପତ୍ର ସେଟ୍\\\", \\\"pa\\\":\\\"ਅਭਿਆਸ ਪ੍ਰਸ਼ਨ ਸੈੱਟ\\\", \\\"ta\\\":\\\"பயிற்சி கேள்வி தொகுப்பு\\\", \\\"te\\\":\\\"ప్రాక్టీస్ ప్రశ్న సెట్\\\", \\\"ur\\\":\\\"مشق سوال سیٹ\\\"}\"\n },\n {\n \"index\": 4,\n \"activityType\": \"eTextBook\",\n \"objectType\": \"Content\",\n \"isEnabled\": true,\n \"sortBy\": [\n {\n \"name\": \"asc\"\n }\n ],\n \"searchQuery\": \"{\\\"request\\\":{\\\"filters\\\":{\\\"primaryCategory\\\":[\\\"eTextBook\\\"],\\\"status\\\":[\\\"Live\\\"],\\\"objectType\\\":[\\\"Content\\\"]},\\\"fields\\\":[\\\"name\\\",\\\"appIcon\\\",\\\"contentType\\\",\\\"identifier\\\",\\\"objectType\\\",\\\"createdBy\\\"]}}\",\n \"title\": \"eTextBook\",\n \"translations\": \"{\\\"en\\\": \\\"PDF TextBook\\\", \\\"as\\\": \\\"PDF পাঠ্যপুথি\\\", \\\"bn\\\": \\\"পাঠ্যপুস্তকের পিডিএফ\\\", \\\"gu\\\":\\\"PDF ટેક્સ્ટબુક\\\", \\\"hi\\\":\\\"PDF पाठ्यपुस्तकें\\\", \\\"kn\\\":\\\"ಪಿಡಿಎಫ್ ಪಠ್ಯಪುಸ್ತಕ\\\", \\\"mr\\\":\\\"PDF पाठ्यपुस्तक\\\", \\\"or\\\":\\\"PDF ପାଠ୍ୟପୁସ୍ତକ\\\", \\\"pa\\\":\\\"PDF ਪਾਠ ਪੁਸਤਕ\\\", \\\"ta\\\":\\\"பி.டீ.எப் பாடபுத்தங்கள்\\\", \\\"te\\\":\\\"PDF పాఠ్య పుస్తకం\\\", \\\"ur\\\":\\\"پی ڈی ایف درسی کتاب\\\"}\"\n },\n {\n \"index\": 5,\n \"activityType\": \"Teacher Resource\",\n \"objectType\": \"Content\",\n \"isEnabled\": true,\n \"sortBy\": [\n {\n \"name\": \"asc\"\n }\n ],\n \"searchQuery\": \"{\\\"request\\\":{\\\"filters\\\":{\\\"primaryCategory\\\":[\\\"Teacher Resource\\\"],\\\"status\\\":[\\\"Live\\\"],\\\"objectType\\\":[\\\"Content\\\"]},\\\"fields\\\":[\\\"name\\\",\\\"appIcon\\\",\\\"contentType\\\",\\\"identifier\\\",\\\"objectType\\\",\\\"createdBy\\\"]}}\",\n \"title\": \"Teacher Resource\",\n \"translations\": \"{\\\"en\\\": \\\"Teaching Resource\\\", \\\"as\\\": \\\"শিক্ষাদানৰ সমলসমূহ\\\", \\\"bn\\\": \\\"শিক্ষার সংস্থান\\\", \\\"gu\\\":\\\"શિક્ષણ સંસાધનો\\\", \\\"hi\\\":\\\"शिक्षण संसाधन\\\", \\\"kn\\\":\\\"ಬೋಧನಾ ಸಂಪನ್ಮೂಲಗಳು\\\", \\\"mr\\\":\\\"शिक्षण संसाधने\\\", \\\"or\\\":\\\"ଶିକ୍ଷଣ ସଂସାଧନ\\\", \\\"pa\\\":\\\"ਅਧਿਆਪਨ ਦੇ ਸਰੋਤ\\\", \\\"ta\\\":\\\"கற்பித்தல் பொருள்\\\", \\\"te\\\":\\\"బోధనా వనరులు\\\", \\\"ur\\\":\\\" تدریسی وسائل \\\"}\"\n },\n {\n \"index\": 6,\n \"activityType\": \"Digital Textbook\",\n \"objectType\": \"Content\",\n \"isEnabled\": true,\n \"sortBy\": [\n {\n \"name\": \"asc\"\n }\n ],\n \"searchQuery\": \"{\\\"request\\\":{\\\"filters\\\":{\\\"primaryCategory\\\":[\\\"Digital Textbook\\\"],\\\"status\\\":[\\\"Live\\\"],\\\"objectType\\\":[\\\"Content\\\"]},\\\"fields\\\":[\\\"name\\\",\\\"appIcon\\\",\\\"contentType\\\",\\\"identifier\\\",\\\"objectType\\\",\\\"createdBy\\\"]}}\",\n \"title\": \"Digital Textbook\",\n \"translations\": \"{\\\"en\\\": \\\"Digital textbooks\\\", \\\"as\\\": \\\"ডিজিটেল পাঠ্যপুথিসমূহ\\\", \\\"bn\\\": \\\"ডিজিটাল পাঠ্যবই\\\", \\\"gu\\\":\\\"ડિજિટલ પાઠયપુસ્તકો\\\", \\\"hi\\\":\\\"डिजिटल पाठ्यपुस्तकें\\\", \\\"kn\\\":\\\"ಡಿಜಿಟಲ್ ಪಠ್ಯಪುಸ್ತಕಗಳು\\\", \\\"mr\\\":\\\"डिजिटल पाठ्यपुस्तके\\\", \\\"or\\\":\\\"ଡିଜିଟାଲ୍ ପାଠ୍ୟପୁସ୍ତକ\\\", \\\"pa\\\":\\\"ਡਿਜੀਟਲ ਪਾਠ ਪੁਸਤਕਾਂ\\\", \\\"ta\\\":\\\"டிஜிட்டல் பாடப்புத்தகங்கள்\\\", \\\"te\\\":\\\"పాఠ్యపుస్తకాలు\\\", \\\"ur\\\":\\\" ڈیجیٹل درسی کتابیں \\\"}\"\n },\n {\n \"index\": 7,\n \"activityType\": \"Content Playlist\",\n \"objectType\": \"Content\",\n \"isEnabled\": true,\n \"sortBy\": [\n {\n \"name\": \"asc\"\n }\n ],\n \"searchQuery\": \"{\\\"request\\\":{\\\"filters\\\":{\\\"primaryCategory\\\":[\\\"Content Playlist\\\"],\\\"status\\\":[\\\"Live\\\"],\\\"objectType\\\":[\\\"Content\\\"]},\\\"fields\\\":[\\\"name\\\",\\\"appIcon\\\",\\\"contentType\\\",\\\"identifier\\\",\\\"objectType\\\",\\\"createdBy\\\"]}}\",\n \"title\": \"Content Playlist\",\n \"translations\": \"{\\\"en\\\": \\\"Content Playlist\\\", \\\"as\\\": \\\"বিষয়বস্তুৰ প্লে'লিষ্ট\\\", \\\"bn\\\": \\\"কন্টেন্ট প্লেলিস্ট\\\", \\\"gu\\\":\\\"કન્ટેન્ટ જોવાનું લિસ્ટ\\\", \\\"hi\\\":\\\"कंटेन्ट प्लेलिस्ट\\\", \\\"kn\\\":\\\" ಪಠ್ಯಾಂಶ ಪ್ಲೇಲಿಸ್ಟ್\\\", \\\"mr\\\":\\\"सामग्री प्लेलिस्ट \\\", \\\"or\\\":\\\" କଣ୍ଟେଣ୍ଟ ପ୍ଲେଲିଷ୍ଟ\\\", \\\"pa\\\":\\\"ਕੰਟੇੇਂਟ ਪਲੇਲਿਸਟ\\\", \\\"ta\\\":\\\"உள்ளடக்க பிளேலிஸ்ட்\\\", \\\"te\\\":\\\"కంటెంట్ ప్లేజాబితా\\\", \\\"ur\\\":\\\" مواد پلے لسٹ \\\"}\"\n },\n {\n \"index\": 8,\n \"activityType\": \"TV Lesson\",\n \"objectType\": \"Content\",\n \"isEnabled\": true,\n \"sortBy\": [\n {\n \"name\": \"asc\"\n }\n ],\n \"searchQuery\": \"{\\\"request\\\":{\\\"filters\\\":{\\\"primaryCategory\\\":[\\\"Explanation Content\\\"],\\\"additionalCategories\\\":[\\\"TV Lesson\\\"],\\\"status\\\":[\\\"Live\\\"],\\\"objectType\\\":[\\\"Content\\\"]},\\\"fields\\\":[\\\"name\\\",\\\"appIcon\\\",\\\"contentType\\\",\\\"identifier\\\",\\\"objectType\\\",\\\"createdBy\\\"]}}\",\n \"title\": \"TV Lesson\",\n \"translations\": \"{\\\"en\\\": \\\"TV Class\\\", \\\"as\\\": \\\"টিভি শ্ৰেণীসমূহ\\\", \\\"bn\\\": \\\"টিভিতে সম্প্রচারিত শিক্ষাদানের অনুষ্ঠানগুলি\\\", \\\"gu\\\":\\\"TV વર્ગો\\\", \\\"hi\\\":\\\"टीवी कक्षाएँ\\\", \\\"kn\\\":\\\"ಟಿವಿ ತರಗತಿಗಳು\\\", \\\"mr\\\":\\\"टीव्ही वर्ग \\\", \\\"or\\\":\\\"TV କ୍ଲାସଗୁଡ଼ିକ\\\", \\\"pa\\\":\\\"ਟੀਵੀ ਕਲਾਸਾਂ\\\", \\\"ta\\\":\\\"தொலைக்காட்சி வகுப்புகள்\\\", \\\"te\\\":\\\"టీవీ క్లాసులు\\\", \\\"ur\\\":\\\" ٹی وی کلاسز\\\"}\"\n },\n {\n \"index\": 9,\n \"activityType\": \"Previous Board Exam Papers\",\n \"objectType\": \"Content\",\n \"isEnabled\": true,\n \"sortBy\": [\n {\n \"name\": \"asc\"\n }\n ],\n \"searchQuery\": \"{\\\"request\\\":{\\\"filters\\\":{\\\"primaryCategory\\\":[\\\"Learning Resource\\\"],\\\"additionalCategories\\\":[\\\"Previous Board Exam Papers\\\"],\\\"status\\\":[\\\"Live\\\"],\\\"objectType\\\":[\\\"Content\\\"]},\\\"fields\\\":[\\\"name\\\",\\\"appIcon\\\",\\\"contentType\\\",\\\"identifier\\\",\\\"objectType\\\",\\\"createdBy\\\"]}}\",\n \"title\": \"Previous Board Exam Papers\",\n \"translations\": \"{\\\"en\\\": \\\"Earlier Year's Board Exam Papers\\\", \\\"as\\\": \\\"আগৰ বছৰৰ ব'ৰ্ডৰ পৰীক্ষাৰ প্ৰশ্নসমূহ\\\", \\\"bn\\\": \\\"আগের বছরের বোর্ড পরীক্ষার প্রশ্নপত্র\\\", \\\"gu\\\":\\\"ગત બોર્ડ પરીક્ષાના પેપર્સ\\\", \\\"hi\\\":\\\"पिछले वर्षों की बोर्ड परीक्षा पेपर\\\", \\\"kn\\\":\\\"ಹಿಂದಿನ ವರ್ಷಗಳ ಮಂಡಳಿ ಪರೀಕ್ಷೆ ಪ್ರಶ್ನೆಪತ್ರಿಕೆಗಳು\\\", \\\"mr\\\":\\\"मागील वर्षाचे बोर्ड परीक्षेचे पेपर \\\", \\\"or\\\":\\\"ପୂର୍ବ ବର୍ଷର ବୋର୍ଡ ପରୀକ୍ଷା ପ୍ରଶ୍ନପତ୍ର\\\", \\\"pa\\\":\\\"ਸ਼ੁਰੂਆਤੀ ਸਾਲ ਬੋਰਡ ਪ੍ਰੀਖਿਆ ਪੇਪਰ\\\", \\\"ta\\\":\\\"முந்தைய ஆண்டுகளில் போர்டு தேர்வுத் தாள்கள்\\\", \\\"te\\\":\\\"అంతకుముందు సంవత్సరం బోర్డు పరీక్షా పత్రాలు\\\", \\\"ur\\\":\\\"ابتدائی سالوں کے بورڈ کے امتحانی پرچے\\\"}\"\n }\n ]\n },\n \"rootOrgId\": \"*\"\n }\n}" + "raw": "{\r\n \"request\": {\r\n \"type\": \"batch\",\r\n \"subType\": \"report_types\",\r\n \"action\": \"list\",\r\n \"component\": \"*\",\r\n \"framework\": \"*\",\r\n \"data\": {\r\n \"templateName\": \"defaultTemplate\",\r\n \"action\": \"list\",\r\n \"fields\": [\r\n {\r\n \"title\": \"Course progress exhaust\",\r\n \"dataset\": \"progress-exhaust\",\r\n \"lang_key\": \"frmelmnts.lbl.progressExhaustReport\",\r\n \"encrypt\": \"false\"\r\n },\r\n {\r\n \"title\": \"User profile exhaust\",\r\n \"dataset\": \"userinfo-exhaust\",\r\n \"lang_key\": \"frmelmnts.lbl.userExhaustReport\",\r\n \"encrypt\": \"true\"\r\n },\r\n {\r\n \"title\": \"Question set report\",\r\n \"dataset\": \"response-exhaust\",\r\n \"lang_key\": \"frmelmnts.lbl.qsResponseReport\",\r\n \"encrypt\": \"false\"\r\n }\r\n ]\r\n },\r\n \"rootOrgId\": \"*\"\r\n }\r\n}" }, "url": { "raw": "{{host}}/api/data/v1/form/create", @@ -5624,22 +8479,22 @@ "response": [] }, { - "name": "7 - Player", + "name": "15 - Onboarding", "request": { "method": "POST", "header": [ - { - "key": "Authorization", - "value": "Bearer {{apikey}}" - }, { "key": "Content-Type", "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{apikey}}" } ], "body": { "mode": "raw", - "raw": "{\n \"request\": \n{\n \"type\": \"content\",\n \"subType\": \"player\",\n \"action\": \"play\",\n \"component\": \"*\",\n \"framework\": \"*\",\n \"data\": {\n \"templateName\": \"defaultTemplate\",\n \"action\": \"play\",\n \"fields\": [\n {\n \"type\": \"video-player\",\n \"version\": 2,\n \"mimeType\": [\n \"video/mp4\",\n \"video/webm\"\n ]\n },\n {\n \"type\": \"pdf-player\",\n \"version\": 2,\n \"mimeType\": [\n \"application/pdf\"\n ]\n },\n {\n \"type\": \"epub-player\",\n \"version\": 2,\n \"mimeType\": [\n \"application/epub\"\n ]\n },\n {\n \"type\": \"quml-player\",\n \"version\": 2,\n \"threshold\": 3,\n \"mimeType\": [\n \"application/vnd.sunbird.questionset\"\n ]\n }\n ]\n },\n \"rootOrgId\": \"*\"\n }\n}" + "raw": "{\r\n \"request\": {\r\n \"type\": \"user\",\r\n \"subType\": \"exclusion\",\r\n \"action\": \"onboarding\",\r\n \"component\": \"portal\",\r\n \"framework\": \"*\",\r\n \"data\": {\r\n \"templateName\": \"defaultTemplate\",\r\n \"action\": \"get\",\r\n \"fields\": [\r\n \"/certs/\",\r\n \"/signup/\",\r\n \"/recover/\",\r\n \"/sign-in/\",\r\n \"/get/dial/\"\r\n ]\r\n },\r\n \"rootOrgId\": \"*\"\r\n }\r\n}" }, "url": { "raw": "{{host}}/api/data/v1/form/create", @@ -5658,22 +8513,22 @@ "response": [] }, { - "name": "8 - ProfileConfigV2", + "name": "16 - NewUserOnboarding", "request": { "method": "POST", "header": [ - { - "key": "Authorization", - "value": "Bearer {{apikey}}" - }, { "key": "Content-Type", "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{apikey}}" } ], "body": { "mode": "raw", - "raw": "{\n \"request\": \n{\n \"type\": \"profileConfig_v2\",\n \"subType\": \"default\",\n \"action\": \"get\",\n \"component\": \"*\",\n \"framework\": \"*\",\n \"data\": {\n \"templateName\": \"profileConfig_v2\",\n \"action\": \"get\",\n \"fields\": [\n {\n \"code\": \"name\",\n \"type\": \"input\",\n \"templateOptions\": {\n \"labelHtml\": {\n \"contents\": \"$0 *\",\n \"values\": {\n \"$0\": \"Name\"\n }\n },\n \"hidden\": true,\n \"placeHolder\": \"Enter Name\",\n \"multiple\": false\n },\n \"validations\": [\n {\n \"type\": \"required\"\n }\n ]\n },\n {\n \"code\": \"persona\",\n \"type\": \"nested_select\",\n \"templateOptions\": {\n \"hidden\": true,\n \"labelHtml\": {\n \"contents\": \"$0 *\",\n \"values\": {\n \"$0\": \"Role\"\n }\n },\n \"placeHolder\": \"Select Role\",\n \"multiple\": false,\n \"dataSrc\": {\n \"marker\": \"SUPPORTED_PERSONA_LIST\"\n }\n },\n \"validations\": [\n {\n \"type\": \"required\"\n }\n ],\n \"children\": {\n \"administrator\": [\n {\n \"code\": \"state\",\n \"type\": \"select\",\n \"templateOptions\": {\n \"labelHtml\": {\n \"contents\": \"$0 *\",\n \"values\": {\n \"$0\": \"State\"\n }\n },\n \"placeHolder\": \"Select State\",\n \"multiple\": false,\n \"dataSrc\": {\n \"marker\": \"STATE_LOCATION_LIST\",\n \"params\": {\n \"useCase\": \"SIGNEDIN_GUEST\"\n }\n }\n },\n \"validations\": [\n {\n \"type\": \"required\"\n }\n ]\n },\n {\n \"code\": \"district\",\n \"type\": \"select\",\n \"context\": \"state\",\n \"default\": null,\n \"templateOptions\": {\n \"labelHtml\": {\n \"contents\": \"$0 *\",\n \"values\": {\n \"$0\": \"District\"\n }\n },\n \"placeHolder\": \"Select District\",\n \"multiple\": false,\n \"dataSrc\": {\n \"marker\": \"LOCATION_LIST\",\n \"params\": {\n \"id\": \"district\",\n \"useCase\": \"SIGNEDIN_GUEST\"\n }\n }\n },\n \"validations\": [\n {\n \"type\": \"required\"\n }\n ]\n },\n {\n \"code\": \"subPersona\",\n \"type\": \"select\",\n \"default\": null,\n \"templateOptions\": {\n \"labelHtml\": {\n \"contents\": \"$0 *\",\n \"values\": {\n \"$0\": \"Subrole\"\n }\n },\n \"placeHolder\": \"Select Subrole\",\n \"multiple\": true,\n \"dataSrc\": {\n \"marker\": \"SUBPERSONA_LIST\",\n \"params\": {\n \"useCase\": \"SIGNEDIN\"\n }\n },\n \"options\": [\n {\n \"label\": \"Principal\",\n \"value\": \"PRINCIPAL\"\n },\n {\n \"label\": \"State Project Director\",\n \"value\": \"SPD\"\n },\n {\n \"label\": \"District Education Officer\",\n \"value\": \"DEO\"\n },\n {\n \"label\": \"Block Education Officer\",\n \"value\": \"BEO\"\n },\n {\n \"label\": \"Headmaster/Headmistress\",\n \"value\": \"HM\"\n },\n {\n \"label\": \"Head Teacher\",\n \"value\": \"HT\"\n },\n {\n \"value\": \"DE\",\n \"label\": \"Director Education\"\n },\n {\n \"value\": \"ADE\",\n \"label\": \"Additional Director Education\"\n },\n {\n \"value\": \"JDE\",\n \"label\": \"Joint Director Education\"\n },\n {\n \"value\": \"DDE\",\n \"label\": \"Deputy Director Education\"\n },\n {\n \"value\": \"CONSULTANT\",\n \"label\": \"Consultant\"\n },\n {\n \"value\": \"SRL\",\n \"label\": \"Sr. Lecturer\"\n },\n {\n \"value\": \"PROFESSOR\",\n \"label\": \"Professor\"\n },\n {\n \"value\": \"ASSIP\",\n \"label\": \"Assistant Professor\"\n },\n {\n \"value\": \"ASSOP\",\n \"label\": \"Associate Professor\"\n },\n {\n \"value\": \"DIET_PRICIPAL\",\n \"label\": \"DIET Principal\"\n },\n {\n \"value\": \"BRC\",\n \"label\": \"BRC\"\n },\n {\n \"value\": \"CRCCD\",\n \"label\": \"CRCC\"\n },\n {\n \"value\": \"VP\",\n \"label\": \"Vice Principal\"\n },\n {\n \"value\": \"LR\",\n \"label\": \"Lecturer\"\n },\n {\n \"value\": \"HS\",\n \"label\": \"Head of School\"\n },\n {\n \"value\": \"LA\",\n \"label\": \"Lab Assistant\"\n },\n {\n \"value\": \"ITA\",\n \"label\": \"IT Assistant\"\n }\n ]\n },\n \"validations\": [\n {\n \"type\": \"required\"\n }\n ]\n },\n {\n \"code\": \"block\",\n \"type\": \"select\",\n \"context\": \"district\",\n \"default\": null,\n \"templateOptions\": {\n \"label\": \"Block\",\n \"placeHolder\": \"Select Block\",\n \"multiple\": false,\n \"dataSrc\": {\n \"marker\": \"LOCATION_LIST\",\n \"params\": {\n \"id\": \"block\",\n \"useCase\": \"SIGNEDIN\"\n }\n }\n },\n \"validations\": []\n },\n {\n \"code\": \"cluster\",\n \"type\": \"select\",\n \"context\": \"block\",\n \"default\": null,\n \"templateOptions\": {\n \"label\": \"Cluster\",\n \"placeHolder\": \"Select Cluster\",\n \"multiple\": false,\n \"dataSrc\": {\n \"marker\": \"LOCATION_LIST\",\n \"params\": {\n \"id\": \"cluster\",\n \"useCase\": \"SIGNEDIN\"\n }\n }\n },\n \"validations\": []\n },\n {\n \"code\": \"school\",\n \"type\": \"select\",\n \"context\": \"cluster\",\n \"default\": null,\n \"templateOptions\": {\n \"label\": \"School\",\n \"placeHolder\": \"Select School\",\n \"multiple\": false,\n \"dataSrc\": {\n \"marker\": \"LOCATION_LIST\",\n \"params\": {\n \"id\": \"school\",\n \"useCase\": \"SIGNEDIN\"\n }\n }\n }\n }\n ],\n \"teacher\": [\n {\n \"code\": \"state\",\n \"type\": \"select\",\n \"templateOptions\": {\n \"labelHtml\": {\n \"contents\": \"$0 *\",\n \"values\": {\n \"$0\": \"State\"\n }\n },\n \"placeHolder\": \"Select State\",\n \"multiple\": false,\n \"dataSrc\": {\n \"marker\": \"STATE_LOCATION_LIST\",\n \"params\": {\n \"useCase\": \"SIGNEDIN_GUEST\"\n }\n }\n },\n \"validations\": [\n {\n \"type\": \"required\"\n }\n ]\n },\n {\n \"code\": \"district\",\n \"type\": \"select\",\n \"context\": \"state\",\n \"default\": null,\n \"templateOptions\": {\n \"labelHtml\": {\n \"contents\": \"$0 *\",\n \"values\": {\n \"$0\": \"District\"\n }\n },\n \"placeHolder\": \"Select District\",\n \"multiple\": false,\n \"dataSrc\": {\n \"marker\": \"LOCATION_LIST\",\n \"params\": {\n \"id\": \"district\",\n \"useCase\": \"SIGNEDIN_GUEST\"\n }\n }\n },\n \"validations\": [\n {\n \"type\": \"required\"\n }\n ]\n },\n {\n \"code\": \"block\",\n \"type\": \"select\",\n \"context\": \"district\",\n \"default\": null,\n \"templateOptions\": {\n \"label\": \"Block\",\n \"placeHolder\": \"Select Block\",\n \"multiple\": false,\n \"dataSrc\": {\n \"marker\": \"LOCATION_LIST\",\n \"params\": {\n \"id\": \"block\",\n \"useCase\": \"SIGNEDIN\"\n }\n }\n },\n \"validations\": []\n },\n {\n \"code\": \"cluster\",\n \"type\": \"select\",\n \"context\": \"block\",\n \"default\": null,\n \"templateOptions\": {\n \"label\": \"Cluster\",\n \"placeHolder\": \"Select Cluster\",\n \"multiple\": false,\n \"dataSrc\": {\n \"marker\": \"LOCATION_LIST\",\n \"params\": {\n \"id\": \"cluster\",\n \"useCase\": \"SIGNEDIN\"\n }\n }\n },\n \"validations\": []\n },\n {\n \"code\": \"school\",\n \"type\": \"select\",\n \"context\": \"cluster\",\n \"default\": null,\n \"templateOptions\": {\n \"label\": \"School\",\n \"placeHolder\": \"Select School\",\n \"multiple\": false,\n \"dataSrc\": {\n \"marker\": \"LOCATION_LIST\",\n \"params\": {\n \"id\": \"school\",\n \"useCase\": \"SIGNEDIN\"\n }\n }\n }\n }\n ],\n \"student\": [\n {\n \"code\": \"state\",\n \"type\": \"select\",\n \"templateOptions\": {\n \"labelHtml\": {\n \"contents\": \"$0 *\",\n \"values\": {\n \"$0\": \"State\"\n }\n },\n \"placeHolder\": \"Select State\",\n \"multiple\": false,\n \"dataSrc\": {\n \"marker\": \"STATE_LOCATION_LIST\",\n \"params\": {\n \"useCase\": \"SIGNEDIN_GUEST\"\n }\n }\n },\n \"validations\": [\n {\n \"type\": \"required\"\n }\n ]\n },\n {\n \"code\": \"district\",\n \"type\": \"select\",\n \"context\": \"state\",\n \"default\": null,\n \"templateOptions\": {\n \"labelHtml\": {\n \"contents\": \"$0 *\",\n \"values\": {\n \"$0\": \"District\"\n }\n },\n \"placeHolder\": \"Select District\",\n \"multiple\": false,\n \"dataSrc\": {\n \"marker\": \"LOCATION_LIST\",\n \"params\": {\n \"id\": \"district\",\n \"useCase\": \"SIGNEDIN_GUEST\"\n }\n }\n },\n \"validations\": [\n {\n \"type\": \"required\"\n }\n ]\n },\n {\n \"code\": \"block\",\n \"type\": \"select\",\n \"context\": \"district\",\n \"default\": null,\n \"templateOptions\": {\n \"label\": \"Block\",\n \"placeHolder\": \"Select Block\",\n \"multiple\": false,\n \"dataSrc\": {\n \"marker\": \"LOCATION_LIST\",\n \"params\": {\n \"id\": \"block\",\n \"useCase\": \"SIGNEDIN\"\n }\n }\n },\n \"validations\": []\n },\n {\n \"code\": \"cluster\",\n \"type\": \"select\",\n \"context\": \"block\",\n \"default\": null,\n \"templateOptions\": {\n \"label\": \"Cluster\",\n \"placeHolder\": \"Select Cluster\",\n \"multiple\": false,\n \"dataSrc\": {\n \"marker\": \"LOCATION_LIST\",\n \"params\": {\n \"id\": \"cluster\",\n \"useCase\": \"SIGNEDIN\"\n }\n }\n },\n \"validations\": []\n },\n {\n \"code\": \"school\",\n \"type\": \"select\",\n \"context\": \"cluster\",\n \"default\": null,\n \"templateOptions\": {\n \"label\": \"School\",\n \"placeHolder\": \"Select School\",\n \"multiple\": false,\n \"dataSrc\": {\n \"marker\": \"LOCATION_LIST\",\n \"params\": {\n \"id\": \"school\",\n \"useCase\": \"SIGNEDIN\"\n }\n }\n }\n }\n ],\n \"parent\": [\n {\n \"code\": \"state\",\n \"type\": \"select\",\n \"templateOptions\": {\n \"labelHtml\": {\n \"contents\": \"$0 *\",\n \"values\": {\n \"$0\": \"State\"\n }\n },\n \"placeHolder\": \"Select State\",\n \"multiple\": false,\n \"dataSrc\": {\n \"marker\": \"STATE_LOCATION_LIST\",\n \"params\": {\n \"useCase\": \"SIGNEDIN_GUEST\"\n }\n }\n },\n \"validations\": [\n {\n \"type\": \"required\"\n }\n ]\n },\n {\n \"code\": \"district\",\n \"type\": \"select\",\n \"context\": \"state\",\n \"default\": null,\n \"templateOptions\": {\n \"labelHtml\": {\n \"contents\": \"$0 *\",\n \"values\": {\n \"$0\": \"District\"\n }\n },\n \"placeHolder\": \"Select District\",\n \"multiple\": false,\n \"dataSrc\": {\n \"marker\": \"LOCATION_LIST\",\n \"params\": {\n \"id\": \"district\",\n \"useCase\": \"SIGNEDIN_GUEST\"\n }\n }\n },\n \"validations\": [\n {\n \"type\": \"required\"\n }\n ]\n },\n {\n \"code\": \"block\",\n \"type\": \"select\",\n \"context\": \"district\",\n \"default\": null,\n \"templateOptions\": {\n \"label\": \"Block\",\n \"placeHolder\": \"Select Block\",\n \"multiple\": false,\n \"dataSrc\": {\n \"marker\": \"LOCATION_LIST\",\n \"params\": {\n \"id\": \"block\",\n \"useCase\": \"SIGNEDIN\"\n }\n }\n },\n \"validations\": []\n },\n {\n \"code\": \"cluster\",\n \"type\": \"select\",\n \"context\": \"block\",\n \"default\": null,\n \"templateOptions\": {\n \"label\": \"Cluster\",\n \"placeHolder\": \"Select Cluster\",\n \"multiple\": false,\n \"dataSrc\": {\n \"marker\": \"LOCATION_LIST\",\n \"params\": {\n \"id\": \"cluster\",\n \"useCase\": \"SIGNEDIN\"\n }\n }\n },\n \"validations\": []\n },\n {\n \"code\": \"school\",\n \"type\": \"select\",\n \"context\": \"cluster\",\n \"default\": null,\n \"templateOptions\": {\n \"label\": \"School\",\n \"placeHolder\": \"Select School\",\n \"multiple\": false,\n \"dataSrc\": {\n \"marker\": \"LOCATION_LIST\",\n \"params\": {\n \"id\": \"school\",\n \"useCase\": \"SIGNEDIN\"\n }\n }\n }\n }\n ],\n \"other\": [\n {\n \"code\": \"state\",\n \"type\": \"select\",\n \"templateOptions\": {\n \"labelHtml\": {\n \"contents\": \"$0 *\",\n \"values\": {\n \"$0\": \"State\"\n }\n },\n \"placeHolder\": \"Select State\",\n \"multiple\": false,\n \"dataSrc\": {\n \"marker\": \"STATE_LOCATION_LIST\",\n \"params\": {\n \"useCase\": \"SIGNEDIN_GUEST\"\n }\n }\n },\n \"validations\": [\n {\n \"type\": \"required\"\n }\n ]\n },\n {\n \"code\": \"district\",\n \"type\": \"select\",\n \"context\": \"state\",\n \"default\": null,\n \"templateOptions\": {\n \"labelHtml\": {\n \"contents\": \"$0 *\",\n \"values\": {\n \"$0\": \"District\"\n }\n },\n \"placeHolder\": \"Select District\",\n \"multiple\": false,\n \"dataSrc\": {\n \"marker\": \"LOCATION_LIST\",\n \"params\": {\n \"id\": \"district\",\n \"useCase\": \"SIGNEDIN_GUEST\"\n }\n }\n },\n \"validations\": [\n {\n \"type\": \"required\"\n }\n ]\n },\n {\n \"code\": \"subPersona\",\n \"type\": \"select\",\n \"default\": null,\n \"templateOptions\": {\n \"labelHtml\": {\n \"contents\": \"$0 *\",\n \"values\": {\n \"$0\": \"Subrole\"\n }\n },\n \"placeHolder\": \"Select Subrole\",\n \"multiple\": false,\n \"dataSrc\": {\n \"marker\": \"SUBPERSONA_LIST\",\n \"params\": {\n \"useCase\": \"SIGNEDIN\"\n }\n },\n \"options\": [\n {\n \"value\": \"BRC\",\n \"label\": \"BRC\"\n },\n {\n \"value\": \"CRC\",\n \"label\": \"CRC\"\n },\n {\n \"value\": \"SCERT_FACULTY\",\n \"label\": \"SCERT Faculty\"\n },\n {\n \"value\": \"DIET_FACULTY\",\n \"label\": \"DIET Faculty\"\n },\n {\n \"value\": \"ICDS_PO\",\n \"label\": \"ICDS - PO\"\n },\n {\n \"value\": \"ICDS_CDPO\",\n \"label\": \"ICDS - CDPO\"\n },\n {\n \"value\": \"ICDS_SUPERVISOR\",\n \"label\": \"ICDS - Supervisor\"\n },\n {\n \"value\": \"ICDS_ANGANWADI_WORKERS\",\n \"label\": \"ICDS - Anganwadi Workers\"\n },\n {\n \"value\": \"Doctor (Allopathy)\",\n \"label\": \"Doctor (Allopathy)\"\n },\n {\n \"value\": \"AYUSH Professional\",\n \"label\": \"AYUSH Professional\"\n },\n {\n \"value\": \"Dentist & Dental Students\",\n \"label\": \"Dentist & Dental Students\"\n },\n {\n \"value\": \"Nurses\",\n \"label\": \"Nurses\"\n },\n {\n \"value\": \"Pharmacist\",\n \"label\": \"Pharmacist\"\n },\n {\n \"value\": \"Lab Technician\",\n \"label\": \"Lab Technician\"\n },\n {\n \"value\": \"Psychosocial HealthProf\",\n \"label\": \"Psychosocial HealthProf\"\n },\n {\n \"value\": \"Rehabilitation Prof.\",\n \"label\": \"Rehabilitation Prof.\"\n },\n {\n \"value\": \"Allied & Healthcare Professional\",\n \"label\": \"Allied & Healthcare Professional\"\n },\n {\n \"value\": \"Student/ Intern\",\n \"label\": \"Student/ Intern\"\n },\n {\n \"value\": \"ANMs\",\n \"label\": \"ANMs\"\n },\n {\n \"value\": \"ASHA Health worker\",\n \"label\": \"ASHA Health worker\"\n },\n {\n \"value\": \"Other Health Worker\",\n \"label\": \"Other Health Worker\"\n },\n {\n \"value\": \"Police\",\n \"label\": \"Police\"\n },\n {\n \"value\": \"NCC Cadets\",\n \"label\": \"NCC Cadets\"\n },\n {\n \"value\": \"NYKS Volunteers\",\n \"label\": \"NYKS Volunteers\"\n },\n {\n \"value\": \"NSS Volunteers\",\n \"label\": \"NSS Volunteers\"\n },\n {\n \"value\": \"Volunteer Red Cross\",\n \"label\": \"Volunteer Red Cross\"\n },\n {\n \"value\": \"Volunteer BSG\",\n \"label\": \"Volunteer BSG\"\n },\n {\n \"value\": \"NGO Volunteer\",\n \"label\": \"NGO Volunteer\"\n },\n {\n \"value\": \"Other Volunteer\",\n \"label\": \"Other Volunteer\"\n },\n {\n \"value\": \"Sanitation Prof.\",\n \"label\": \"Sanitation Prof.\"\n },\n {\n \"value\": \"District Administrator\",\n \"label\": \"District Administrator\"\n },\n {\n \"value\": \"RWA representative\",\n \"label\": \"RWA representative\"\n },\n {\n \"value\": \"Common citizen\",\n \"label\": \"Common citizen\"\n },\n {\n \"value\": \"Others\",\n \"label\": \"Others\"\n }\n ]\n },\n \"validations\": [\n {\n \"type\": \"required\"\n }\n ]\n },\n {\n \"code\": \"block\",\n \"type\": \"select\",\n \"context\": \"district\",\n \"default\": null,\n \"templateOptions\": {\n \"label\": \"Block\",\n \"placeHolder\": \"Select Block\",\n \"multiple\": false,\n \"dataSrc\": {\n \"marker\": \"LOCATION_LIST\",\n \"params\": {\n \"id\": \"block\",\n \"useCase\": \"SIGNEDIN\"\n }\n }\n },\n \"validations\": []\n },\n {\n \"code\": \"cluster\",\n \"type\": \"select\",\n \"context\": \"block\",\n \"default\": null,\n \"templateOptions\": {\n \"label\": \"Cluster\",\n \"placeHolder\": \"Select Cluster\",\n \"multiple\": false,\n \"dataSrc\": {\n \"marker\": \"LOCATION_LIST\",\n \"params\": {\n \"id\": \"cluster\",\n \"useCase\": \"SIGNEDIN\"\n }\n }\n },\n \"validations\": []\n },\n {\n \"code\": \"school\",\n \"type\": \"select\",\n \"context\": \"cluster\",\n \"default\": null,\n \"templateOptions\": {\n \"label\": \"School\",\n \"placeHolder\": \"Select School\",\n \"multiple\": false,\n \"dataSrc\": {\n \"marker\": \"LOCATION_LIST\",\n \"params\": {\n \"id\": \"school\",\n \"useCase\": \"SIGNEDIN\"\n }\n }\n }\n }\n ]\n }\n }\n ]\n },\n \"rootOrgId\": \"*\"\n }\n}" + "raw": "{\r\n \"request\": {\r\n \"type\": \"newUserOnboarding\",\r\n \"subType\": \"global\",\r\n \"action\": \"onboarding\",\r\n \"component\": \"portal\",\r\n \"framework\": \"*\",\r\n \"data\": {\r\n \"fields\": {\r\n \"shownewUserOnboarding\": \"true\"\r\n }\r\n },\r\n \"rootOrgId\": \"*\"\r\n }\r\n}" }, "url": { "raw": "{{host}}/api/data/v1/form/create", @@ -5692,22 +8547,22 @@ "response": [] }, { - "name": "9 - TargetedCategory", + "name": "16 - GeneralisedResourceBundles", "request": { "method": "POST", "header": [ - { - "key": "Authorization", - "value": "Bearer {{apikey}}" - }, { "key": "Content-Type", "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{apikey}}" } ], "body": { "mode": "raw", - "raw": "{\n \"request\": \n{\n \"type\": \"category\",\n \"subType\": \"targetedCategory\",\n \"action\": \"homelisting\",\n \"component\": \"*\",\n \"framework\": \"*\",\n \"data\": {\n \"templateName\": \"defaultTemplate\",\n \"action\": \"homeListing\",\n \"fields\": {\n \"up_k-12\": {\n \"teacher\": [\n {\n \"name\": \"observation\",\n \"icon\": {\n \"web\": \"assets/images/mask-image/observation_category.png\",\n \"app\": \"assets/imgs/ic_observation_category.png\"\n }\n },\n {\n \"name\": \"project\",\n \"icon\": {\n \"web\": \"\",\n \"app\": \"assets/imgs/ic_project.svg\"\n }\n }\n ]\n },\n \"ap_k-12_1\": {\n \"teacher\": [\n {\n \"name\": \"observation\",\n \"icon\": {\n \"web\": \"assets/images/mask-image/observation_category.png\",\n \"app\": \"assets/imgs/ic_observation_category.png\"\n }\n },\n {\n \"name\": \"project\",\n \"icon\": {\n \"web\": \"\",\n \"app\": \"assets/imgs/ic_project.svg\"\n }\n }\n ]\n },\n \"hp_k-12\": {\n \"teacher\": [\n {\n \"name\": \"observation\",\n \"icon\": {\n \"web\": \"assets/images/mask-image/observation_category.png\",\n \"app\": \"assets/imgs/ic_observation_category.png\"\n }\n },\n {\n \"name\": \"project\",\n \"icon\": {\n \"web\": \"\",\n \"app\": \"assets/imgs/ic_project.svg\"\n }\n }\n ]\n },\n \"pb_k-12\": {\n \"teacher\": [\n {\n \"name\": \"observation\",\n \"icon\": {\n \"web\": \"assets/images/mask-image/observation_category.png\",\n \"app\": \"assets/imgs/ic_observation_category.png\"\n }\n },\n {\n \"name\": \"project\",\n \"icon\": {\n \"web\": \"\",\n \"app\": \"assets/imgs/ic_project.svg\"\n }\n }\n ]\n },\n \"mz_k-12\": {\n \"teacher\": [\n {\n \"name\": \"project\",\n \"icon\": {\n \"web\": \"\",\n \"app\": \"assets/imgs/ic_project.svg\"\n }\n }\n ]\n },\n \"br_k-12\": {\n \"teacher\": [\n {\n \"name\": \"project\",\n \"icon\": {\n \"web\": \"\",\n \"app\": \"assets/imgs/ic_project.svg\"\n }\n }\n ]\n },\n \"ar_k-12\": {\n \"teacher\": [\n {\n \"name\": \"project\",\n \"icon\": {\n \"web\": \"\",\n \"app\": \"assets/imgs/ic_project.svg\"\n }\n }\n ]\n },\n \"as_k-12\": {\n \"teacher\": [\n {\n \"name\": \"project\",\n \"icon\": {\n \"web\": \"\",\n \"app\": \"assets/imgs/ic_project.svg\"\n }\n }\n ]\n },\n \"ch_k-12\": {\n \"teacher\": [\n {\n \"name\": \"project\",\n \"icon\": {\n \"web\": \"\",\n \"app\": \"assets/imgs/ic_project.svg\"\n }\n }\n ]\n },\n \"cg_k-12\": {\n \"teacher\": [\n {\n \"name\": \"project\",\n \"icon\": {\n \"web\": \"\",\n \"app\": \"assets/imgs/ic_project.svg\"\n }\n }\n ]\n },\n \"dl_k-12_1\": {\n \"teacher\": [\n {\n \"name\": \"project\",\n \"icon\": {\n \"web\": \"\",\n \"app\": \"assets/imgs/ic_project.svg\"\n }\n },\n {\n \"name\": \"observation\",\n \"icon\": {\n \"web\": \"assets/images/mask-image/observation_category.png\",\n \"app\": \"assets/imgs/ic_observation_category.png\"\n }\n }\n ]\n },\n \"ga_k-12\": {\n \"teacher\": [\n {\n \"name\": \"project\",\n \"icon\": {\n \"web\": \"\",\n \"app\": \"assets/imgs/ic_project.svg\"\n }\n }\n ]\n },\n \"gj_k-12\": {\n \"teacher\": [\n {\n \"name\": \"project\",\n \"icon\": {\n \"web\": \"\",\n \"app\": \"assets/imgs/ic_project.svg\"\n }\n }\n ]\n },\n \"hr_k-12\": {\n \"teacher\": [\n {\n \"name\": \"project\",\n \"icon\": {\n \"web\": \"\",\n \"app\": \"assets/imgs/ic_project.svg\"\n }\n }\n ]\n },\n \"jk_k-12\": {\n \"teacher\": [\n {\n \"name\": \"project\",\n \"icon\": {\n \"web\": \"\",\n \"app\": \"assets/imgs/ic_project.svg\"\n }\n }\n ]\n },\n \"jh_k-12\": {\n \"teacher\": [\n {\n \"name\": \"project\",\n \"icon\": {\n \"web\": \"\",\n \"app\": \"assets/imgs/ic_project.svg\"\n }\n },\n {\n \"name\": \"observation\",\n \"icon\": {\n \"web\": \"assets/images/mask-image/observation_category.png\",\n \"app\": \"assets/imgs/ic_observation_category.png\"\n }\n }\n ]\n },\n \"ka_k-12\": {\n \"teacher\": [\n {\n \"name\": \"project\",\n \"icon\": {\n \"web\": \"\",\n \"app\": \"assets/imgs/ic_project.svg\"\n }\n }\n ]\n },\n \"kl_k-12\": {\n \"teacher\": [\n {\n \"name\": \"project\",\n \"icon\": {\n \"web\": \"\",\n \"app\": \"assets/imgs/ic_project.svg\"\n }\n }\n ]\n },\n \"mh_k-12_1\": {\n \"teacher\": [\n {\n \"name\": \"project\",\n \"icon\": {\n \"web\": \"\",\n \"app\": \"assets/imgs/ic_project.svg\"\n }\n }\n ]\n },\n \"mn_k-12\": {\n \"teacher\": [\n {\n \"name\": \"project\",\n \"icon\": {\n \"web\": \"\",\n \"app\": \"assets/imgs/ic_project.svg\"\n }\n }\n ]\n },\n \"ml_k-12\": {\n \"teacher\": [\n {\n \"name\": \"project\",\n \"icon\": {\n \"web\": \"\",\n \"app\": \"assets/imgs/ic_project.svg\"\n }\n }\n ]\n },\n \"nl_k-12\": {\n \"teacher\": [\n {\n \"name\": \"project\",\n \"icon\": {\n \"web\": \"\",\n \"app\": \"assets/imgs/ic_project.svg\"\n }\n }\n ]\n },\n \"od_k-12\": {\n \"teacher\": [\n {\n \"name\": \"project\",\n \"icon\": {\n \"web\": \"\",\n \"app\": \"assets/imgs/ic_project.svg\"\n }\n }\n ]\n },\n \"rj_k-12\": {\n \"teacher\": [\n {\n \"name\": \"project\",\n \"icon\": {\n \"web\": \"\",\n \"app\": \"assets/imgs/ic_project.svg\"\n }\n }\n ]\n },\n \"sk_k-12_1\": {\n \"teacher\": [\n {\n \"name\": \"project\",\n \"icon\": {\n \"web\": \"\",\n \"app\": \"assets/imgs/ic_project.svg\"\n }\n }\n ]\n },\n \"tn_k-12_5\": {\n \"teacher\": [\n {\n \"name\": \"project\",\n \"icon\": {\n \"web\": \"\",\n \"app\": \"assets/imgs/ic_project.svg\"\n }\n }\n ]\n },\n \"ts_k-12\": {\n \"teacher\": [\n {\n \"name\": \"project\",\n \"icon\": {\n \"web\": \"\",\n \"app\": \"assets/imgs/ic_project.svg\"\n }\n }\n ]\n },\n \"tp_k-12\": {\n \"teacher\": [\n {\n \"name\": \"observation\",\n \"icon\": {\n \"web\": \"assets/images/mask-image/observation_category.png\",\n \"app\": \"assets/imgs/ic_observation_category.png\"\n }\n },\n {\n \"name\": \"project\",\n \"icon\": {\n \"web\": \"\",\n \"app\": \"assets/imgs/ic_project.svg\"\n }\n }\n ]\n },\n \"uk_k-12\": {\n \"teacher\": [\n {\n \"name\": \"project\",\n \"icon\": {\n \"web\": \"\",\n \"app\": \"assets/imgs/ic_project.svg\"\n }\n }\n ]\n },\n \"an_k-12\": {\n \"teacher\": [\n {\n \"name\": \"project\",\n \"icon\": {\n \"web\": \"\",\n \"app\": \"assets/imgs/ic_project.svg\"\n }\n }\n ]\n },\n \"dd_k-12\": {\n \"teacher\": [\n {\n \"name\": \"project\",\n \"icon\": {\n \"web\": \"\",\n \"app\": \"assets/imgs/ic_project.svg\"\n }\n }\n ]\n },\n \"ld_k-12\": {\n \"teacher\": [\n {\n \"name\": \"project\",\n \"icon\": {\n \"web\": \"\",\n \"app\": \"assets/imgs/ic_project.svg\"\n }\n }\n ]\n },\n \"py_k-12\": {\n \"teacher\": [\n {\n \"name\": \"project\",\n \"icon\": {\n \"web\": \"\",\n \"app\": \"assets/imgs/ic_project.svg\"\n }\n }\n ]\n },\n \"ekstep_ncert_k-12\": {\n \"teacher\": [\n {\n \"name\": \"project\",\n \"icon\": {\n \"web\": \"\",\n \"app\": \"assets/imgs/ic_project.svg\"\n }\n }\n ]\n },\n \"mp_k-12\": {\n \"teacher\": [\n {\n \"name\": \"project\",\n \"icon\": {\n \"web\": \"\",\n \"app\": \"assets/imgs/ic_project.svg\"\n }\n }\n ]\n }\n }\n },\n \"rootOrgId\": \"*\"\n }\n}" + "raw": "{\r\n \"request\": {\r\n \"type\": \"generaliseresourcebundles\",\r\n \"subType\": \"global\",\r\n \"action\": \"list\",\r\n \"component\": \"portal\",\r\n \"framework\": \"*\",\r\n \"data\": {\r\n \"templateName\": \"collectionResourceBundles\",\r\n \"action\": \"list\",\r\n \"fields\": [\r\n {\r\n \"course\": {\r\n \"key\": \"crs\",\r\n \"trackable\": {\r\n \"en\": \"all_labels_en.json\",\r\n \"hi\": \"all_labels_hi.json\",\r\n \"bn\": \"all_labels_bn.json\",\r\n \"kn\": \"all_labels_kn.json\",\r\n \"mr\": \"all_labels_mr.json\",\r\n \"ta\": \"all_labels_ta.json\",\r\n \"te\": \"all_labels_te.json\",\r\n \"ur\": \"all_labels_ur.json\"\r\n },\r\n \"nontrackable\": {\r\n \"en\": \"all_labels_en.json\",\r\n \"hi\": \"all_labels_hi.json\",\r\n \"bn\": \"all_labels_bn.json\",\r\n \"kn\": \"all_labels_kn.json\",\r\n \"mr\": \"all_labels_mr.json\",\r\n \"ta\": \"all_labels_ta.json\",\r\n \"te\": \"all_labels_te.json\",\r\n \"ur\": \"all_labels_ur.json\"\r\n }\r\n },\r\n \"textbook\": {\r\n \"key\": \"tbk\",\r\n \"trackable\": {\r\n \"en\": \"all_labels_en.json\",\r\n \"hi\": \"all_labels_hi.json\",\r\n \"bn\": \"all_labels_bn.json\",\r\n \"kn\": \"all_labels_kn.json\",\r\n \"mr\": \"all_labels_mr.json\",\r\n \"ta\": \"all_labels_ta.json\",\r\n \"te\": \"all_labels_te.json\",\r\n \"ur\": \"all_labels_ur.json\"\r\n },\r\n \"nontrackable\": {\r\n \"en\": \"all_labels_en.json\",\r\n \"hi\": \"all_labels_hi.json\",\r\n \"bn\": \"all_labels_bn.json\",\r\n \"kn\": \"all_labels_kn.json\",\r\n \"mr\": \"all_labels_mr.json\",\r\n \"ta\": \"all_labels_ta.json\",\r\n \"te\": \"all_labels_te.json\",\r\n \"ur\": \"all_labels_ur.json\"\r\n }\r\n },\r\n \"tvclass\": {\r\n \"key\": \"tvc\",\r\n \"trackable\": {\r\n \"en\": \"all_labels_en.json\",\r\n \"hi\": \"all_labels_hi.json\",\r\n \"bn\": \"all_labels_bn.json\",\r\n \"kn\": \"all_labels_kn.json\",\r\n \"mr\": \"all_labels_mr.json\",\r\n \"ta\": \"all_labels_ta.json\",\r\n \"te\": \"all_labels_te.json\",\r\n \"ur\": \"all_labels_ur.json\"\r\n },\r\n \"nontrackable\": {\r\n \"en\": \"all_labels_en.json\",\r\n \"hi\": \"all_labels_hi.json\",\r\n \"bn\": \"all_labels_bn.json\",\r\n \"kn\": \"all_labels_kn.json\",\r\n \"mr\": \"all_labels_mr.json\",\r\n \"ta\": \"all_labels_ta.json\",\r\n \"te\": \"all_labels_te.json\",\r\n \"ur\": \"all_labels_ur.json\"\r\n }\r\n },\r\n \"default\": {\r\n \"key\": \"dflt\",\r\n \"trackable\": {\r\n \"en\": \"all_labels_en.json\",\r\n \"hi\": \"all_labels_hi.json\",\r\n \"bn\": \"all_labels_bn.json\",\r\n \"kn\": \"all_labels_kn.json\",\r\n \"mr\": \"all_labels_mr.json\",\r\n \"ta\": \"all_labels_ta.json\",\r\n \"te\": \"all_labels_te.json\",\r\n \"ur\": \"all_labels_ur.json\"\r\n },\r\n \"nontrackable\": {\r\n \"en\": \"all_labels_en.json\",\r\n \"hi\": \"all_labels_hi.json\",\r\n \"bn\": \"all_labels_bn.json\",\r\n \"kn\": \"all_labels_kn.json\",\r\n \"mr\": \"all_labels_mr.json\",\r\n \"ta\": \"all_labels_ta.json\",\r\n \"te\": \"all_labels_te.json\",\r\n \"ur\": \"all_labels_ur.json\"\r\n }\r\n }\r\n }\r\n ]\r\n },\r\n \"rootOrgId\": \"*\"\r\n }\r\n}" }, "url": { "raw": "{{host}}/api/data/v1/form/create", @@ -5726,22 +8581,22 @@ "response": [] }, { - "name": "10 - ContentAll", + "name": "17 - Questionset", "request": { "method": "POST", "header": [ - { - "key": "Authorization", - "value": "Bearer {{apikey}}" - }, { "key": "Content-Type", "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{apikey}}" } ], "body": { "mode": "raw", - "raw": "{\n \"request\": \n{\n \"type\": \"content\",\n \"subType\": \"all\",\n \"action\": \"ownership\",\n \"component\": \"*\",\n \"framework\": \"*\",\n \"data\": {\n \"templateName\": \"defaultTemplate\",\n \"action\": \"ownership\",\n \"fields\": [\n {\n \"ownershipType\": [\n \"createdBy\",\n \"createdFor\"\n ]\n }\n ]\n },\n \"rootOrgId\": \"*\"\n }\n}" + "raw": "{\r\n \"request\": {\r\n \"type\": \"questionset\",\r\n \"subType\": \"editor\",\r\n \"action\": \"display\",\r\n \"component\": \"*\",\r\n \"framework\": \"*\",\r\n \"data\": {\r\n \"templateName\": \"defaultTemplate\",\r\n \"action\": \"display\",\r\n \"fields\": [\r\n {\r\n \"type\": \"questionset\",\r\n \"display\": true\r\n }\r\n ]\r\n },\r\n \"rootOrgId\": \"*\"\r\n }\r\n}" }, "url": { "raw": "{{host}}/api/data/v1/form/create", @@ -5760,22 +8615,22 @@ "response": [] }, { - "name": "11 - SegmentationV2", + "name": "18 - RequestForChanges", "request": { "method": "POST", "header": [ - { - "key": "Authorization", - "value": "Bearer {{apikey}}" - }, { "key": "Content-Type", "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{apikey}}" } ], "body": { "mode": "raw", - "raw": "{\n \"request\": \n{\n \"type\": \"config\",\n \"subType\": \"segmentation_v2\",\n \"action\": \"get\",\n \"component\": \"*\",\n \"framework\": \"*\",\n \"data\": {\n \"templateName\": \"segmentation_v2\",\n \"action\": \"get\",\n \"fields\": [\n {\n \"commandId\": 1633395600005,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_rj_k-12\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"targetedClient\": \"portal\",\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20Courses%20with%20text.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA Secondary Courses\",\n \"description\": \"NISHTHA Secondary Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHASEC\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"01246375399411712074\"\n ],\n \"batches.enrollmentType\": \"open\",\n \"softConstraints\": \"{}\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n },\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20FLN%20with%20text%20mobile.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA FLN Courses\",\n \"description\": \"NISHTHA FLN Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHAFLN\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"01246375399411712074\"\n ],\n \"batches.enrollmentType\": \"open\",\n \"softConstraints\": \"{}\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n },\n {\n \"code\": \"banner_search\",\n \"type\": \"secondary\",\n \"ui\": {\n \"text\": \"NISHTHA FLN Courses\",\n \"icon\": \"assets/images/ic_nishtha_courses.svg\",\n \"theme\": {\n \"iconBgColor\": \"#FFFFFF\",\n \"pillBgColor\": \"#FFFFFF\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"query\": \"limited attempt course\",\n \"filter\": {\n \"offset\": 0,\n \"filters\": {\n \"audience\": [],\n \"objectType\": [\n \"Content\"\n ]\n }\n }\n }\n },\n \"expiry\": \"1653031067\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600006,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_gj_k-12\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"targetedClient\": \"portal\",\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20Courses%20with%20text.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA Secondary Courses\",\n \"description\": \"NISHTHA Secondary Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHASEC\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"01260242422044262448\"\n ],\n \"batches.enrollmentType\": \"open\",\n \"softConstraints\": \"{}\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n },\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20FLN%20with%20text%20mobile.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA FLN Courses\",\n \"description\": \"NISHTHA FLN Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHAFLN\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"01260242422044262448\"\n ],\n \"batches.enrollmentType\": \"open\",\n \"softConstraints\": \"{}\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600007,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_as_k-12\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"targetedClient\": \"portal\",\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20Courses%20with%20text.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA Secondary Courses\",\n \"description\": \"NISHTHA Secondary Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHASEC\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"01254290140407398431\"\n ],\n \"batches.enrollmentType\": \"open\",\n \"softConstraints\": \"{}\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n },\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20FLN%20with%20text%20mobile.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA FLN Courses\",\n \"description\": \"NISHTHA FLN Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHAFLN\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"01254290140407398431\"\n ],\n \"batches.enrollmentType\": \"open\",\n \"softConstraints\": \"{}\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600008,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_ekstep_ncert_k-12\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"targetedClient\": \"portal\",\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20Courses%20with%20text.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA Secondary Courses\",\n \"description\": \"NISHTHA Secondary Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHASEC\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"01241974041332940818\"\n ],\n \"batches.enrollmentType\": \"open\",\n \"softConstraints\": \"{}\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n },\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20FLN%20with%20text%20mobile.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA FLN Courses\",\n \"description\": \"NISHTHA FLN Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHAFLN\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"01241974041332940818\"\n ],\n \"batches.enrollmentType\": \"open\",\n \"softConstraints\": \"{}\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600009,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_pb_k-12\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"targetedClient\": \"portal\",\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20Courses%20with%20text.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA Secondary Courses\",\n \"description\": \"NISHTHA Secondary Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHASEC\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"01259891801536921611\"\n ],\n \"batches.enrollmentType\": \"open\",\n \"softConstraints\": \"{}\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n },\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20FLN%20with%20text%20mobile.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA FLN Courses\",\n \"description\": \"NISHTHA FLN Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHAFLN\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"01259891801536921611\"\n ],\n \"batches.enrollmentType\": \"open\",\n \"softConstraints\": \"{}\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600010,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_ka_k-12\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"targetedClient\": \"portal\",\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20Courses%20with%20text.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA Secondary Courses\",\n \"description\": \"NISHTHA Secondary Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHASEC\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"01248978648941363234\"\n ],\n \"batches.enrollmentType\": \"open\",\n \"softConstraints\": \"{}\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n },\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20FLN%20with%20text%20mobile.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA FLN Courses\",\n \"description\": \"NISHTHA FLN Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHAFLN\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"01248978648941363234\"\n ],\n \"batches.enrollmentType\": \"open\",\n \"softConstraints\": \"{}\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600011,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_od_k-12\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"targetedClient\": \"portal\",\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20Courses%20with%20text.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA Secondary Courses\",\n \"description\": \"NISHTHA Secondary Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHASEC\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"012582683533344768108\"\n ],\n \"batches.enrollmentType\": \"open\",\n \"softConstraints\": \"{}\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n },\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20FLN%20with%20text%20mobile.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA FLN Courses\",\n \"description\": \"NISHTHA FLN Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHAFLN\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"012582683533344768108\"\n ],\n \"batches.enrollmentType\": \"open\",\n \"softConstraints\": \"{}\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600012,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_jk_k-12\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"targetedClient\": \"portal\",\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20Courses%20with%20text.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA Secondary Courses\",\n \"description\": \"NISHTHA Secondary Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHASEC\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"01254592085869363222\"\n ],\n \"batches.enrollmentType\": \"open\",\n \"softConstraints\": \"{}\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n },\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20FLN%20with%20text%20mobile.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA FLN Courses\",\n \"description\": \"NISHTHA FLN Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHAFLN\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"01254592085869363222\"\n ],\n \"batches.enrollmentType\": \"open\",\n \"softConstraints\": \"{}\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600013,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_up_k-12\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"targetedClient\": \"portal\",\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20Courses%20with%20text.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA Secondary Courses\",\n \"description\": \"NISHTHA Secondary Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHASEC\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"01246376237871104093\"\n ],\n \"batches.enrollmentType\": \"open\",\n \"softConstraints\": \"{}\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n },\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20FLN%20with%20text%20mobile.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA FLN Courses\",\n \"description\": \"NISHTHA FLN Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHAFLN\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"01246376237871104093\"\n ],\n \"batches.enrollmentType\": \"open\",\n \"softConstraints\": \"{}\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600014,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_nl_k-12\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"targetedClient\": \"portal\",\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20Courses%20with%20text.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA Secondary Courses\",\n \"description\": \"NISHTHA Secondary Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHASEC\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"012585429003968512109\"\n ],\n \"batches.enrollmentType\": \"open\",\n \"softConstraints\": \"{}\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n },\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20FLN%20with%20text%20mobile.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA FLN Courses\",\n \"description\": \"NISHTHA FLN Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHAFLN\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"012585429003968512109\"\n ],\n \"batches.enrollmentType\": \"open\",\n \"softConstraints\": \"{}\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600015,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_ts_k-12\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"targetedClient\": \"portal\",\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20Courses%20with%20text.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA Secondary Courses\",\n \"description\": \"NISHTHA Secondary Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHASEC\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"0126640793823641603\"\n ],\n \"batches.enrollmentType\": \"open\",\n \"softConstraints\": \"{}\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n },\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20FLN%20with%20text%20mobile.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA FLN Courses\",\n \"description\": \"NISHTHA FLN Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHAFLN\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"0126640793823641603\"\n ],\n \"batches.enrollmentType\": \"open\",\n \"softConstraints\": \"{}\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600016,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_mn_k-12\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"targetedClient\": \"portal\",\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20Courses%20with%20text.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA Secondary Courses\",\n \"description\": \"NISHTHA Secondary Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHASEC\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"01260243155748454421\"\n ],\n \"batches.enrollmentType\": \"open\",\n \"softConstraints\": \"{}\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n },\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20FLN%20with%20text%20mobile.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA FLN Courses\",\n \"description\": \"NISHTHA FLN Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHAFLN\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"01260243155748454421\"\n ],\n \"batches.enrollmentType\": \"open\",\n \"softConstraints\": \"{}\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600017,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_mz_k-12\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"targetedClient\": \"portal\",\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20Courses%20with%20text.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA Secondary Courses\",\n \"description\": \"NISHTHA Secondary Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHASEC\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"012585437685645312268\"\n ],\n \"batches.enrollmentType\": \"open\",\n \"softConstraints\": \"{}\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n },\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20FLN%20with%20text%20mobile.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA FLN Courses\",\n \"description\": \"NISHTHA FLN Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHAFLN\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"012585437685645312268\"\n ],\n \"batches.enrollmentType\": \"open\",\n \"softConstraints\": \"{}\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600018,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_uk_k-12\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"targetedClient\": \"portal\",\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20Courses%20with%20text.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA Secondary Courses\",\n \"description\": \"NISHTHA Secondary Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHASEC\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"01259546259641958410\"\n ],\n \"batches.enrollmentType\": \"open\",\n \"softConstraints\": \"{}\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n },\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20FLN%20with%20text%20mobile.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA FLN Courses\",\n \"description\": \"NISHTHA FLN Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHAFLN\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"01259546259641958410\"\n ],\n \"batches.enrollmentType\": \"open\",\n \"softConstraints\": \"{}\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600019,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_dl_k-12_1\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"targetedClient\": \"portal\",\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20Courses%20with%20text.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA Secondary Courses\",\n \"description\": \"NISHTHA Secondary Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHASEC\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"01265770253221888087\"\n ],\n \"batches.enrollmentType\": \"open\",\n \"softConstraints\": \"{}\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n },\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20FLN%20with%20text%20mobile.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA FLN Courses\",\n \"description\": \"NISHTHA FLN Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHAFLN\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"01265770253221888087\"\n ],\n \"batches.enrollmentType\": \"open\",\n \"softConstraints\": \"{}\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600020,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_br_k-12\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"targetedClient\": \"portal\",\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20Courses%20with%20text.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA Secondary Courses\",\n \"description\": \"NISHTHA Secondary Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHASEC\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"012593397993308160261\"\n ],\n \"batches.enrollmentType\": \"open\",\n \"softConstraints\": \"{}\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n },\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20FLN%20with%20text%20mobile.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA FLN Courses\",\n \"description\": \"NISHTHA FLN Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHAFLN\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"012593397993308160261\"\n ],\n \"batches.enrollmentType\": \"open\",\n \"softConstraints\": \"{}\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600021,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_sk_k-12_1\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"targetedClient\": \"portal\",\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20Courses%20with%20text.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA Secondary Courses\",\n \"description\": \"NISHTHA Secondary Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHASEC\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"0126002713272729607\"\n ],\n \"batches.enrollmentType\": \"open\",\n \"softConstraints\": \"{}\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n },\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20FLN%20with%20text%20mobile.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA FLN Courses\",\n \"description\": \"NISHTHA FLN Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHAFLN\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"0126002713272729607\"\n ],\n \"batches.enrollmentType\": \"open\",\n \"softConstraints\": \"{}\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600022,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_ga_k-12\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"targetedClient\": \"portal\",\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20Courses%20with%20text.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA Secondary Courses\",\n \"description\": \"NISHTHA Secondary Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHASEC\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"0126830867681034247\"\n ],\n \"batches.enrollmentType\": \"open\",\n \"softConstraints\": \"{}\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n },\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20FLN%20with%20text%20mobile.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA FLN Courses\",\n \"description\": \"NISHTHA FLN Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHAFLN\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"0126830867681034247\"\n ],\n \"batches.enrollmentType\": \"open\",\n \"softConstraints\": \"{}\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600023,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_tp_k-12\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"targetedClient\": \"portal\",\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20Courses%20with%20text.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA Secondary Courses\",\n \"description\": \"NISHTHA Secondary Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHASEC\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"012584868382023680262\"\n ],\n \"batches.enrollmentType\": \"open\",\n \"softConstraints\": \"{}\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n },\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20FLN%20with%20text%20mobile.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA FLN Courses\",\n \"description\": \"NISHTHA FLN Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHAFLN\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"012584868382023680262\"\n ],\n \"batches.enrollmentType\": \"open\",\n \"softConstraints\": \"{}\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600024,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_tn_k-12_5\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"targetedClient\": \"portal\",\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20Courses%20with%20text.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA Secondary Courses\",\n \"description\": \"NISHTHA Secondary Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHASEC\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"01235953109336064029450\"\n ],\n \"batches.enrollmentType\": \"open\",\n \"softConstraints\": \"{}\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n },\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20FLN%20with%20text%20mobile.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA FLN Courses\",\n \"description\": \"NISHTHA FLN Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHAFLN\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"01235953109336064029450\"\n ],\n \"batches.enrollmentType\": \"open\",\n \"softConstraints\": \"{}\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600025,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_kl_k-12\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"targetedClient\": \"portal\",\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20Courses%20with%20text.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA Secondary Courses\",\n \"description\": \"NISHTHA Secondary Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHASEC\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"0126202691023585280\"\n ],\n \"batches.enrollmentType\": \"open\",\n \"softConstraints\": \"{}\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n },\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20FLN%20with%20text%20mobile.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA FLN Courses\",\n \"description\": \"NISHTHA FLN Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHAFLN\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"0126202691023585280\"\n ],\n \"batches.enrollmentType\": \"open\",\n \"softConstraints\": \"{}\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600026,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_cg_k-12\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"targetedClient\": \"portal\",\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20Courses%20with%20text.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA Secondary Courses\",\n \"description\": \"NISHTHA Secondary Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHASEC\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"012361885070827520110898\"\n ],\n \"batches.enrollmentType\": \"open\",\n \"softConstraints\": \"{}\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n },\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20FLN%20with%20text%20mobile.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA FLN Courses\",\n \"description\": \"NISHTHA FLN Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHAFLN\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"012361885070827520110898\"\n ],\n \"batches.enrollmentType\": \"open\",\n \"softConstraints\": \"{}\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600027,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_mh_k-12_1\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"targetedClient\": \"portal\",\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20Courses%20with%20text.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA Secondary Courses\",\n \"description\": \"NISHTHA Secondary Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHASEC\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"0123221617357783046602\"\n ],\n \"batches.enrollmentType\": \"open\",\n \"softConstraints\": \"{}\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n },\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20FLN%20with%20text%20mobile.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA FLN Courses\",\n \"description\": \"NISHTHA FLN Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHAFLN\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"0123221617357783046602\"\n ],\n \"batches.enrollmentType\": \"open\",\n \"softConstraints\": \"{}\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600028,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_jh_k-12\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"targetedClient\": \"portal\",\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20Courses%20with%20text.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA Secondary Courses\",\n \"description\": \"NISHTHA Secondary Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHASEC\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"01263350230999859261\"\n ],\n \"batches.enrollmentType\": \"open\",\n \"softConstraints\": \"{}\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n },\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20FLN%20with%20text%20mobile.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA FLN Courses\",\n \"description\": \"NISHTHA FLN Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHAFLN\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"01263350230999859261\"\n ],\n \"batches.enrollmentType\": \"open\",\n \"softConstraints\": \"{}\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600029,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_hr_k-12\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"targetedClient\": \"portal\",\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20Courses%20with%20text.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA Secondary Courses\",\n \"description\": \"NISHTHA Secondary Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHASEC\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"01257280950159769620\"\n ],\n \"batches.enrollmentType\": \"open\",\n \"softConstraints\": \"{}\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n },\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20FLN%20with%20text%20mobile.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA FLN Courses\",\n \"description\": \"NISHTHA FLN Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHAFLN\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"01257280950159769620\"\n ],\n \"batches.enrollmentType\": \"open\",\n \"softConstraints\": \"{}\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600030,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_ch_k-12\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"targetedClient\": \"portal\",\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20Courses%20with%20text.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA Secondary Courses\",\n \"description\": \"NISHTHA Secondary Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHASEC\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"0125805318613565447\"\n ],\n \"batches.enrollmentType\": \"open\",\n \"softConstraints\": \"{}\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n },\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20FLN%20with%20text%20mobile.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA FLN Courses\",\n \"description\": \"NISHTHA FLN Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHAFLN\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"0125805318613565447\"\n ],\n \"batches.enrollmentType\": \"open\",\n \"softConstraints\": \"{}\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600031,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_ap_k-12_1\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"targetedClient\": \"portal\",\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20Courses%20with%20text.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA Secondary Courses\",\n \"description\": \"NISHTHA Secondary Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHASEC\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"0123207707019919361056\"\n ],\n \"batches.enrollmentType\": \"open\",\n \"softConstraints\": \"{}\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n },\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20FLN%20with%20text%20mobile.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA FLN Courses\",\n \"description\": \"NISHTHA FLN Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHAFLN\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"0123207707019919361056\"\n ],\n \"batches.enrollmentType\": \"open\",\n \"softConstraints\": \"{}\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600032,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_ml_k-12\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"targetedClient\": \"portal\",\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20Courses%20with%20text.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA Secondary Courses\",\n \"description\": \"NISHTHA Secondary Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHASEC\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"012837368918761472986\"\n ],\n \"batches.enrollmentType\": \"open\",\n \"softConstraints\": \"{}\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n },\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20FLN%20with%20text%20mobile.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA FLN Courses\",\n \"description\": \"NISHTHA FLN Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHAFLN\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"012837368918761472986\"\n ],\n \"batches.enrollmentType\": \"open\",\n \"softConstraints\": \"{}\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600033,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_dd_k-12\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"targetedClient\": \"portal\",\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20Courses%20with%20text.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA Secondary Courses\",\n \"description\": \"NISHTHA Secondary Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHASEC\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"01312557236873625613757\"\n ],\n \"batches.enrollmentType\": \"open\",\n \"softConstraints\": \"{}\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n },\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20FLN%20with%20text%20mobile.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA FLN Courses\",\n \"description\": \"NISHTHA FLN Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHAFLN\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"01312557236873625613757\"\n ],\n \"batches.enrollmentType\": \"open\",\n \"softConstraints\": \"{}\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600034,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_an_k-12\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"targetedClient\": \"portal\",\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20Courses%20with%20text.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA Secondary Courses\",\n \"description\": \"NISHTHA Secondary Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHASEC\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"0125747585442037766\"\n ],\n \"batches.enrollmentType\": \"open\",\n \"softConstraints\": \"{}\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n },\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20FLN%20with%20text%20mobile.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA FLN Courses\",\n \"description\": \"NISHTHA FLN Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHAFLN\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"0125747585442037766\"\n ],\n \"batches.enrollmentType\": \"open\",\n \"softConstraints\": \"{}\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600035,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_ld_k-12\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"targetedClient\": \"portal\",\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20Courses%20with%20text.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA Secondary Courses\",\n \"description\": \"NISHTHA Secondary Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHASEC\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"0131197424650321921193\"\n ],\n \"batches.enrollmentType\": \"open\",\n \"softConstraints\": \"{}\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n },\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20FLN%20with%20text%20mobile.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA FLN Courses\",\n \"description\": \"NISHTHA FLN Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHAFLN\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"0131197424650321921193\"\n ],\n \"batches.enrollmentType\": \"open\",\n \"softConstraints\": \"{}\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600036,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_mp_k-12\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"targetedClient\": \"portal\",\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20Courses%20with%20text.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA Secondary Courses\",\n \"description\": \"NISHTHA Secondary Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHASEC\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"012936530816278528135\"\n ],\n \"batches.enrollmentType\": \"open\",\n \"softConstraints\": \"{}\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n },\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20FLN%20with%20text%20mobile.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA FLN Courses\",\n \"description\": \"NISHTHA FLN Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHAFLN\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"012936530816278528135\"\n ],\n \"batches.enrollmentType\": \"open\",\n \"softConstraints\": \"{}\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600037,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_hp_k-12\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"targetedClient\": \"portal\",\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20Courses%20with%20text.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA Secondary Courses\",\n \"description\": \"NISHTHA Secondary Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHASEC\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"01300084831702220811905\"\n ],\n \"batches.enrollmentType\": \"open\",\n \"softConstraints\": \"{}\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n },\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20FLN%20with%20text%20mobile.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA FLN Courses\",\n \"description\": \"NISHTHA FLN Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHAFLN\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"01300084831702220811905\"\n ],\n \"batches.enrollmentType\": \"open\",\n \"softConstraints\": \"{}\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600038,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_py_k-12\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"targetedClient\": \"portal\",\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20Courses%20with%20text.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA Secondary Courses\",\n \"description\": \"NISHTHA Secondary Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHASEC\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"0130737312897597448340\"\n ],\n \"batches.enrollmentType\": \"open\",\n \"softConstraints\": \"{}\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n },\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20FLN%20with%20text%20mobile.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA FLN Courses\",\n \"description\": \"NISHTHA FLN Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHAFLN\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"0130737312897597448340\"\n ],\n \"batches.enrollmentType\": \"open\",\n \"softConstraints\": \"{}\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600039,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_ar_k-12\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"targetedClient\": \"portal\",\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20Courses%20with%20text.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA Secondary Courses\",\n \"description\": \"NISHTHA Secondary Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHASEC\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"0130589531303690248689\"\n ],\n \"batches.enrollmentType\": \"open\",\n \"softConstraints\": \"{}\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n },\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20FLN%20with%20text%20mobile.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA FLN Courses\",\n \"description\": \"NISHTHA FLN Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHAFLN\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"0130589531303690248689\"\n ],\n \"batches.enrollmentType\": \"open\",\n \"softConstraints\": \"{}\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600040,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_nios_fw\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"targetedClient\": \"portal\",\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20Courses%20with%20text.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA Secondary Courses\",\n \"description\": \"NISHTHA Secondary Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHASEC\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"0131423797264547845395\"\n ],\n \"batches.enrollmentType\": \"open\",\n \"softConstraints\": \"{}\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n },\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20FLN%20with%20text%20mobile.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA FLN Courses\",\n \"description\": \"NISHTHA FLN Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHAFLN\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"0131423797264547845395\"\n ],\n \"batches.enrollmentType\": \"open\",\n \"softConstraints\": \"{}\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600041,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_cisce_k-12\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"targetedClient\": \"portal\",\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20Courses%20with%20text.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA Secondary Courses\",\n \"description\": \"NISHTHA Secondary Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHASEC\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"0131426198943907845456\"\n ],\n \"batches.enrollmentType\": \"open\",\n \"softConstraints\": \"{}\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n },\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20FLN%20with%20text%20mobile.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA FLN Courses\",\n \"description\": \"NISHTHA FLN Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHAFLN\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"0131426198943907845456\"\n ],\n \"batches.enrollmentType\": \"open\",\n \"softConstraints\": \"{}\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600042,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_rj_k-12\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20Courses%20with%20text.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA Secondary Courses\",\n \"description\": \"NISHTHA Secondary Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHASEC\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"01246375399411712074\"\n ],\n \"batches.enrollmentType\": \"open\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n },\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20FLN%20with%20text%20mobile.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA FLN Courses\",\n \"description\": \"NISHTHA FLN Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHAFLN\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"01246375399411712074\"\n ],\n \"batches.enrollmentType\": \"open\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n },\n {\n \"code\": \"banner_search\",\n \"type\": \"secondary\",\n \"ui\": {\n \"text\": \"NISHTHA FLN Courses\",\n \"icon\": \"assets/images/ic_nishtha_courses.svg\",\n \"theme\": {\n \"iconBgColor\": \"#FFFFFF\",\n \"pillBgColor\": \"#FFFFFF\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"query\": \"limited attempt course\",\n \"filter\": {\n \"offset\": 0,\n \"filters\": {\n \"audience\": [],\n \"objectType\": [\n \"Content\"\n ]\n }\n }\n }\n },\n \"expiry\": \"1653031067\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600043,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_gj_k-12\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20Courses%20with%20text.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA Secondary Courses\",\n \"description\": \"NISHTHA Secondary Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHASEC\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"01260242422044262448\"\n ],\n \"batches.enrollmentType\": \"open\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n },\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20FLN%20with%20text%20mobile.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA FLN Courses\",\n \"description\": \"NISHTHA FLN Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHAFLN\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"01260242422044262448\"\n ],\n \"batches.enrollmentType\": \"open\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600044,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_as_k-12\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20Courses%20with%20text.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA Secondary Courses\",\n \"description\": \"NISHTHA Secondary Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHASEC\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"01254290140407398431\"\n ],\n \"batches.enrollmentType\": \"open\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n },\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20FLN%20with%20text%20mobile.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA FLN Courses\",\n \"description\": \"NISHTHA FLN Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHAFLN\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"01254290140407398431\"\n ],\n \"batches.enrollmentType\": \"open\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600045,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_ekstep_ncert_k-12\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20Courses%20with%20text.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA Secondary Courses\",\n \"description\": \"NISHTHA Secondary Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHASEC\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"01241974041332940818\"\n ],\n \"batches.enrollmentType\": \"open\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n },\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20FLN%20with%20text%20mobile.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA FLN Courses\",\n \"description\": \"NISHTHA FLN Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHAFLN\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"01241974041332940818\"\n ],\n \"batches.enrollmentType\": \"open\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600046,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_pb_k-12\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20Courses%20with%20text.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA Secondary Courses\",\n \"description\": \"NISHTHA Secondary Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHASEC\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"01259891801536921611\"\n ],\n \"batches.enrollmentType\": \"open\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n },\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20FLN%20with%20text%20mobile.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA FLN Courses\",\n \"description\": \"NISHTHA FLN Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHAFLN\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"01259891801536921611\"\n ],\n \"batches.enrollmentType\": \"open\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600047,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_ka_k-12\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20Courses%20with%20text.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA Secondary Courses\",\n \"description\": \"NISHTHA Secondary Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHASEC\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"01248978648941363234\"\n ],\n \"batches.enrollmentType\": \"open\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n },\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20FLN%20with%20text%20mobile.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA FLN Courses\",\n \"description\": \"NISHTHA FLN Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHAFLN\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"01248978648941363234\"\n ],\n \"batches.enrollmentType\": \"open\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600048,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_od_k-12\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20Courses%20with%20text.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA Secondary Courses\",\n \"description\": \"NISHTHA Secondary Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHASEC\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"012582683533344768108\"\n ],\n \"batches.enrollmentType\": \"open\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n },\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20FLN%20with%20text%20mobile.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA FLN Courses\",\n \"description\": \"NISHTHA FLN Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHAFLN\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"012582683533344768108\"\n ],\n \"batches.enrollmentType\": \"open\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600049,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_jk_k-12\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20Courses%20with%20text.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA Secondary Courses\",\n \"description\": \"NISHTHA Secondary Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHASEC\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"01254592085869363222\"\n ],\n \"batches.enrollmentType\": \"open\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n },\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20FLN%20with%20text%20mobile.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA FLN Courses\",\n \"description\": \"NISHTHA FLN Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHAFLN\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"01254592085869363222\"\n ],\n \"batches.enrollmentType\": \"open\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600050,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_up_k-12\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20Courses%20with%20text.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA Secondary Courses\",\n \"description\": \"NISHTHA Secondary Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHASEC\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"01246376237871104093\"\n ],\n \"batches.enrollmentType\": \"open\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n },\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20FLN%20with%20text%20mobile.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA FLN Courses\",\n \"description\": \"NISHTHA FLN Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHAFLN\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"01246376237871104093\"\n ],\n \"batches.enrollmentType\": \"open\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600051,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_nl_k-12\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20Courses%20with%20text.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA Secondary Courses\",\n \"description\": \"NISHTHA Secondary Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHASEC\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"012585429003968512109\"\n ],\n \"batches.enrollmentType\": \"open\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n },\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20FLN%20with%20text%20mobile.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA FLN Courses\",\n \"description\": \"NISHTHA FLN Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHAFLN\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"012585429003968512109\"\n ],\n \"batches.enrollmentType\": \"open\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600052,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_ts_k-12\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20Courses%20with%20text.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA Secondary Courses\",\n \"description\": \"NISHTHA Secondary Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHASEC\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"0126640793823641603\"\n ],\n \"batches.enrollmentType\": \"open\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n },\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20FLN%20with%20text%20mobile.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA FLN Courses\",\n \"description\": \"NISHTHA FLN Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHAFLN\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"0126640793823641603\"\n ],\n \"batches.enrollmentType\": \"open\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600053,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_mn_k-12\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20Courses%20with%20text.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA Secondary Courses\",\n \"description\": \"NISHTHA Secondary Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHASEC\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"01260243155748454421\"\n ],\n \"batches.enrollmentType\": \"open\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n },\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20FLN%20with%20text%20mobile.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA FLN Courses\",\n \"description\": \"NISHTHA FLN Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHAFLN\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"01260243155748454421\"\n ],\n \"batches.enrollmentType\": \"open\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600054,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_mz_k-12\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20Courses%20with%20text.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA Secondary Courses\",\n \"description\": \"NISHTHA Secondary Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHASEC\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"012585437685645312268\"\n ],\n \"batches.enrollmentType\": \"open\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n },\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20FLN%20with%20text%20mobile.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA FLN Courses\",\n \"description\": \"NISHTHA FLN Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHAFLN\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"012585437685645312268\"\n ],\n \"batches.enrollmentType\": \"open\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600055,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_uk_k-12\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20Courses%20with%20text.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA Secondary Courses\",\n \"description\": \"NISHTHA Secondary Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHASEC\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"01259546259641958410\"\n ],\n \"batches.enrollmentType\": \"open\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n },\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20FLN%20with%20text%20mobile.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA FLN Courses\",\n \"description\": \"NISHTHA FLN Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHAFLN\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"01259546259641958410\"\n ],\n \"batches.enrollmentType\": \"open\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600056,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_dl_k-12_1\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20Courses%20with%20text.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA Secondary Courses\",\n \"description\": \"NISHTHA Secondary Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHASEC\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"01265770253221888087\"\n ],\n \"batches.enrollmentType\": \"open\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n },\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20FLN%20with%20text%20mobile.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA FLN Courses\",\n \"description\": \"NISHTHA FLN Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHAFLN\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"01265770253221888087\"\n ],\n \"batches.enrollmentType\": \"open\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600057,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_br_k-12\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20Courses%20with%20text.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA Secondary Courses\",\n \"description\": \"NISHTHA Secondary Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHASEC\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"012593397993308160261\"\n ],\n \"batches.enrollmentType\": \"open\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n },\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20FLN%20with%20text%20mobile.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA FLN Courses\",\n \"description\": \"NISHTHA FLN Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHAFLN\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"012593397993308160261\"\n ],\n \"batches.enrollmentType\": \"open\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600058,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_sk_k-12_1\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20Courses%20with%20text.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA Secondary Courses\",\n \"description\": \"NISHTHA Secondary Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHASEC\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"0126002713272729607\"\n ],\n \"batches.enrollmentType\": \"open\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n },\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20FLN%20with%20text%20mobile.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA FLN Courses\",\n \"description\": \"NISHTHA FLN Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHAFLN\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"0126002713272729607\"\n ],\n \"batches.enrollmentType\": \"open\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600059,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_ga_k-12\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20Courses%20with%20text.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA Secondary Courses\",\n \"description\": \"NISHTHA Secondary Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHASEC\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"0126830867681034247\"\n ],\n \"batches.enrollmentType\": \"open\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n },\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20FLN%20with%20text%20mobile.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA FLN Courses\",\n \"description\": \"NISHTHA FLN Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHAFLN\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"0126830867681034247\"\n ],\n \"batches.enrollmentType\": \"open\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600060,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_tp_k-12\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20Courses%20with%20text.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA Secondary Courses\",\n \"description\": \"NISHTHA Secondary Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHASEC\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"012584868382023680262\"\n ],\n \"batches.enrollmentType\": \"open\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n },\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20FLN%20with%20text%20mobile.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA FLN Courses\",\n \"description\": \"NISHTHA FLN Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHAFLN\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"012584868382023680262\"\n ],\n \"batches.enrollmentType\": \"open\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600061,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_tn_k-12_5\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20Courses%20with%20text.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA Secondary Courses\",\n \"description\": \"NISHTHA Secondary Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHASEC\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"01235953109336064029450\"\n ],\n \"batches.enrollmentType\": \"open\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n },\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20FLN%20with%20text%20mobile.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA FLN Courses\",\n \"description\": \"NISHTHA FLN Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHAFLN\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"01235953109336064029450\"\n ],\n \"batches.enrollmentType\": \"open\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600062,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_kl_k-12\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20Courses%20with%20text.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA Secondary Courses\",\n \"description\": \"NISHTHA Secondary Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHASEC\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"0126202691023585280\"\n ],\n \"batches.enrollmentType\": \"open\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n },\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20FLN%20with%20text%20mobile.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA FLN Courses\",\n \"description\": \"NISHTHA FLN Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHAFLN\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"0126202691023585280\"\n ],\n \"batches.enrollmentType\": \"open\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600063,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_cg_k-12\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20Courses%20with%20text.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA Secondary Courses\",\n \"description\": \"NISHTHA Secondary Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHASEC\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"012361885070827520110898\"\n ],\n \"batches.enrollmentType\": \"open\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n },\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20FLN%20with%20text%20mobile.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA FLN Courses\",\n \"description\": \"NISHTHA FLN Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHAFLN\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"012361885070827520110898\"\n ],\n \"batches.enrollmentType\": \"open\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600064,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_mh_k-12_1\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20Courses%20with%20text.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA Secondary Courses\",\n \"description\": \"NISHTHA Secondary Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHASEC\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"0123221617357783046602\"\n ],\n \"batches.enrollmentType\": \"open\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n },\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20FLN%20with%20text%20mobile.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA FLN Courses\",\n \"description\": \"NISHTHA FLN Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHAFLN\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"0123221617357783046602\"\n ],\n \"batches.enrollmentType\": \"open\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600065,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_jh_k-12\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20Courses%20with%20text.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA Secondary Courses\",\n \"description\": \"NISHTHA Secondary Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHASEC\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"01263350230999859261\"\n ],\n \"batches.enrollmentType\": \"open\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n },\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20FLN%20with%20text%20mobile.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA FLN Courses\",\n \"description\": \"NISHTHA FLN Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHAFLN\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"01263350230999859261\"\n ],\n \"batches.enrollmentType\": \"open\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600066,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_hr_k-12\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20Courses%20with%20text.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA Secondary Courses\",\n \"description\": \"NISHTHA Secondary Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHASEC\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"01257280950159769620\"\n ],\n \"batches.enrollmentType\": \"open\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n },\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20FLN%20with%20text%20mobile.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA FLN Courses\",\n \"description\": \"NISHTHA FLN Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHAFLN\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"01257280950159769620\"\n ],\n \"batches.enrollmentType\": \"open\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600067,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_ch_k-12\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20Courses%20with%20text.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA Secondary Courses\",\n \"description\": \"NISHTHA Secondary Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHASEC\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"0125805318613565447\"\n ],\n \"batches.enrollmentType\": \"open\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n },\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20FLN%20with%20text%20mobile.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA FLN Courses\",\n \"description\": \"NISHTHA FLN Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHAFLN\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"0125805318613565447\"\n ],\n \"batches.enrollmentType\": \"open\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600068,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_ap_k-12_1\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20Courses%20with%20text.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA Secondary Courses\",\n \"description\": \"NISHTHA Secondary Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHASEC\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"0123207707019919361056\"\n ],\n \"batches.enrollmentType\": \"open\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n },\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20FLN%20with%20text%20mobile.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA FLN Courses\",\n \"description\": \"NISHTHA FLN Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHAFLN\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"0123207707019919361056\"\n ],\n \"batches.enrollmentType\": \"open\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600069,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_ml_k-12\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20Courses%20with%20text.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA Secondary Courses\",\n \"description\": \"NISHTHA Secondary Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHASEC\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"012837368918761472986\"\n ],\n \"batches.enrollmentType\": \"open\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n },\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20FLN%20with%20text%20mobile.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA FLN Courses\",\n \"description\": \"NISHTHA FLN Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHAFLN\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"012837368918761472986\"\n ],\n \"batches.enrollmentType\": \"open\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600070,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_dd_k-12\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20Courses%20with%20text.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA Secondary Courses\",\n \"description\": \"NISHTHA Secondary Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHASEC\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"01312557236873625613757\"\n ],\n \"batches.enrollmentType\": \"open\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n },\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20FLN%20with%20text%20mobile.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA FLN Courses\",\n \"description\": \"NISHTHA FLN Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHAFLN\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"01312557236873625613757\"\n ],\n \"batches.enrollmentType\": \"open\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600071,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_an_k-12\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20Courses%20with%20text.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA Secondary Courses\",\n \"description\": \"NISHTHA Secondary Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHASEC\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"0125747585442037766\"\n ],\n \"batches.enrollmentType\": \"open\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n },\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20FLN%20with%20text%20mobile.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA FLN Courses\",\n \"description\": \"NISHTHA FLN Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHAFLN\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"0125747585442037766\"\n ],\n \"batches.enrollmentType\": \"open\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600072,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_ld_k-12\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20Courses%20with%20text.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA Secondary Courses\",\n \"description\": \"NISHTHA Secondary Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHASEC\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"0131197424650321921193\"\n ],\n \"batches.enrollmentType\": \"open\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n },\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20FLN%20with%20text%20mobile.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA FLN Courses\",\n \"description\": \"NISHTHA FLN Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHAFLN\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"0131197424650321921193\"\n ],\n \"batches.enrollmentType\": \"open\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600073,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_mp_k-12\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20Courses%20with%20text.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA Secondary Courses\",\n \"description\": \"NISHTHA Secondary Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHASEC\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"012936530816278528135\"\n ],\n \"batches.enrollmentType\": \"open\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n },\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20FLN%20with%20text%20mobile.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA FLN Courses\",\n \"description\": \"NISHTHA FLN Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHAFLN\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"012936530816278528135\"\n ],\n \"batches.enrollmentType\": \"open\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600074,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_hp_k-12\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20Courses%20with%20text.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA Secondary Courses\",\n \"description\": \"NISHTHA Secondary Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHASEC\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"01300084831702220811905\"\n ],\n \"batches.enrollmentType\": \"open\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n },\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20FLN%20with%20text%20mobile.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA FLN Courses\",\n \"description\": \"NISHTHA FLN Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHAFLN\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"01300084831702220811905\"\n ],\n \"batches.enrollmentType\": \"open\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600075,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_py_k-12\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20Courses%20with%20text.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA Secondary Courses\",\n \"description\": \"NISHTHA Secondary Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHASEC\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"0130737312897597448340\"\n ],\n \"batches.enrollmentType\": \"open\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n },\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20FLN%20with%20text%20mobile.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA FLN Courses\",\n \"description\": \"NISHTHA FLN Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHAFLN\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"0130737312897597448340\"\n ],\n \"batches.enrollmentType\": \"open\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600076,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_ar_k-12\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20Courses%20with%20text.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA Secondary Courses\",\n \"description\": \"NISHTHA Secondary Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHASEC\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"0130589531303690248689\"\n ],\n \"batches.enrollmentType\": \"open\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n },\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20FLN%20with%20text%20mobile.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA FLN Courses\",\n \"description\": \"NISHTHA FLN Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHAFLN\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"0130589531303690248689\"\n ],\n \"batches.enrollmentType\": \"open\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600077,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_nios_fw\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20Courses%20with%20text.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA Secondary Courses\",\n \"description\": \"NISHTHA Secondary Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHASEC\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"0131423797264547845395\"\n ],\n \"batches.enrollmentType\": \"open\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n },\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20FLN%20with%20text%20mobile.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA FLN Courses\",\n \"description\": \"NISHTHA FLN Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHAFLN\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"0131423797264547845395\"\n ],\n \"batches.enrollmentType\": \"open\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600078,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_cisce_k-12\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20Courses%20with%20text.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA Secondary Courses\",\n \"description\": \"NISHTHA Secondary Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHASEC\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"0131426198943907845456\"\n ],\n \"batches.enrollmentType\": \"open\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n },\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/FLN/NISHTHA%20FLN%20with%20text%20mobile.svg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"NISHTHA FLN Courses\",\n \"description\": \"NISHTHA FLN Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"NISHTHAFLN\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"0131426198943907845456\"\n ],\n \"batches.enrollmentType\": \"open\"\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600079,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"OR\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_Preschool 1\",\n \"USERFRAMEWORK_Preschool 2\",\n \"USERFRAMEWORK_Preschool 3\",\n \"USERFRAMEWORK_Class 1\",\n \"USERFRAMEWORK_Class 2\",\n \"USERFRAMEWORK_Class 3\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"targetedClient\": \"portal\",\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/nipunBharat.png\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"vertical nipun bharat (fln)\",\n \"description\": \"vertical nipun bharat (fln)\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"verticals\": \"nipun bharat (fln)\",\n \"status\": [\n \"Live\"\n ]\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600080,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"OR\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_preschool1\",\n \"USERFRAMEWORK_preschool2\",\n \"USERFRAMEWORK_preschool3\",\n \"USERFRAMEWORK_class1\",\n \"USERFRAMEWORK_class2\",\n \"USERFRAMEWORK_class3\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/nipunBharat.png\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"vertical nipun bharat (fln)\",\n \"description\": \"vertical nipun bharat (fln)\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"verticals\": \"nipun bharat (fln)\",\n \"status\": [\n \"Live\"\n ]\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600081,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"OR\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_class6\",\n \"USERFRAMEWORK_class7\",\n \"USERFRAMEWORK_class8\",\n \"USERFRAMEWORK_class9\",\n \"USERFRAMEWORK_class10\",\n \"USERFRAMEWORK_class11\",\n \"USERFRAMEWORK_class12\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/virtuallab-min.png\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"Virtual Labs\",\n \"description\": \"Virtual Labs\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"verticals\": \"Virtual Labs\",\n \"status\": [\n \"Live\"\n ]\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600082,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"OR\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_Class 6\",\n \"USERFRAMEWORK_Class 7\",\n \"USERFRAMEWORK_Class 8\",\n \"USERFRAMEWORK_Class 9\",\n \"USERFRAMEWORK_Class 10\",\n \"USERFRAMEWORK_Class 11\",\n \"USERFRAMEWORK_Class 12\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"targetedClient\": \"portal\",\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/virtuallab-min.png\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"Virtual Labs\",\n \"description\": \"Virtual Labs\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"verticals\": \"Virtual Labs\",\n \"status\": [\n \"Live\"\n ]\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600083,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"OR\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_class1\",\n \"USERFRAMEWORK_class2\",\n \"USERFRAMEWORK_class3\",\n \"USERFRAMEWORK_class4\",\n \"USERFRAMEWORK_class5\",\n \"USERFRAMEWORK_class6\",\n \"USERFRAMEWORK_class7\",\n \"USERFRAMEWORK_class8\",\n \"USERFRAMEWORK_class9\",\n \"USERFRAMEWORK_class10\",\n \"USERFRAMEWORK_class11\",\n \"USERFRAMEWORK_class12\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/educationall-min.png\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"Adult Education\",\n \"description\": \"Adult Education\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"verticals\": \"Adult Education\",\n \"status\": [\n \"Live\"\n ]\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600084,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"OR\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_Class 1\",\n \"USERFRAMEWORK_Class 2\",\n \"USERFRAMEWORK_Class 3\",\n \"USERFRAMEWORK_Class 4\",\n \"USERFRAMEWORK_Class 5\",\n \"USERFRAMEWORK_Class 6\",\n \"USERFRAMEWORK_Class 7\",\n \"USERFRAMEWORK_Class 8\",\n \"USERFRAMEWORK_Class 9\",\n \"USERFRAMEWORK_Class 10\",\n \"USERFRAMEWORK_Class 11\",\n \"USERFRAMEWORK_Class 12\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"targetedClient\": \"portal\",\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/educationall-min.png\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"Adult Education\",\n \"description\": \"Adult Education\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"verticals\": \"Adult Education\",\n \"status\": [\n \"Live\"\n ]\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600085,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"OR\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_class9\",\n \"USERFRAMEWORK_class10\",\n \"USERFRAMEWORK_class11\",\n \"USERFRAMEWORK_class12\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/vocational-education-min.png\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"Vocational Education\",\n \"description\": \"Vocational Education\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"verticals\": \"Vocational Education\",\n \"status\": [\n \"Live\"\n ]\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600086,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"OR\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_Class 9\",\n \"USERFRAMEWORK_Class 10\",\n \"USERFRAMEWORK_Class 11\",\n \"USERFRAMEWORK_Class 12\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"targetedClient\": \"portal\",\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/vocational-education-min.png\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"Vocational Education\",\n \"description\": \"Vocational Education\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"verticals\": \"Vocational Education\",\n \"status\": [\n \"Live\"\n ]\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600087,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_State (Uttarakhand)\",\n \"USERFRAMEWORK_Class 9\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"targetedClient\": \"portal\",\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/gyanankuran-class-9-courses-banner.jpg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"Gyanankuran Courses\",\n \"description\": \"Gyanankuran Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"GYANANKURAN\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"01259546259641958410\"\n ],\n \"se_gradeLevels\": [\n \"Class 9\"\n ]\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600088,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_State (Uttarakhand)\",\n \"USERFRAMEWORK_Class 10\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"targetedClient\": \"portal\",\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/gyanankuran-class-10-courses-banner.jpg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"Gyanankuran Courses\",\n \"description\": \"Gyanankuran Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"GYANANKURAN\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"01259546259641958410\"\n ],\n \"se_gradeLevels\": [\n \"Class 10\"\n ]\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600089,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_stateuttarakhand\",\n \"USERFRAMEWORK_class9\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/gyanankuran-class-9-courses-banner.jpg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"Gyanankuran Courses\",\n \"description\": \"Gyanankuran Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"GYANANKURAN\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"01259546259641958410\"\n ],\n \"se_gradeLevels\": [\n \"Class 9\"\n ]\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n }\n ]\n }\n },\n {\n \"commandId\": 1633395600090,\n \"commandType\": \"SEGMENT_COMMAND\",\n \"controlFunction\": \"BANNER_CONFIG\",\n \"expiresAfter\": 1704067183000,\n \"tagCriteria\": \"AND\",\n \"tagFilterUpto\": null,\n \"tagFilters\": [\n \"USERFRAMEWORK_stateuttarakhand\",\n \"USERFRAMEWORK_class10\"\n ],\n \"targetDeviceIds\": null,\n \"targetVersion\": null,\n \"controlFunctionPayload\": {\n \"showBanner\": true,\n \"values\": [\n {\n \"code\": \"banner_search\",\n \"ui\": {\n \"background\": \"https://obj.diksha.gov.in/ntpproductionall-course-discovery-banners/gyanankuran-class-10-courses-banner.jpg\",\n \"text\": \"\",\n \"landing\": {\n \"title\": \"Gyanankuran Courses\",\n \"description\": \"Gyanankuran Courses\"\n }\n },\n \"action\": {\n \"type\": \"navigate\",\n \"subType\": \"search\",\n \"params\": {\n \"filter\": {\n \"offset\": 0,\n \"fields\": [],\n \"filters\": {\n \"keywords\": [\n \"GYANANKURAN\"\n ],\n \"status\": \"Live\",\n \"contentType\": \"Course\",\n \"channel\": [\n \"01259546259641958410\"\n ],\n \"se_gradeLevels\": [\n \"Class 10\"\n ]\n },\n \"exists\": [],\n \"sort_by\": {}\n }\n }\n },\n \"expiry\": \"1704067199\"\n }\n ]\n }\n }\n ]\n },\n \"rootOrgId\": \"*\"\n }\n}" + "raw": "{\r\n \"request\":\r\n {\r\n \"type\": \"content\",\r\n \"subType\": \"resource\",\r\n \"action\": \"requestforchanges\",\r\n \"component\": \"*\",\r\n \"framework\": \"*\",\r\n \"data\": {\r\n \"templateName\": \"defaultTemplate\",\r\n \"action\": \"requestforchanges\",\r\n \"fields\": [\r\n {\r\n \"otherReason\": \"Other Issue(s) (if there are any other issues, tick this and provide details in the comments box)\",\r\n \"contents\": [\r\n {\r\n \"name\": \"Appropriateness\",\r\n \"checkList\": [\r\n \"Incorrect Board, Grade, Subject or Medium\"\r\n ]\r\n },\r\n {\r\n \"name\": \"Content details\",\r\n \"checkList\": [\r\n \"Inappropriate tags such as Resource Type or Concepts\",\r\n \"Irrelevant Keywords\"\r\n ]\r\n },\r\n {\r\n \"name\": \"Usability\",\r\n \"checkList\": [\r\n \"Content is NOT playing correctly\",\r\n \"Spelling mistakes found in text used\"\r\n ]\r\n }\r\n ],\r\n \"title\": \"Please tick the reasons for requesting changes and provide detailed comments:\"\r\n }\r\n ]\r\n },\r\n \"rootOrgId\": \"*\"\r\n }\r\n}" }, "url": { "raw": "{{host}}/api/data/v1/form/create", @@ -5794,22 +8649,22 @@ "response": [] }, { - "name": "12 - UserType", + "name": "19 - AdminFramework", "request": { "method": "POST", "header": [ - { - "key": "Authorization", - "value": "Bearer {{apikey}}" - }, { "key": "Content-Type", "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{apikey}}" } ], "body": { "mode": "raw", - "raw": "{\n \"request\": \n{\n \"type\": \"config\",\n \"subType\": \"userType\",\n \"action\": \"get\",\n \"component\": \"portal\",\n \"framework\": \"*\",\n \"data\": {\n \"templateName\": \"userType\",\n \"action\": \"get\",\n \"fields\": [\n {\n \"code\": \"teacher\",\n \"name\": \"Teacher\",\n \"label\": \"frmelmnts.lbl.teacher\",\n \"visibility\": true,\n \"image\": \"guest-img1.svg\",\n \"index\": 0,\n \"searchFilter\": [\n \"Teacher\",\n \"Instructor\"\n ]\n },\n {\n \"code\": \"student\",\n \"name\": \"Student\",\n \"visibility\": true,\n \"label\": \"frmelmnts.lbl.student\",\n \"image\": \"guest-img2.svg\",\n \"index\": 1,\n \"searchFilter\": [\n \"Student\",\n \"Learner\"\n ]\n },\n {\n \"code\": \"administrator\",\n \"name\": \"Head teacher & Official\",\n \"index\": 3,\n \"visibility\": true,\n \"label\": \"frmelmnts.lbl.administrator\",\n \"image\": \"guest-img5.svg\",\n \"searchFilter\": [\n \"administrator\"\n ]\n },\n {\n \"code\": \"parent\",\n \"name\": \"Parent\",\n \"index\": 2,\n \"visibility\": true,\n \"label\": \"frmelmnts.lbl.parent\",\n \"image\": \"guest-img4.svg\",\n \"searchFilter\": [\n \"Student\",\n \"Teacher\",\n \"Instructor\",\n \"Learner\"\n ]\n },\n {\n \"code\": \"other\",\n \"name\": \"Other\",\n \"visibility\": true,\n \"index\": 4,\n \"label\": \"frmelmnts.lbl.other\",\n \"image\": \"guest-img3.svg\",\n \"searchFilter\": [\n \"Student\",\n \"Teacher\",\n \"Instructor\",\n \"Learner\"\n ]\n }\n ]\n },\n \"rootOrgId\": \"*\"\n }\n}" + "raw": "{\r\n \"request\":\r\n{\r\n \"type\": \"user\",\r\n \"subType\": \"admin_framework\",\r\n \"action\": \"create\",\r\n \"component\": \"*\",\r\n \"framework\": \"*\",\r\n \"data\": {\r\n \"templateName\": \"defaultTemplate\",\r\n \"action\": \"create\",\r\n \"fields\": [\r\n {\r\n \"code\": \"board\",\r\n \"dataType\": \"text\",\r\n \"name\": \"Board\",\r\n \"label\": \"Board\",\r\n \"description\": \"Education Board (Like MP Board, NCERT, etc)\",\r\n \"editable\": true,\r\n \"inputType\": \"multi-select\",\r\n \"required\": true,\r\n \"displayProperty\": \"Editable\",\r\n \"visible\": true,\r\n \"renderingHints\": {\r\n \"semanticColumnWidth\": \"four\"\r\n },\r\n \"index\": 1\r\n },\r\n {\r\n \"code\": \"medium\",\r\n \"dataType\": \"text\",\r\n \"name\": \"Medium\",\r\n \"label\": \"Medium\",\r\n \"description\": \"Medium of instruction\",\r\n \"editable\": true,\r\n \"inputType\": \"multi-select\",\r\n \"required\": false,\r\n \"displayProperty\": \"Editable\",\r\n \"visible\": true,\r\n \"renderingHints\": {\r\n \"semanticColumnWidth\": \"four\"\r\n },\r\n \"index\": 2\r\n },\r\n {\r\n \"code\": \"gradeLevel\",\r\n \"dataType\": \"text\",\r\n \"name\": \"Class\",\r\n \"label\": \"Class\",\r\n \"description\": \"Grade\",\r\n \"editable\": true,\r\n \"inputType\": \"multi-select\",\r\n \"required\": false,\r\n \"displayProperty\": \"Editable\",\r\n \"visible\": true,\r\n \"renderingHints\": {\r\n \"semanticColumnWidth\": \"four\"\r\n },\r\n \"index\": 3\r\n },\r\n {\r\n \"code\": \"subject\",\r\n \"dataType\": \"text\",\r\n \"name\": \"Subject\",\r\n \"label\": \"Subject\",\r\n \"description\": \"Subject of the Content to use to teach\",\r\n \"editable\": true,\r\n \"inputType\": \"multi-select\",\r\n \"required\": false,\r\n \"displayProperty\": \"Editable\",\r\n \"visible\": false,\r\n \"renderingHints\": {\r\n \"semanticColumnWidth\": \"four\"\r\n },\r\n \"index\": 4\r\n }\r\n ]\r\n },\r\n \"rootOrgId\": \"*\"\r\n }\r\n}" }, "url": { "raw": "{{host}}/api/data/v1/form/create", @@ -5828,7 +8683,7 @@ "response": [] }, { - "name": "13 - ResourceCreate", + "name": "20 - profileConfig_v2 KA", "request": { "method": "POST", "header": [ @@ -5843,7 +8698,7 @@ ], "body": { "mode": "raw", - "raw": "{\r\n \"request\": {\r\n \"action\": \"create\",\r\n \"subType\": \"resource\",\r\n \"framework\": \"*\",\r\n \"rootOrgId\": \"*\",\r\n \"type\": \"content\",\r\n \"popup\": true,\r\n \"editMode\": true,\r\n \"data\": {\r\n \"templateName\": \"defaultTemplate\",\r\n \"action\": \"create\",\r\n \"fields\": [\r\n {\r\n \"code\": \"appicon\",\r\n \"visible\": true,\r\n \"editable\": true,\r\n \"dataType\": \"url\",\r\n \"renderingHints\": {},\r\n \"name\": \"App Icon\",\r\n \"description\": \"App Icon\",\r\n \"index\": 1,\r\n \"inputType\": \"file\",\r\n \"label\": \"Icon\",\r\n \"placeholder\": \"App Icon\"\r\n },\r\n {\r\n \"code\": \"name\",\r\n \"visible\": true,\r\n \"editable\": true,\r\n \"dataType\": \"text\",\r\n \"renderingHints\": {},\r\n \"name\": \"Title\",\r\n \"description\": \"Title of the content\",\r\n \"index\": 2,\r\n \"inputType\": \"text\",\r\n \"label\": \"Title\",\r\n \"placeholder\": \"Enter Title For Book\"\r\n },\r\n {\r\n \"code\": \"description\",\r\n \"visible\": true,\r\n \"editable\": true,\r\n \"dataType\": \"text\",\r\n \"renderingHints\": {},\r\n \"name\": \"Description\",\r\n \"description\": \"Brief description\",\r\n \"index\": 3,\r\n \"inputType\": \"textarea\",\r\n \"label\": \"Description\",\r\n \"placeholder\": \"Brief description about the Book\"\r\n }\r\n \r\n ]\r\n }\r\n }\r\n}" + "raw": "{\r\n \"request\":\r\n{\r\n \"type\": \"user\",\r\n \"subType\": \"admin_framework\",\r\n \"action\": \"create\",\r\n \"component\": \"*\",\r\n \"framework\": \"*\",\r\n \"data\": {\r\n \"templateName\": \"defaultTemplate\",\r\n \"action\": \"create\",\r\n \"fields\": [\r\n {\r\n \"code\": \"board\",\r\n \"dataType\": \"text\",\r\n \"name\": \"Board\",\r\n \"label\": \"Board\",\r\n \"description\": \"Education Board (Like MP Board, NCERT, etc)\",\r\n \"editable\": true,\r\n \"inputType\": \"multi-select\",\r\n \"required\": true,\r\n \"displayProperty\": \"Editable\",\r\n \"visible\": true,\r\n \"renderingHints\": {\r\n \"semanticColumnWidth\": \"four\"\r\n },\r\n \"index\": 1\r\n },\r\n {\r\n \"code\": \"medium\",\r\n \"dataType\": \"text\",\r\n \"name\": \"Medium\",\r\n \"label\": \"Medium\",\r\n \"description\": \"Medium of instruction\",\r\n \"editable\": true,\r\n \"inputType\": \"multi-select\",\r\n \"required\": false,\r\n \"displayProperty\": \"Editable\",\r\n \"visible\": true,\r\n \"renderingHints\": {\r\n \"semanticColumnWidth\": \"four\"\r\n },\r\n \"index\": 2\r\n },\r\n {\r\n \"code\": \"gradeLevel\",\r\n \"dataType\": \"text\",\r\n \"name\": \"Class\",\r\n \"label\": \"Class\",\r\n \"description\": \"Grade\",\r\n \"editable\": true,\r\n \"inputType\": \"multi-select\",\r\n \"required\": false,\r\n \"displayProperty\": \"Editable\",\r\n \"visible\": true,\r\n \"renderingHints\": {\r\n \"semanticColumnWidth\": \"four\"\r\n },\r\n \"index\": 3\r\n },\r\n {\r\n \"code\": \"subject\",\r\n \"dataType\": \"text\",\r\n \"name\": \"Subject\",\r\n \"label\": \"Subject\",\r\n \"description\": \"Subject of the Content to use to teach\",\r\n \"editable\": true,\r\n \"inputType\": \"multi-select\",\r\n \"required\": false,\r\n \"displayProperty\": \"Editable\",\r\n \"visible\": false,\r\n \"renderingHints\": {\r\n \"semanticColumnWidth\": \"four\"\r\n },\r\n \"index\": 4\r\n }\r\n ]\r\n },\r\n \"rootOrgId\": \"*\"\r\n }\r\n}" }, "url": { "raw": "{{host}}/api/data/v1/form/create", @@ -5862,7 +8717,7 @@ "response": [] }, { - "name": "14 - ReportTypes", + "name": "21 - Content Feedback", "request": { "method": "POST", "header": [ @@ -5877,7 +8732,7 @@ ], "body": { "mode": "raw", - "raw": "{\r\n \"request\": {\r\n \"type\": \"batch\",\r\n \"subType\": \"report_types\",\r\n \"action\": \"list\",\r\n \"component\": \"*\",\r\n \"framework\": \"*\",\r\n \"data\": {\r\n \"templateName\": \"defaultTemplate\",\r\n \"action\": \"list\",\r\n \"fields\": [\r\n {\r\n \"title\": \"Course progress exhaust\",\r\n \"dataset\": \"progress-exhaust\",\r\n \"lang_key\": \"frmelmnts.lbl.progressExhaustReport\",\r\n \"encrypt\": \"false\"\r\n },\r\n {\r\n \"title\": \"User profile exhaust\",\r\n \"dataset\": \"userinfo-exhaust\",\r\n \"lang_key\": \"frmelmnts.lbl.userExhaustReport\",\r\n \"encrypt\": \"true\"\r\n },\r\n {\r\n \"title\": \"Question set report\",\r\n \"dataset\": \"response-exhaust\",\r\n \"lang_key\": \"frmelmnts.lbl.qsResponseReport\",\r\n \"encrypt\": \"false\"\r\n }\r\n ]\r\n },\r\n \"rootOrgId\": \"*\"\r\n }\r\n}" + "raw": "{\n \"request\":{\n \"type\": \"contentfeedback\",\n \"action\": \"get\",\n \"subType\": \"en\",\n \"rootOrgId\": \"*\",\n \"framework\": \"*\",\n \"data\": {\n \"templateName\": \"contentfeedback\",\n \"action\": \"get\",\n \"fields\": [\n {\n \"1\": {\n \"question\": \"Would you like to tell us more?\",\n \"options\": [\n {\n \"idx\": 1,\n \"value\": \"Content is inaccurate\",\n \"key\": \"CONTENT_INACCURATE\"\n },\n {\n \"idx\": 2,\n \"value\": \"Content is not displayed properly\",\n \"key\": \"CONTENT_NOT_DISPLAYED\"\n },\n {\n \"idx\": 3,\n \"value\": \"Content is not relevant\",\n \"key\": \"CONTENT_NOT_RELEVANT\"\n },\n {\n \"idx\": 4,\n \"value\": \"Did not help me understand the concept\",\n \"key\": \"DIDNT_UNDERSTAND_CONCEPT\"\n },\n {\n \"idx\": 6,\n \"value\": \"There is a technical problem\",\n \"key\": \"TECHNICAL_PROBLEM\"\n },\n {\n \"idx\": 6,\n \"value\": \"Content is insufficient or not there\",\n \"key\": \"INSUFFICIENT_CONTENT\"\n },\n {\n \"idx\": 8,\n \"value\": \"Other\",\n \"key\": \"OTHER\"\n }\n ],\n \"ratingText\": \"Very Bad\"\n },\n \"2\": {\n \"question\": \"Would you like to tell us more?\",\n \"options\": [\n {\n \"idx\": 1,\n \"value\": \"Content is inaccurate\",\n \"key\": \"CONTENT_INACCURATE\"\n },\n {\n \"idx\": 2,\n \"value\": \"Content is not displayed properly\",\n \"key\": \"CONTENT_NOT_DISPLAYED\"\n },\n {\n \"idx\": 3,\n \"value\": \"Content is not relevant\",\n \"key\": \"CONTENT_NOT_RELEVANT\"\n },\n {\n \"idx\": 4,\n \"value\": \"Did not help me understand the concept\",\n \"key\": \"DIDNT_UNDERSTAND_CONCEPT\"\n },\n {\n \"idx\": 6,\n \"value\": \"There is a technical problem\",\n \"key\": \"TECHNICAL_PROBLEM\"\n },\n {\n \"idx\": 6,\n \"value\": \"Content is insufficient or not there\",\n \"key\": \"INSUFFICIENT_CONTENT\"\n },\n {\n \"idx\": 8,\n \"value\": \"Other\",\n \"key\": \"OTHER\"\n }\n ],\n \"ratingText\": \"Bad\"\n },\n \"3\": {\n \"question\": \"Would you like to tell us more?\",\n \"options\": [\n {\n \"idx\": 1,\n \"value\": \"Content is inaccurate\",\n \"key\": \"CONTENT_INACCURATE\"\n },\n {\n \"idx\": 2,\n \"value\": \"Content is not displayed properly\",\n \"key\": \"CONTENT_NOT_DISPLAYED\"\n },\n {\n \"idx\": 3,\n \"value\": \"Content is not relevant\",\n \"key\": \"CONTENT_NOT_RELEVANT\"\n },\n {\n \"idx\": 4,\n \"value\": \"Did not help me understand the concept\",\n \"key\": \"DIDNT_UNDERSTAND_CONCEPT\"\n },\n {\n \"idx\": 6,\n \"value\": \"There is a technical problem\",\n \"key\": \"TECHNICAL_PROBLEM\"\n },\n {\n \"idx\": 6,\n \"value\": \"Content is insufficient or not there\",\n \"key\": \"INSUFFICIENT_CONTENT\"\n },\n {\n \"idx\": 8,\n \"value\": \"Other\",\n \"key\": \"OTHER\"\n }\n ],\n \"ratingText\": \"Average\"\n },\n \"4\": {\n \"question\": \"Would you like to tell us more?\",\n \"options\": [\n {\n \"idx\": 1,\n \"value\": \"Content is inaccurate\",\n \"key\": \"CONTENT_INACCURATE\"\n },\n {\n \"idx\": 2,\n \"value\": \"Content is not displayed properly\",\n \"key\": \"CONTENT_NOT_DISPLAYED\"\n },\n {\n \"idx\": 3,\n \"value\": \"Content is not relevant\",\n \"key\": \"CONTENT_NOT_RELEVANT\"\n },\n {\n \"idx\": 4,\n \"value\": \"Did not help me understand the concept\",\n \"key\": \"DIDNT_UNDERSTAND_CONCEPT\"\n },\n {\n \"idx\": 6,\n \"value\": \"There is a technical problem\",\n \"key\": \"TECHNICAL_PROBLEM\"\n },\n {\n \"idx\": 6,\n \"value\": \"Content is insufficient or not there\",\n \"key\": \"INSUFFICIENT_CONTENT\"\n },\n {\n \"idx\": 8,\n \"value\": \"Other\",\n \"key\": \"OTHER\"\n }\n ],\n \"ratingText\": \"Good\"\n },\n \"5\": {\n \"question\": \"Would you like to tell us more?\",\n \"options\": [\n {\n \"idx\": 1,\n \"value\": \"Understood the concept well\",\n \"key\": \"UNDERSTOOD_CONCEPT\"\n },\n {\n \"idx\": 2,\n \"value\": \"Helped me prepare for my exam\",\n \"key\": \"HELPED_IN_EXAM\"\n },\n {\n \"idx\": 3,\n \"value\": \"Learnt something new\",\n \"key\": \"LEARNT_SOMETHING\"\n },\n {\n \"idx\": 4,\n \"value\": \"Helped me teach my class\",\n \"key\": \"HELPED_IN_CLASS\"\n },\n {\n \"idx\": 6,\n \"value\": \"Content is interesting and fun\",\n \"key\": \"CONTENT_INTERESTING\"\n },\n {\n \"idx\": 7,\n \"value\": \"Other\",\n \"key\": \"OTHER\"\n }\n ],\n \"ratingText\": \"Excellent\"\n }\n }\n ]\n }\n }\n}" }, "url": { "raw": "{{host}}/api/data/v1/form/create", @@ -5896,7 +8751,7 @@ "response": [] }, { - "name": "15 - Onboarding", + "name": "22 - Content Save", "request": { "method": "POST", "header": [ @@ -5911,7 +8766,7 @@ ], "body": { "mode": "raw", - "raw": "{\r\n \"request\": {\r\n \"type\": \"user\",\r\n \"subType\": \"exclusion\",\r\n \"action\": \"onboarding\",\r\n \"component\": \"portal\",\r\n \"framework\": \"*\",\r\n \"data\": {\r\n \"templateName\": \"defaultTemplate\",\r\n \"action\": \"get\",\r\n \"fields\": [\r\n \"/certs/\",\r\n \"/signup/\",\r\n \"/recover/\",\r\n \"/sign-in/\",\r\n \"/get/dial/\"\r\n ]\r\n },\r\n \"rootOrgId\": \"*\"\r\n }\r\n}" + "raw": "{\n \"request\": {\n \"action\": \"save\",\n \"subType\": \"resource\",\n \"framework\": \"*\",\n \"rootOrgId\": \"*\",\n \"type\": \"content\",\n \"popup\": true,\n \"editMode\": true,\n \"data\": {\n \"templateName\": \"defaultTemplate\",\n \"action\": \"save\",\n \"fields\": [\n {\n \"code\": \"appicon\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"url\",\n \"renderingHints\": {},\n \"name\": \"App Icon\",\n \"description\": \"App Icon\",\n \"index\": 1,\n \"inputType\": \"file\",\n \"label\": \"Icon\",\n \"placeholder\": \"App Icon\",\n \"required\": false\n },\n {\n \"code\": \"name\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"text\",\n \"renderingHints\": {},\n \"name\": \"Title\",\n \"description\": \"Title of the content\",\n \"index\": 2,\n \"inputType\": \"text\",\n \"label\": \"Title\",\n \"placeholder\": \"Enter Title For Book\",\n \"required\": true\n },\n {\n \"code\": \"description\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"text\",\n \"renderingHints\": {},\n \"name\": \"Description\",\n \"description\": \"Brief description\",\n \"index\": 3,\n \"inputType\": \"textarea\",\n \"label\": \"Description\",\n \"placeholder\": \"Brief description about the Book\",\n \"required\": false\n },\n {\n \"code\": \"board\",\n \"visible\": true,\n \"depends\": [\n \"medium\",\n \"gradeLevel\",\n \"subject\",\n \"topic\"\n ],\n \"editable\": true,\n \"dataType\": \"text\",\n \"renderingHints\": {},\n \"description\": \"Board\",\n \"index\": 5,\n \"label\": \"Board/Syllabus\",\n \"required\": false,\n \"name\": \"Board/Syllabus\",\n \"inputType\": \"select\",\n \"placeholder\": \"Select Board/Syllabus\"\n },\n {\n \"code\": \"medium\",\n \"visible\": true,\n \"depends\": [\n \"gradeLevel\",\n \"subject\",\n \"topic\"\n ],\n \"editable\": true,\n \"dataType\": \"list\",\n \"renderingHints\": {},\n \"description\": \"\",\n \"index\": 6,\n \"label\": \"Medium\",\n \"required\": false,\n \"name\": \"medium\",\n \"inputType\": \"multiselect\",\n \"placeholder\": \"Select Medium\"\n },\n {\n \"code\": \"gradeLevel\",\n \"visible\": true,\n \"depends\": [\n \"subject\",\n \"topic\"\n ],\n \"editable\": true,\n \"dataType\": \"list\",\n \"renderingHints\": {},\n \"description\": \"Class\",\n \"index\": 7,\n \"label\": \"Class\",\n \"required\": false,\n \"name\": \"Class\",\n \"inputType\": \"multiselect\",\n \"placeholder\": \"Select Class\"\n },\n {\n \"code\": \"subject\",\n \"visible\": true,\n \"depends\": [\n \"topic\"\n ],\n \"editable\": true,\n \"dataType\": \"list\",\n \"renderingHints\": {},\n \"description\": \"\",\n \"index\": 8,\n \"label\": \"Subject\",\n \"required\": false,\n \"name\": \"Subject\",\n \"inputType\": \"multiselect\",\n \"placeholder\": \"Select Subject\"\n }\n ]\n }\n }\n}" }, "url": { "raw": "{{host}}/api/data/v1/form/create", @@ -5930,7 +8785,7 @@ "response": [] }, { - "name": "16 - NewUserOnboarding", + "name": "23 - Create Course Assesment", "request": { "method": "POST", "header": [ @@ -5945,7 +8800,7 @@ ], "body": { "mode": "raw", - "raw": "{\r\n \"request\": {\r\n \"type\": \"newUserOnboarding\",\r\n \"subType\": \"global\",\r\n \"action\": \"onboarding\",\r\n \"component\": \"portal\",\r\n \"framework\": \"*\",\r\n \"data\": {\r\n \"fields\": {\r\n \"shownewUserOnboarding\": \"true\"\r\n }\r\n },\r\n \"rootOrgId\": \"*\"\r\n }\r\n}" + "raw": "{\n \"request\": {\n \"type\": \"content\",\n \"subType\": \"assessment\",\n \"action\": \"create\",\n \"component\": \"*\",\n \"framework\": \"*\",\n \"data\": {\n \"templateName\": \"defaultTemplate\",\n \"action\": \"create\",\n \"fields\": [\n {\n \"code\": \"name\",\n \"visible\": true,\n \"editable\": true,\n \"displayProperty\": \"Editable\",\n \"dataType\": \"text\",\n \"renderingHints\": {\n \"semanticColumnWidth\": \"twelve\"\n },\n \"description\": \"Name\",\n \"index\": 1,\n \"label\": \"Name\",\n \"required\": false,\n \"name\": \"Name\",\n \"inputType\": \"text\",\n \"placeholder\": \"Name\"\n },\n {\n \"code\": \"maxAttempts\",\n \"dataType\": \"text\",\n \"name\": \"Max no of attempts\",\n \"label\": \"Max no of attempts\",\n \"description\": \"Max no of attempts\",\n \"editable\": true,\n \"placeholder\": \"Max no of attempts\",\n \"inputType\": \"number\",\n \"required\": false,\n \"displayProperty\": \"Editable\",\n \"visible\": true,\n \"renderingHints\": {\n \"semanticColumnWidth\": \"six\"\n },\n \"index\": 6\n }\n ]\n },\n \"rootOrgId\": \"*\"\n }\n}" }, "url": { "raw": "{{host}}/api/data/v1/form/create", @@ -5964,7 +8819,7 @@ "response": [] }, { - "name": "16 - GeneralisedResourceBundles", + "name": "24 - Question Filter", "request": { "method": "POST", "header": [ @@ -5979,7 +8834,7 @@ ], "body": { "mode": "raw", - "raw": "{\r\n \"request\": {\r\n \"type\": \"generaliseresourcebundles\",\r\n \"subType\": \"global\",\r\n \"action\": \"list\",\r\n \"component\": \"portal\",\r\n \"framework\": \"*\",\r\n \"data\": {\r\n \"templateName\": \"collectionResourceBundles\",\r\n \"action\": \"list\",\r\n \"fields\": [\r\n {\r\n \"course\": {\r\n \"key\": \"crs\",\r\n \"trackable\": {\r\n \"en\": \"all_labels_en.json\",\r\n \"hi\": \"all_labels_hi.json\",\r\n \"bn\": \"all_labels_bn.json\",\r\n \"kn\": \"all_labels_kn.json\",\r\n \"mr\": \"all_labels_mr.json\",\r\n \"ta\": \"all_labels_ta.json\",\r\n \"te\": \"all_labels_te.json\",\r\n \"ur\": \"all_labels_ur.json\"\r\n },\r\n \"nontrackable\": {\r\n \"en\": \"all_labels_en.json\",\r\n \"hi\": \"all_labels_hi.json\",\r\n \"bn\": \"all_labels_bn.json\",\r\n \"kn\": \"all_labels_kn.json\",\r\n \"mr\": \"all_labels_mr.json\",\r\n \"ta\": \"all_labels_ta.json\",\r\n \"te\": \"all_labels_te.json\",\r\n \"ur\": \"all_labels_ur.json\"\r\n }\r\n },\r\n \"textbook\": {\r\n \"key\": \"tbk\",\r\n \"trackable\": {\r\n \"en\": \"all_labels_en.json\",\r\n \"hi\": \"all_labels_hi.json\",\r\n \"bn\": \"all_labels_bn.json\",\r\n \"kn\": \"all_labels_kn.json\",\r\n \"mr\": \"all_labels_mr.json\",\r\n \"ta\": \"all_labels_ta.json\",\r\n \"te\": \"all_labels_te.json\",\r\n \"ur\": \"all_labels_ur.json\"\r\n },\r\n \"nontrackable\": {\r\n \"en\": \"all_labels_en.json\",\r\n \"hi\": \"all_labels_hi.json\",\r\n \"bn\": \"all_labels_bn.json\",\r\n \"kn\": \"all_labels_kn.json\",\r\n \"mr\": \"all_labels_mr.json\",\r\n \"ta\": \"all_labels_ta.json\",\r\n \"te\": \"all_labels_te.json\",\r\n \"ur\": \"all_labels_ur.json\"\r\n }\r\n },\r\n \"tvclass\": {\r\n \"key\": \"tvc\",\r\n \"trackable\": {\r\n \"en\": \"all_labels_en.json\",\r\n \"hi\": \"all_labels_hi.json\",\r\n \"bn\": \"all_labels_bn.json\",\r\n \"kn\": \"all_labels_kn.json\",\r\n \"mr\": \"all_labels_mr.json\",\r\n \"ta\": \"all_labels_ta.json\",\r\n \"te\": \"all_labels_te.json\",\r\n \"ur\": \"all_labels_ur.json\"\r\n },\r\n \"nontrackable\": {\r\n \"en\": \"all_labels_en.json\",\r\n \"hi\": \"all_labels_hi.json\",\r\n \"bn\": \"all_labels_bn.json\",\r\n \"kn\": \"all_labels_kn.json\",\r\n \"mr\": \"all_labels_mr.json\",\r\n \"ta\": \"all_labels_ta.json\",\r\n \"te\": \"all_labels_te.json\",\r\n \"ur\": \"all_labels_ur.json\"\r\n }\r\n },\r\n \"default\": {\r\n \"key\": \"dflt\",\r\n \"trackable\": {\r\n \"en\": \"all_labels_en.json\",\r\n \"hi\": \"all_labels_hi.json\",\r\n \"bn\": \"all_labels_bn.json\",\r\n \"kn\": \"all_labels_kn.json\",\r\n \"mr\": \"all_labels_mr.json\",\r\n \"ta\": \"all_labels_ta.json\",\r\n \"te\": \"all_labels_te.json\",\r\n \"ur\": \"all_labels_ur.json\"\r\n },\r\n \"nontrackable\": {\r\n \"en\": \"all_labels_en.json\",\r\n \"hi\": \"all_labels_hi.json\",\r\n \"bn\": \"all_labels_bn.json\",\r\n \"kn\": \"all_labels_kn.json\",\r\n \"mr\": \"all_labels_mr.json\",\r\n \"ta\": \"all_labels_ta.json\",\r\n \"te\": \"all_labels_te.json\",\r\n \"ur\": \"all_labels_ur.json\"\r\n }\r\n }\r\n }\r\n ]\r\n },\r\n \"rootOrgId\": \"*\"\r\n }\r\n}" + "raw": "{\n \"request\": {\n \"type\": \"content\",\n \"subtype\": \"questions\",\n \"action\": \"question-filter-view\",\n \"component\": \"*\",\n \"framework\": \"*\",\n \"rootOrgId\":\"*\",\n \"data\": {\n \"templateName\": \"filterMetaDataTemplate\",\n \"action\": \"question-filter-view\",\n \"fields\": [\n {\n \"code\": \"searchText\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"text\",\n \"renderingHints\": {},\n \"name\": \"Search\",\n \"description\": \" by question title\",\n \"index\": 0,\n \"inputType\": \"text\",\n \"label\": \"Search\",\n \"placeholder\": \"Search by question title\",\n \"required\": false\n },\n {\n \"code\": \"level\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"text\",\n \"renderingHints\": {},\n \"description\": \"Add Notes\",\n \"index\": 2,\n \"range\": [\n \"EASY\",\n \"MEDIUM\",\n \"DIFFICULT\"\n ],\n \"label\": \"Difficulty\",\n \"required\": false,\n \"name\": \"level\",\n \"inputType\": \"select\",\n \"placeholder\": \"Select Level\"\n },\n {\n \"code\": \"questionType\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"list\",\n \"renderingHints\": {},\n \"description\": \"Class\",\n \"index\": 3,\n \"range\": [\n \"Multiple Choice Questions\",\n \"Fill in the Blanks\",\n \"Match the Following\"\n ],\n \"label\": \"Question Type\",\n \"required\": false,\n \"name\": \"Question Type\",\n \"inputType\": \"multiselect\",\n \"placeholder\": \"Question Type\"\n },\n {\n \"code\": \"board\",\n \"visible\": true,\n \"depends\": [\n \"medium\",\n \"gradeLevel\",\n \"subject\"\n ],\n \"editable\": true,\n \"displayProperty\": \"Editable\",\n \"dataType\": \"text\",\n \"renderingHints\": {\n \"semanticColumnWidth\": \"four\"\n },\n \"description\": \"Board\",\n \"index\": 4,\n \"label\": \"Board\",\n \"required\": false,\n \"name\": \"Board\",\n \"inputType\": \"select\",\n \"placeholder\": \"Select Board\"\n },\n {\n \"code\": \"medium\",\n \"visible\": true,\n \"depends\": [\n \"gradeLevel\",\n \"subject\"\n ],\n \"editable\": true,\n \"dataType\": \"text\",\n \"renderingHints\": {},\n \"description\": \"\",\n \"index\": 5,\n \"label\": \"Medium\",\n \"required\": false,\n \"name\": \"Medium\",\n \"inputType\": \"select\",\n \"placeholder\": \"Select Medium\"\n },\n {\n \"code\": \"gradeLevel\",\n \"visible\": true,\n \"depends\": [\n \"subject\"\n ],\n \"editable\": true,\n \"dataType\": \"list\",\n \"renderingHints\": {},\n \"description\": \"Class\",\n \"index\": 6,\n \"label\": \"Class\",\n \"required\": false,\n \"name\": \"Class\",\n \"inputType\": \"multiselect\",\n \"placeholder\": \"Select Class\"\n },\n {\n \"code\": \"subject\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"text\",\n \"renderingHints\": {},\n \"name\": \"Subject\",\n \"description\": \"\",\n \"index\": 7,\n \"inputType\": \"select\",\n \"label\": \"Subject\",\n \"placeholder\": \"Select Subject\",\n \"required\": false\n },\n {\n \"code\": \"myQuestions\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"toggle\",\n \"renderingHints\": {},\n \"name\": \"My Questions\",\n \"description\": \"My Questions\",\n \"index\": 9,\n \"inputType\": \"checkbox\",\n \"label\": \"My Questions\",\n \"placeholder\": \"My Questions\",\n \"required\": false\n }\n ]\n }\n }\n}" }, "url": { "raw": "{{host}}/api/data/v1/form/create", @@ -5998,7 +8853,7 @@ "response": [] }, { - "name": "17 - Questionset", + "name": "25 - Create Assesment", "request": { "method": "POST", "header": [ @@ -6013,7 +8868,7 @@ ], "body": { "mode": "raw", - "raw": "{\r\n \"request\": {\r\n \"type\": \"questionset\",\r\n \"subType\": \"editor\",\r\n \"action\": \"display\",\r\n \"component\": \"*\",\r\n \"framework\": \"*\",\r\n \"data\": {\r\n \"templateName\": \"defaultTemplate\",\r\n \"action\": \"display\",\r\n \"fields\": [\r\n {\r\n \"type\": \"questionset\",\r\n \"display\": false\r\n }\r\n ]\r\n },\r\n \"rootOrgId\": \"*\"\r\n }\r\n}" + "raw": "{\n \"request\":{\n \"type\": \"content\",\n \"action\": \"create\",\n \"subType\": \"assessment\",\n \"rootOrgId\": \"*\",\n \"component\": \"portal\",\n \"data\": {\n \"templateName\": \"defaultTemplate\",\n \"action\": \"create\",\n \"fields\": [\n {\n \"code\": \"name\",\n \"visible\": true,\n \"editable\": true,\n \"displayProperty\": \"Editable\",\n \"dataType\": \"text\",\n \"renderingHints\": {\n \"semanticColumnWidth\": \"twelve\"\n },\n \"description\": \"Name\",\n \"index\": 1,\n \"label\": \"Name\",\n \"required\": false,\n \"name\": \"Name\",\n \"inputType\": \"text\",\n \"placeholder\": \"Name\"\n },\n {\n \"code\": \"maxAttempts\",\n \"dataType\": \"text\",\n \"name\": \"Max no of attempts\",\n \"label\": \"Max no of attempts\",\n \"description\": \"Max no of attempts\",\n \"editable\": true,\n \"placeholder\": \"Max no of attempts\",\n \"inputType\": \"number\",\n \"required\": false,\n \"displayProperty\": \"Editable\",\n \"visible\": true,\n \"renderingHints\": {\n \"semanticColumnWidth\": \"six\"\n },\n \"index\": 6\n }\n ]\n }\n }\n}" }, "url": { "raw": "{{host}}/api/data/v1/form/create", @@ -6032,7 +8887,7 @@ "response": [] }, { - "name": "18 - RequestForChanges", + "name": "26 - Certificate Form Create", "request": { "method": "POST", "header": [ @@ -6047,7 +8902,7 @@ ], "body": { "mode": "raw", - "raw": "{\r\n \"request\":\r\n {\r\n \"type\": \"content\",\r\n \"subType\": \"resource\",\r\n \"action\": \"requestforchanges\",\r\n \"component\": \"*\",\r\n \"framework\": \"*\",\r\n \"data\": {\r\n \"templateName\": \"defaultTemplate\",\r\n \"action\": \"requestforchanges\",\r\n \"fields\": [\r\n {\r\n \"otherReason\": \"Other Issue(s) (if there are any other issues, tick this and provide details in the comments box)\",\r\n \"contents\": [\r\n {\r\n \"name\": \"Appropriateness\",\r\n \"checkList\": [\r\n \"Incorrect Board, Grade, Subject or Medium\"\r\n ]\r\n },\r\n {\r\n \"name\": \"Content details\",\r\n \"checkList\": [\r\n \"Inappropriate tags such as Resource Type or Concepts\",\r\n \"Irrelevant Keywords\"\r\n ]\r\n },\r\n {\r\n \"name\": \"Usability\",\r\n \"checkList\": [\r\n \"Content is NOT playing correctly\",\r\n \"Spelling mistakes found in text used\"\r\n ]\r\n }\r\n ],\r\n \"title\": \"Please tick the reasons for requesting changes and provide detailed comments:\"\r\n }\r\n ]\r\n },\r\n \"rootOrgId\": \"*\"\r\n }\r\n}" + "raw": "{\n \"request\": {\n \"type\": \"certificate\",\n \"subType\": \"course\",\n \"action\": \"certificatecreate\",\n \"component\": \"portal\",\n \"framework\": \"*\",\n \"rootOrgId\": \"*\",\n \"data\": {\n \"enableSVGEditor\": false\n }\n }\n}" }, "url": { "raw": "{{host}}/api/data/v1/form/create", @@ -6066,7 +8921,7 @@ "response": [] }, { - "name": "19 - AdminFramework", + "name": "27 - Question Create", "request": { "method": "POST", "header": [ @@ -6081,7 +8936,7 @@ ], "body": { "mode": "raw", - "raw": "{\r\n \"request\":\r\n{\r\n \"type\": \"user\",\r\n \"subType\": \"admin_framework\",\r\n \"action\": \"create\",\r\n \"component\": \"*\",\r\n \"framework\": \"*\",\r\n \"data\": {\r\n \"templateName\": \"defaultTemplate\",\r\n \"action\": \"create\",\r\n \"fields\": [\r\n {\r\n \"code\": \"board\",\r\n \"dataType\": \"text\",\r\n \"name\": \"Board\",\r\n \"label\": \"Board\",\r\n \"description\": \"Education Board (Like MP Board, NCERT, etc)\",\r\n \"editable\": true,\r\n \"inputType\": \"multi-select\",\r\n \"required\": true,\r\n \"displayProperty\": \"Editable\",\r\n \"visible\": true,\r\n \"renderingHints\": {\r\n \"semanticColumnWidth\": \"four\"\r\n },\r\n \"index\": 1\r\n },\r\n {\r\n \"code\": \"medium\",\r\n \"dataType\": \"text\",\r\n \"name\": \"Medium\",\r\n \"label\": \"Medium\",\r\n \"description\": \"Medium of instruction\",\r\n \"editable\": true,\r\n \"inputType\": \"multi-select\",\r\n \"required\": false,\r\n \"displayProperty\": \"Editable\",\r\n \"visible\": true,\r\n \"renderingHints\": {\r\n \"semanticColumnWidth\": \"four\"\r\n },\r\n \"index\": 2\r\n },\r\n {\r\n \"code\": \"gradeLevel\",\r\n \"dataType\": \"text\",\r\n \"name\": \"Class\",\r\n \"label\": \"Class\",\r\n \"description\": \"Grade\",\r\n \"editable\": true,\r\n \"inputType\": \"multi-select\",\r\n \"required\": false,\r\n \"displayProperty\": \"Editable\",\r\n \"visible\": true,\r\n \"renderingHints\": {\r\n \"semanticColumnWidth\": \"four\"\r\n },\r\n \"index\": 3\r\n },\r\n {\r\n \"code\": \"subject\",\r\n \"dataType\": \"text\",\r\n \"name\": \"Subject\",\r\n \"label\": \"Subject\",\r\n \"description\": \"Subject of the Content to use to teach\",\r\n \"editable\": true,\r\n \"inputType\": \"multi-select\",\r\n \"required\": false,\r\n \"displayProperty\": \"Editable\",\r\n \"visible\": false,\r\n \"renderingHints\": {\r\n \"semanticColumnWidth\": \"four\"\r\n },\r\n \"index\": 4\r\n }\r\n ]\r\n },\r\n \"rootOrgId\": \"*\"\r\n }\r\n}" + "raw": "{\n \"request\": {\n \"action\": \"question-meta-save\",\n \"subType\": \"questions\",\n \"framework\": \"*\",\n \"rootOrgId\": \"*\",\n \"type\": \"content\",\n \"popup\": false,\n \"metadata\": {\n \"max_score\": 1,\n \"isShuffleOption\": false,\n \"isPartialScore\": true,\n \"evalUnordered\": false,\n \"templateType\": \"Horizontal\",\n \"name\": \"____ is my country\\n\",\n \"title\": \"____ is my country\\n\"\n },\n \"data\": {\n \"templateName\": \"questionMetaDataTemplate\",\n \"action\": \"question-meta-save\",\n \"fields\": [\n {\n \"code\": \"name\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"text\",\n \"renderingHints\": {},\n \"name\": \"Title\",\n \"description\": \"Title of the question\",\n \"index\": 0,\n \"inputType\": \"text\",\n \"label\": \"Title\",\n \"placeholder\": \"Enter the Title\",\n \"required\": true\n },\n {\n \"code\": \"description\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"text\",\n \"renderingHints\": {},\n \"name\": \"Description\",\n \"description\": \"Brief description\",\n \"index\": 1,\n \"inputType\": \"textarea\",\n \"label\": \"Description\",\n \"placeholder\": \"Enter the Description\",\n \"required\": false\n },\n {\n \"code\": \"board\",\n \"visible\": true,\n \"depends\": [\n \"medium\",\n \"gradeLevel\",\n \"subject\",\n \"topic\"\n ],\n \"editable\": true,\n \"dataType\": \"text\",\n \"renderingHints\": {},\n \"description\": \"board\",\n \"index\": 2,\n \"label\": \"Board/Syllabus\",\n \"required\": true,\n \"name\": \"Board/Syllabus\",\n \"inputType\": \"select\",\n \"placeholder\": \"Select Board/Syllabus\"\n },\n {\n \"code\": \"medium\",\n \"visible\": true,\n \"depends\": [\n \"gradeLevel\",\n \"subject\",\n \"topic\"\n ],\n \"editable\": true,\n \"dataType\": \"text\",\n \"renderingHints\": {},\n \"description\": \"\",\n \"index\": 3,\n \"label\": \"Medium\",\n \"required\": true,\n \"name\": \"medium\",\n \"inputType\": \"select\",\n \"placeholder\": \"Select Medium\"\n },\n {\n \"code\": \"gradeLevel\",\n \"visible\": true,\n \"depends\": [\n \"subject\",\n \"topic\"\n ],\n \"editable\": true,\n \"dataType\": \"list\",\n \"renderingHints\": {},\n \"description\": \"Class\",\n \"index\": 4,\n \"label\": \"Grade Level\",\n \"required\": true,\n \"name\": \"Class\",\n \"inputType\": \"multiselect\",\n \"placeholder\": \"Select Grade\"\n },\n {\n \"code\": \"subject\",\n \"visible\": true,\n \"depends\": [\n \"topic\"\n ],\n \"editable\": true,\n \"dataType\": \"text\",\n \"renderingHints\": {},\n \"description\": \"Add subjects\",\n \"index\": 5,\n \"label\": \"Subject\",\n \"required\": true,\n \"name\": \"subject\",\n \"inputType\": \"select\",\n \"placeholder\": \"Select Subject\"\n },\n {\n \"code\": \"qlevel\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"text\",\n \"renderingHints\": {},\n \"description\": \"Add Notes\",\n \"index\": 7,\n \"range\": [\n \"EASY\",\n \"MEDIUM\",\n \"DIFFICULT\"\n ],\n \"label\": \"Level\",\n \"required\": true,\n \"name\": \"qlevel\",\n \"inputType\": \"select\",\n \"placeholder\": \"Select Level\"\n },\n {\n \"code\": \"max_score\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"number\",\n \"renderingHints\": {},\n \"description\": \"\",\n \"index\": 8,\n \"label\": \"Max Score\",\n \"required\": true,\n \"name\": \"max_score\",\n \"inputType\": \"number\",\n \"placeholder\": \"Enter the Max Score\",\n \"validation\": [\n {\n \"type\": \"min\",\n \"message\": \"\",\n \"value\": \"1\"\n }\n ]\n }\n ]\n }\n }\n}" }, "url": { "raw": "{{host}}/api/data/v1/form/create", @@ -6100,7 +8955,7 @@ "response": [] }, { - "name": "20 - profileConfig_v2 KA", + "name": "28 - Lesson Plan Resource Filters", "request": { "method": "POST", "header": [ @@ -6115,7 +8970,12 @@ ], "body": { "mode": "raw", - "raw": "{\r\n \"request\":\r\n{\r\n \"type\": \"user\",\r\n \"subType\": \"admin_framework\",\r\n \"action\": \"create\",\r\n \"component\": \"*\",\r\n \"framework\": \"*\",\r\n \"data\": {\r\n \"templateName\": \"defaultTemplate\",\r\n \"action\": \"create\",\r\n \"fields\": [\r\n {\r\n \"code\": \"board\",\r\n \"dataType\": \"text\",\r\n \"name\": \"Board\",\r\n \"label\": \"Board\",\r\n \"description\": \"Education Board (Like MP Board, NCERT, etc)\",\r\n \"editable\": true,\r\n \"inputType\": \"multi-select\",\r\n \"required\": true,\r\n \"displayProperty\": \"Editable\",\r\n \"visible\": true,\r\n \"renderingHints\": {\r\n \"semanticColumnWidth\": \"four\"\r\n },\r\n \"index\": 1\r\n },\r\n {\r\n \"code\": \"medium\",\r\n \"dataType\": \"text\",\r\n \"name\": \"Medium\",\r\n \"label\": \"Medium\",\r\n \"description\": \"Medium of instruction\",\r\n \"editable\": true,\r\n \"inputType\": \"multi-select\",\r\n \"required\": false,\r\n \"displayProperty\": \"Editable\",\r\n \"visible\": true,\r\n \"renderingHints\": {\r\n \"semanticColumnWidth\": \"four\"\r\n },\r\n \"index\": 2\r\n },\r\n {\r\n \"code\": \"gradeLevel\",\r\n \"dataType\": \"text\",\r\n \"name\": \"Class\",\r\n \"label\": \"Class\",\r\n \"description\": \"Grade\",\r\n \"editable\": true,\r\n \"inputType\": \"multi-select\",\r\n \"required\": false,\r\n \"displayProperty\": \"Editable\",\r\n \"visible\": true,\r\n \"renderingHints\": {\r\n \"semanticColumnWidth\": \"four\"\r\n },\r\n \"index\": 3\r\n },\r\n {\r\n \"code\": \"subject\",\r\n \"dataType\": \"text\",\r\n \"name\": \"Subject\",\r\n \"label\": \"Subject\",\r\n \"description\": \"Subject of the Content to use to teach\",\r\n \"editable\": true,\r\n \"inputType\": \"multi-select\",\r\n \"required\": false,\r\n \"displayProperty\": \"Editable\",\r\n \"visible\": false,\r\n \"renderingHints\": {\r\n \"semanticColumnWidth\": \"four\"\r\n },\r\n \"index\": 4\r\n }\r\n ]\r\n },\r\n \"rootOrgId\": \"*\"\r\n }\r\n}" + "raw": "{\n \"request\": {\n \"type\": \"content\",\n \"subType\": \"lessonplan\",\n \"action\": \"resource-filters\",\n \"component\": \"*\",\n \"framework\": \"*\",\n \"data\": {\n \"templateName\": \"resourceFilterTemplate\",\n \"action\": \"resource-filters\",\n \"fields\": [\n {\n \"code\": \"contentType\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"list\",\n \"renderingHints\": {},\n \"description\": \"Category\",\n \"index\": 1,\n \"range\": [\n \"Resource\",\n \"Collection\",\n \"Content\"\n ],\n \"label\": \"contentType\",\n \"required\": false,\n \"name\": \"contentType\",\n \"inputType\": \"multiselect\",\n \"placeholder\": \"Select contentType\"\n },\n {\n \"code\": \"board\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"list\",\n \"renderingHints\": {},\n \"name\": \"Curriculum\",\n \"description\": \"Curriculum\",\n \"index\": 2,\n \"inputType\": \"multiselect\",\n \"label\": \"Curriculum\",\n \"placeholder\": \"Select Curriculum\",\n \"required\": false\n },\n {\n \"code\": \"gradeLevel\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"list\",\n \"renderingHints\": {},\n \"name\": \"Class\",\n \"description\": \"Class\",\n \"index\": 3,\n \"inputType\": \"multiselect\",\n \"label\": \"Class\",\n \"placeholder\": \"Select Class\",\n \"required\": false\n },\n {\n \"code\": \"subject\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"list\",\n \"renderingHints\": {},\n \"name\": \"Subject\",\n \"description\": \"\",\n \"index\": 4,\n \"inputType\": \"multiselect\",\n \"label\": \"Subject\",\n \"placeholder\": \"Select Subject\",\n \"required\": false\n },\n {\n \"code\": \"medium\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"list\",\n \"renderingHints\": {},\n \"name\": \"medium\",\n \"description\": \"\",\n \"index\": 5,\n \"inputType\": \"multiselect\",\n \"label\": \"Medium\",\n \"placeholder\": \"Select Medium\",\n \"required\": false\n },\n {\n \"code\": \"topic\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"list\",\n \"renderingHints\": {},\n \"name\": \"Topic\",\n \"description\": \"Choose a Topics\",\n \"index\": 6,\n \"inputType\": \"topicselector\",\n \"label\": \"Topics\",\n \"placeholder\": \"Choose Topics\",\n \"required\": false\n }\n ]\n },\n \"rootOrgId\": \"*\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } }, "url": { "raw": "{{host}}/api/data/v1/form/create", @@ -6134,7 +8994,7 @@ "response": [] }, { - "name": "21 - Content Feedback", + "name": "29 - Lesson Plan Publish", "request": { "method": "POST", "header": [ @@ -6144,12 +9004,17 @@ }, { "key": "Authorization", - "value": "{{kong_api_key}}" + "value": "Bearer {{apikey}}" } ], "body": { "mode": "raw", - "raw": "{\n \"request\":{\n \"type\": \"contentfeedback\",\n \"action\": \"get\",\n \"subType\": \"en\",\n \"rootOrgId\": \"{{rootOrgId}}\",\n \"framework\": \"{{framework}}\",\n \"component\": \"portal\",\n \"data\": {\n \"templateName\": \"contentfeedback\",\n \"action\": \"get\",\n \"fields\": [\n {\n \"1\": {\n \"question\": \"Would you like to tell us more?\",\n \"options\": [\n {\n \"idx\": 1,\n \"value\": \"Content is inaccurate\",\n \"key\": \"CONTENT_INACCURATE\"\n },\n {\n \"idx\": 2,\n \"value\": \"Content is not displayed properly\",\n \"key\": \"CONTENT_NOT_DISPLAYED\"\n },\n {\n \"idx\": 3,\n \"value\": \"Content is not relevant\",\n \"key\": \"CONTENT_NOT_RELEVANT\"\n },\n {\n \"idx\": 4,\n \"value\": \"Did not help me understand the concept\",\n \"key\": \"DIDNT_UNDERSTAND_CONCEPT\"\n },\n {\n \"idx\": 6,\n \"value\": \"There is a technical problem\",\n \"key\": \"TECHNICAL_PROBLEM\"\n },\n {\n \"idx\": 6,\n \"value\": \"Content is insufficient or not there\",\n \"key\": \"INSUFFICIENT_CONTENT\"\n },\n {\n \"idx\": 8,\n \"value\": \"Other\",\n \"key\": \"OTHER\"\n }\n ],\n \"ratingText\": \"Very Bad\"\n },\n \"2\": {\n \"question\": \"Would you like to tell us more?\",\n \"options\": [\n {\n \"idx\": 1,\n \"value\": \"Content is inaccurate\",\n \"key\": \"CONTENT_INACCURATE\"\n },\n {\n \"idx\": 2,\n \"value\": \"Content is not displayed properly\",\n \"key\": \"CONTENT_NOT_DISPLAYED\"\n },\n {\n \"idx\": 3,\n \"value\": \"Content is not relevant\",\n \"key\": \"CONTENT_NOT_RELEVANT\"\n },\n {\n \"idx\": 4,\n \"value\": \"Did not help me understand the concept\",\n \"key\": \"DIDNT_UNDERSTAND_CONCEPT\"\n },\n {\n \"idx\": 6,\n \"value\": \"There is a technical problem\",\n \"key\": \"TECHNICAL_PROBLEM\"\n },\n {\n \"idx\": 6,\n \"value\": \"Content is insufficient or not there\",\n \"key\": \"INSUFFICIENT_CONTENT\"\n },\n {\n \"idx\": 8,\n \"value\": \"Other\",\n \"key\": \"OTHER\"\n }\n ],\n \"ratingText\": \"Bad\"\n },\n \"3\": {\n \"question\": \"Would you like to tell us more?\",\n \"options\": [\n {\n \"idx\": 1,\n \"value\": \"Content is inaccurate\",\n \"key\": \"CONTENT_INACCURATE\"\n },\n {\n \"idx\": 2,\n \"value\": \"Content is not displayed properly\",\n \"key\": \"CONTENT_NOT_DISPLAYED\"\n },\n {\n \"idx\": 3,\n \"value\": \"Content is not relevant\",\n \"key\": \"CONTENT_NOT_RELEVANT\"\n },\n {\n \"idx\": 4,\n \"value\": \"Did not help me understand the concept\",\n \"key\": \"DIDNT_UNDERSTAND_CONCEPT\"\n },\n {\n \"idx\": 6,\n \"value\": \"There is a technical problem\",\n \"key\": \"TECHNICAL_PROBLEM\"\n },\n {\n \"idx\": 6,\n \"value\": \"Content is insufficient or not there\",\n \"key\": \"INSUFFICIENT_CONTENT\"\n },\n {\n \"idx\": 8,\n \"value\": \"Other\",\n \"key\": \"OTHER\"\n }\n ],\n \"ratingText\": \"Average\"\n },\n \"4\": {\n \"question\": \"Would you like to tell us more?\",\n \"options\": [\n {\n \"idx\": 1,\n \"value\": \"Content is inaccurate\",\n \"key\": \"CONTENT_INACCURATE\"\n },\n {\n \"idx\": 2,\n \"value\": \"Content is not displayed properly\",\n \"key\": \"CONTENT_NOT_DISPLAYED\"\n },\n {\n \"idx\": 3,\n \"value\": \"Content is not relevant\",\n \"key\": \"CONTENT_NOT_RELEVANT\"\n },\n {\n \"idx\": 4,\n \"value\": \"Did not help me understand the concept\",\n \"key\": \"DIDNT_UNDERSTAND_CONCEPT\"\n },\n {\n \"idx\": 6,\n \"value\": \"There is a technical problem\",\n \"key\": \"TECHNICAL_PROBLEM\"\n },\n {\n \"idx\": 6,\n \"value\": \"Content is insufficient or not there\",\n \"key\": \"INSUFFICIENT_CONTENT\"\n },\n {\n \"idx\": 8,\n \"value\": \"Other\",\n \"key\": \"OTHER\"\n }\n ],\n \"ratingText\": \"Good\"\n },\n \"5\": {\n \"question\": \"Would you like to tell us more?\",\n \"options\": [\n {\n \"idx\": 1,\n \"value\": \"Understood the concept well\",\n \"key\": \"UNDERSTOOD_CONCEPT\"\n },\n {\n \"idx\": 2,\n \"value\": \"Helped me prepare for my exam\",\n \"key\": \"HELPED_IN_EXAM\"\n },\n {\n \"idx\": 3,\n \"value\": \"Learnt something new\",\n \"key\": \"LEARNT_SOMETHING\"\n },\n {\n \"idx\": 4,\n \"value\": \"Helped me teach my class\",\n \"key\": \"HELPED_IN_CLASS\"\n },\n {\n \"idx\": 6,\n \"value\": \"Content is interesting and fun\",\n \"key\": \"CONTENT_INTERESTING\"\n },\n {\n \"idx\": 7,\n \"value\": \"Other\",\n \"key\": \"OTHER\"\n }\n ],\n \"ratingText\": \"Excellent\"\n }\n }\n ]\n }\n }\n}" + "raw": "{\n \"request\": {\n \"type\": \"content\",\n \"subType\": \"lessonplan\",\n \"action\": \"publish\",\n \"component\": \"*\",\n \"framework\": \"*\",\n \"data\": {\n \"templateName\": \"defaultTemplate\",\n \"action\": \"publish\",\n \"fields\": [\n [\n {\n \"contents\": [\n {\n \"name\": \"Appropriateness\",\n \"checkList\": [\n \"No Hate speech, Abuse, Violence, Profanity\",\n \"No Sexual content, Nudity or Vulgarity\",\n \"No Discrimination or Defamation\",\n \"Is suitable for children\"\n ]\n },\n {\n \"name\": \"Content details\",\n \"checkList\": [\n \"Appropriate Title, Description\",\n \"Correct Board, Grade, Subject, Medium\",\n \"Appropriate tags such as Resource Type, Concepts\",\n \"Relevant Keywords\"\n ]\n },\n {\n \"name\": \"Usability\",\n \"checkList\": [\n \"Content plays correctly\",\n \"Can see the content clearly on Desktop and App\",\n \"Audio (if any) is clear and easy to understand\",\n \"No Spelling mistakes in the text\",\n \"Language is simple to understand\"\n ]\n }\n ],\n \"title\": \"Please confirm that ALL the following items are verified (by ticking the check-boxes) before you can publish:\"\n }\n ]\n ]\n },\n \"rootOrgId\": \"*\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } }, "url": { "raw": "{{host}}/api/data/v1/form/create", @@ -6168,7 +9033,7 @@ "response": [] }, { - "name": "22 - Content Save", + "name": "30- Lesson Plan Request For Changes", "request": { "method": "POST", "header": [ @@ -6183,7 +9048,12 @@ ], "body": { "mode": "raw", - "raw": "{\n \"request\": {\n \"action\": \"save\",\n \"subType\": \"resource\",\n \"framework\": \"*\",\n \"rootOrgId\": \"*\",\n \"type\": \"content\",\n \"popup\": true,\n \"editMode\": true,\n \"data\": {\n \"templateName\": \"defaultTemplate\",\n \"action\": \"save\",\n \"fields\": [\n {\n \"code\": \"appicon\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"url\",\n \"renderingHints\": {},\n \"name\": \"App Icon\",\n \"description\": \"App Icon\",\n \"index\": 1,\n \"inputType\": \"file\",\n \"label\": \"Icon\",\n \"placeholder\": \"App Icon\",\n \"required\": false\n },\n {\n \"code\": \"name\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"text\",\n \"renderingHints\": {},\n \"name\": \"Title\",\n \"description\": \"Title of the content\",\n \"index\": 2,\n \"inputType\": \"text\",\n \"label\": \"Title\",\n \"placeholder\": \"Enter Title For Book\",\n \"required\": true\n },\n {\n \"code\": \"description\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"text\",\n \"renderingHints\": {},\n \"name\": \"Description\",\n \"description\": \"Brief description\",\n \"index\": 3,\n \"inputType\": \"textarea\",\n \"label\": \"Description\",\n \"placeholder\": \"Brief description about the Book\",\n \"required\": false\n },\n {\n \"code\": \"board\",\n \"visible\": true,\n \"depends\": [\n \"medium\",\n \"gradeLevel\",\n \"subject\",\n \"topic\"\n ],\n \"editable\": true,\n \"dataType\": \"text\",\n \"renderingHints\": {},\n \"description\": \"Board\",\n \"index\": 5,\n \"label\": \"Board/Syllabus\",\n \"required\": false,\n \"name\": \"Board/Syllabus\",\n \"inputType\": \"select\",\n \"placeholder\": \"Select Board/Syllabus\"\n },\n {\n \"code\": \"medium\",\n \"visible\": true,\n \"depends\": [\n \"gradeLevel\",\n \"subject\",\n \"topic\"\n ],\n \"editable\": true,\n \"dataType\": \"list\",\n \"renderingHints\": {},\n \"description\": \"\",\n \"index\": 6,\n \"label\": \"Medium\",\n \"required\": false,\n \"name\": \"medium\",\n \"inputType\": \"multiselect\",\n \"placeholder\": \"Select Medium\"\n },\n {\n \"code\": \"gradeLevel\",\n \"visible\": true,\n \"depends\": [\n \"subject\",\n \"topic\"\n ],\n \"editable\": true,\n \"dataType\": \"list\",\n \"renderingHints\": {},\n \"description\": \"Class\",\n \"index\": 7,\n \"label\": \"Class\",\n \"required\": false,\n \"name\": \"Class\",\n \"inputType\": \"multiselect\",\n \"placeholder\": \"Select Class\"\n },\n {\n \"code\": \"subject\",\n \"visible\": true,\n \"depends\": [\n \"topic\"\n ],\n \"editable\": true,\n \"dataType\": \"list\",\n \"renderingHints\": {},\n \"description\": \"\",\n \"index\": 8,\n \"label\": \"Subject\",\n \"required\": false,\n \"name\": \"Subject\",\n \"inputType\": \"multiselect\",\n \"placeholder\": \"Select Subject\"\n }\n ]\n }\n }\n}" + "raw": "{\n \"request\": {\n \"type\": \"content\",\n \"subType\": \"lessonplan\",\n \"action\": \"requestforchanges\",\n \"component\": \"*\",\n \"framework\": \"*\",\n \"data\": {\n \"templateName\": \"defaultTemplate\",\n \"action\": \"requestforchanges\",\n \"fields\": [\n {\n \"otherReason\": \"Other Issue(s) (if there are any other issues, tick this and provide details in the comments box)\",\n \"contents\": [\n {\n \"name\": \"Appropriateness\",\n \"checkList\": [\n \"Has Hate speech, Abuse, Violence, Profanity\",\n \"Has Sexual content, Nudity or Vulgarity\",\n \"Has Discriminatory or Defamatory content\",\n \"Is not suitable for children\"\n ]\n },\n {\n \"name\": \"Content details\",\n \"checkList\": [\n \"Inappropriate Title or Description\",\n \"Incorrect Board, Grade, Subject or Medium\",\n \"Inappropriate tags such as Resource Type or Concepts\",\n \"Irrelevant Keywords\"\n ]\n },\n {\n \"name\": \"Usability\",\n \"checkList\": [\n \"Content is NOT playing correctly\",\n \"CANNOT see the content clearly on Desktop and App\",\n \"Audio is NOT clear or NOT easy to understand\",\n \"Spelling mistakes found in text used\",\n \"Language is NOT simple to understand\"\n ]\n }\n ],\n \"title\": \"Please tick the reasons for requesting changes and provide detailed comments:\"\n }\n ]\n },\n \"rootOrgId\": \"*\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } }, "url": { "raw": "{{host}}/api/data/v1/form/create", @@ -6202,7 +9072,7 @@ "response": [] }, { - "name": "23 - Create Course Assesment", + "name": "31- Lesson Plan Review", "request": { "method": "POST", "header": [ @@ -6212,16 +9082,20 @@ }, { "key": "Authorization", - "value": "Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJhcGlfYWRtaW4ifQ.R0dE7mmX95ohjboVTdmqMJUKn9haHF7GKoDGtzK8bMI" + "value": "Bearer {{apikey}}" } ], "body": { "mode": "raw", - "raw": "{\n \"request\": {\n \"type\": \"content\",\n \"subType\": \"assessment\",\n \"action\": \"create\",\n \"component\": \"*\",\n \"framework\": \"*\",\n \"data\": {\n \"templateName\": \"defaultTemplate\",\n \"action\": \"create\",\n \"fields\": [\n {\n \"code\": \"name\",\n \"visible\": true,\n \"editable\": true,\n \"displayProperty\": \"Editable\",\n \"dataType\": \"text\",\n \"renderingHints\": {\n \"semanticColumnWidth\": \"twelve\"\n },\n \"description\": \"Name\",\n \"index\": 1,\n \"label\": \"Name\",\n \"required\": false,\n \"name\": \"Name\",\n \"inputType\": \"text\",\n \"placeholder\": \"Name\"\n },\n {\n \"code\": \"maxAttempts\",\n \"dataType\": \"text\",\n \"name\": \"Max no of attempts\",\n \"label\": \"Max no of attempts\",\n \"description\": \"Max no of attempts\",\n \"editable\": true,\n \"placeholder\": \"Max no of attempts\",\n \"inputType\": \"number\",\n \"required\": false,\n \"displayProperty\": \"Editable\",\n \"visible\": true,\n \"renderingHints\": {\n \"semanticColumnWidth\": \"six\"\n },\n \"index\": 6\n }\n ]\n },\n \"rootOrgId\": \"*\"\n }\n}" + "raw": "{\n \"request\": {\n \"type\": \"content\",\n \"subType\": \"lessonplan\",\n \"action\": \"review\",\n \"component\": \"*\",\n \"framework\": \"*\",\n \"data\": {\n \"templateName\": \"defaultTemplate\",\n \"action\": \"review\",\n \"fields\": [\n {\n \"code\": \"primaryCategory\",\n \"dataType\": \"text\",\n \"description\": \"Collection Type\",\n \"editable\": false,\n \"index\": 0,\n \"inputType\": \"text\",\n \"label\": \"Collection Type\",\n \"name\": \"Collection Type\",\n \"placeholder\": \"\",\n \"required\": true,\n \"visible\": true\n },\n {\n \"code\": \"additionalCategories\",\n \"dataType\": \"list\",\n \"description\": \"Additonal Category of the Content\",\n \"editable\": true,\n \"index\": 1,\n \"inputType\": \"multiselect\",\n \"label\": \"Additional Category\",\n \"name\": \"Additional Category\",\n \"placeholder\": \"Select Additional Category\",\n \"renderingHints\": {},\n \"range\": [\n \"Textbook\",\n \"Lesson Plan\"\n ],\n \"required\": false,\n \"visible\": true\n },\n {\n \"code\": \"name\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"text\",\n \"renderingHints\": {},\n \"name\": \"Name\",\n \"description\": \"Name of the content\",\n \"inputType\": \"text\",\n \"label\": \"Name\",\n \"placeholder\": \"Name\",\n \"required\": true,\n \"validation\": [\n {\n \"type\": \"max\",\n \"message\": \"Input is Exceded\",\n \"value\": \"120\"\n }\n ]\n },\n {\n \"code\": \"description\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"text\",\n \"renderingHints\": {},\n \"name\": \"Description\",\n \"description\": \"Brief description\",\n \"inputType\": \"textarea\",\n \"label\": \"Description\",\n \"placeholder\": \"Description\",\n \"required\": false,\n \"validation\": [\n {\n \"type\": \"max\",\n \"message\": \"Input is Exceded\",\n \"value\": \"1000\"\n }\n ]\n },\n {\n \"code\": \"keywords\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"list\",\n \"name\": \"Keywords\",\n \"description\": \"Keywords for the content\",\n \"inputType\": \"keywordsuggestion\",\n \"label\": \"keywords\",\n \"placeholder\": \"Enter Keywords\",\n \"required\": false\n },\n {\n \"code\": \"appicon\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"url\",\n \"renderingHints\": {},\n \"name\": \"App Icon\",\n \"description\": \"App Icon\",\n \"index\": 6,\n \"inputType\": \"file\",\n \"label\": \"Icon\",\n \"placeholder\": \"App Icon\",\n \"required\": true\n },\n {\n \"code\": \"board\",\n \"visible\": true,\n \"depends\": [\n \"gradeLevel\",\n \"medium\",\n \"subject\",\n \"topic\"\n ],\n \"editable\": true,\n \"dataType\": \"text\",\n \"renderingHints\": {},\n \"description\": \"Board\",\n \"index\": 0,\n \"label\": \"Board/Syllabus\",\n \"required\": true,\n \"name\": \"Board/Syllabus\",\n \"inputType\": \"select\",\n \"placeholder\": \"Select Board/Syllabus\"\n },\n {\n \"code\": \"medium\",\n \"visible\": true,\n \"depends\": [\n \"gradeLevel\",\n \"subject\",\n \"topic\"\n ],\n \"editable\": true,\n \"dataType\": \"list\",\n \"renderingHints\": {},\n \"description\": \"\",\n \"index\": 1,\n \"label\": \"medium\",\n \"required\": true,\n \"name\": \"medium\",\n \"inputType\": \"multiselect\",\n \"placeholder\": \"Select Medium\"\n },\n {\n \"code\": \"gradeLevel\",\n \"visible\": true,\n \"depends\": [\n \"subject\",\n \"topic\"\n ],\n \"editable\": true,\n \"dataType\": \"list\",\n \"renderingHints\": {},\n \"description\": \"Class\",\n \"index\": 2,\n \"label\": \"Class\",\n \"required\": true,\n \"name\": \"Class\",\n \"inputType\": \"multiselect\",\n \"placeholder\": \"Select Class\"\n },\n {\n \"code\": \"subject\",\n \"visible\": true,\n \"depends\": [\n \"topic\"\n ],\n \"editable\": true,\n \"dataType\": \"list\",\n \"renderingHints\": {},\n \"description\": \"\",\n \"index\": 3,\n \"label\": \"Subject\",\n \"required\": true,\n \"name\": \"Subject\",\n \"inputType\": \"multiselect\",\n \"placeholder\": \"Select Subject\"\n },\n {\n \"code\": \"topic\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"list\",\n \"renderingHints\": {},\n \"name\": \"Topic\",\n \"description\": \"Choose a Topics\",\n \"index\": 8,\n \"inputType\": \"topicselector\",\n \"label\": \"Topics\",\n \"placeholder\": \"Choose Topics\",\n \"required\": false\n },\n {\n \"code\": \"notes\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"text\",\n \"renderingHints\": {},\n \"name\": \"learningObjective\",\n \"description\": \"Add Notes\",\n \"index\": 4,\n \"inputType\": \"text\",\n \"label\": \"Notes to teacher\",\n \"placeholder\": \"Add Notes\",\n \"required\": false\n },\n {\n \"code\": \"learningObjective\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"list\",\n \"renderingHints\": {},\n \"name\": \"learningObjective\",\n \"description\": \"Brief desciption about learning objective\",\n \"index\": 5,\n \"inputType\": \"text\",\n \"label\": \"Learning objective\",\n \"placeholder\": \"Brief desciption about learning objective\",\n \"required\": false\n },\n {\n \"code\": \"duration\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"text\",\n \"renderingHints\": {},\n \"name\": \"duration\",\n \"description\": \"Duration of Lesson Plan\",\n \"index\": 7,\n \"inputType\": \"number\",\n \"label\": \"Duration\",\n \"placeholder\": \"In minutes\",\n \"required\": false\n },\n {\n \"code\": \"year\",\n \"visible\": true,\n \"editable\": false,\n \"dataType\": \"text\",\n \"renderingHints\": {},\n \"name\": \"Year\",\n \"description\": \"\",\n \"index\": 9,\n \"inputType\": \"select\",\n \"label\": \"Year\",\n \"placeholder\": \"Select Year\",\n \"required\": true\n },\n {\n \"code\": \"author\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"text\",\n \"renderingHints\": {},\n \"name\": \"Author\",\n \"description\": \"Original Author\",\n \"index\": 12,\n \"inputType\": \"text\",\n \"label\": \"Original Author\",\n \"placeholder\": \"Author\",\n \"required\": false\n },\n {\n \"code\": \"attributions\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"list\",\n \"renderingHints\": {},\n \"name\": \"attribution\",\n \"description\": \"Attributions\",\n \"index\": 13,\n \"inputType\": \"text\",\n \"label\": \"Attributions\",\n \"placeholder\": \"Attributions\",\n \"required\": false\n },\n {\n \"code\": \"copyright\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"text\",\n \"renderingHints\": {},\n \"name\": \"Copyright\",\n \"description\": \"Copyright\",\n \"index\": 14,\n \"inputType\": \"text\",\n \"label\": \"Copyright\",\n \"placeholder\": \"Copyright\",\n \"required\": false\n },\n {\n \"code\": \"copyrightYear\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"number\",\n \"renderingHints\": {},\n \"description\": \"Year of Creation\",\n \"index\": 15,\n \"label\": \"Year of Creation\",\n \"required\": true,\n \"name\": \"Year of Creation\",\n \"inputType\": \"number\",\n \"placeholder\": \"Enter Year of Creation\",\n \"validation\": [\n {\n \"type\": \"min\",\n \"message\": \"Maximum length of the year should be 4\",\n \"value\": \"4\"\n },\n {\n \"type\": \"max\",\n \"message\": \"Minimum length of the year should be 4\",\n \"value\": \"4\"\n }\n ]\n },\n {\n \"code\": \"license\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"text\",\n \"renderingHints\": {},\n \"name\": \"license\",\n \"description\": \"License of the content\",\n \"index\": 16,\n \"inputType\": \"licenses\",\n \"label\": \"license\",\n \"placeholder\": \"license\",\n \"required\": true\n },\n {\n \"code\": \"licenseterms\",\n \"visible\": true,\n \"editable\": true,\n \"defaultValue\": \"By creating any type of content (resources, books, courses etc.) on DIKSHA, you consent to publish it under the Creative Commons License Framework. Please choose the applicable creative commons license you wish to apply to your content.\",\n \"dataType\": \"text\",\n \"renderingHints\": {\n \"value\": {\n \"video/x-youtube\": \"By linking or uploading YouTube videos on DIKSHA, you consent to publishing it as per the terms of the YouTube video license. DIKSHA accepts only videos with YouTube Standard License or Creative Commons License.\"\n },\n \"class\": \"twelve wide field\"\n },\n \"description\": \"licenseterms\",\n \"index\": 17,\n \"label\": \"License Terms\",\n \"required\": false,\n \"name\": \"licenseterms\",\n \"inputType\": \"label\",\n \"placeholder\": \"license\"\n }\n ]\n },\n \"rootOrgId\": \"*\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } }, "url": { "raw": "{{host}}/api/data/v1/form/create", - "protocol": "https", "host": [ "{{host}}" ], @@ -6237,7 +9111,7 @@ "response": [] }, { - "name": "24 - Question Filter", + "name": "32- Question Set Filter View", "request": { "method": "POST", "header": [ @@ -6252,7 +9126,12 @@ ], "body": { "mode": "raw", - "raw": "{\n \"request\": {\n \"type\": \"content\",\n \"subtype\": \"questions\",\n \"action\": \"question-filter-view\",\n \"component\": \"*\",\n \"framework\": \"*\",\n \"rootOrgId\":\"*\",\n \"data\": {\n \"templateName\": \"filterMetaDataTemplate\",\n \"action\": \"question-filter-view\",\n \"fields\": [\n {\n \"code\": \"searchText\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"text\",\n \"renderingHints\": {},\n \"name\": \"Search\",\n \"description\": \" by question title\",\n \"index\": 0,\n \"inputType\": \"text\",\n \"label\": \"Search\",\n \"placeholder\": \"Search by question title\",\n \"required\": false\n },\n {\n \"code\": \"level\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"text\",\n \"renderingHints\": {},\n \"description\": \"Add Notes\",\n \"index\": 2,\n \"range\": [\n \"EASY\",\n \"MEDIUM\",\n \"DIFFICULT\"\n ],\n \"label\": \"Difficulty\",\n \"required\": false,\n \"name\": \"level\",\n \"inputType\": \"select\",\n \"placeholder\": \"Select Level\"\n },\n {\n \"code\": \"questionType\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"list\",\n \"renderingHints\": {},\n \"description\": \"Class\",\n \"index\": 3,\n \"range\": [\n \"Multiple Choice Questions\",\n \"Fill in the Blanks\",\n \"Match the Following\"\n ],\n \"label\": \"Question Type\",\n \"required\": false,\n \"name\": \"Question Type\",\n \"inputType\": \"multiselect\",\n \"placeholder\": \"Question Type\"\n },\n {\n \"code\": \"board\",\n \"visible\": true,\n \"depends\": [\n \"medium\",\n \"gradeLevel\",\n \"subject\"\n ],\n \"editable\": true,\n \"displayProperty\": \"Editable\",\n \"dataType\": \"text\",\n \"renderingHints\": {\n \"semanticColumnWidth\": \"four\"\n },\n \"description\": \"Board\",\n \"index\": 4,\n \"label\": \"Board\",\n \"required\": false,\n \"name\": \"Board\",\n \"inputType\": \"select\",\n \"placeholder\": \"Select Board\"\n },\n {\n \"code\": \"medium\",\n \"visible\": true,\n \"depends\": [\n \"gradeLevel\",\n \"subject\"\n ],\n \"editable\": true,\n \"dataType\": \"text\",\n \"renderingHints\": {},\n \"description\": \"\",\n \"index\": 5,\n \"label\": \"Medium\",\n \"required\": false,\n \"name\": \"Medium\",\n \"inputType\": \"select\",\n \"placeholder\": \"Select Medium\"\n },\n {\n \"code\": \"gradeLevel\",\n \"visible\": true,\n \"depends\": [\n \"subject\"\n ],\n \"editable\": true,\n \"dataType\": \"list\",\n \"renderingHints\": {},\n \"description\": \"Class\",\n \"index\": 6,\n \"label\": \"Class\",\n \"required\": false,\n \"name\": \"Class\",\n \"inputType\": \"multiselect\",\n \"placeholder\": \"Select Class\"\n },\n {\n \"code\": \"subject\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"text\",\n \"renderingHints\": {},\n \"name\": \"Subject\",\n \"description\": \"\",\n \"index\": 7,\n \"inputType\": \"select\",\n \"label\": \"Subject\",\n \"placeholder\": \"Select Subject\",\n \"required\": false\n },\n {\n \"code\": \"myQuestions\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"toggle\",\n \"renderingHints\": {},\n \"name\": \"My Questions\",\n \"description\": \"My Questions\",\n \"index\": 9,\n \"inputType\": \"checkbox\",\n \"label\": \"My Questions\",\n \"placeholder\": \"My Questions\",\n \"required\": false\n }\n ]\n }\n }\n}" + "raw": "{\n \"request\": {\n \"type\": \"content\",\n \"subType\": \"questions\",\n \"action\": \"question-filter-view\",\n \"component\": \"*\",\n \"framework\": \"*\",\n \"data\": {\n \"templateName\": \"filterMetaDataTemplate\",\n \"action\": \"question-filter-view\",\n \"fields\": [\n {\n \"code\": \"primaryCategory\",\n \"dataType\": \"text\",\n \"description\": \"Collection Type\",\n \"editable\": false,\n \"index\": 0,\n \"inputType\": \"text\",\n \"label\": \"Collection Type\",\n \"name\": \"Collection Type\",\n \"placeholder\": \"\",\n \"required\": true,\n \"visible\": true\n },\n {\n \"code\": \"additionalCategories\",\n \"dataType\": \"list\",\n \"description\": \"Additonal Category of the Content\",\n \"editable\": true,\n \"index\": 1,\n \"inputType\": \"multiselect\",\n \"label\": \"Additional Category\",\n \"name\": \"Additional Category\",\n \"placeholder\": \"Select Additional Category\",\n \"renderingHints\": {},\n \"range\": [\n \"Textbook\",\n \"Lesson Plan\"\n ],\n \"required\": false,\n \"visible\": true\n },\n {\n \"code\": \"name\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"text\",\n \"renderingHints\": {},\n \"name\": \"Name\",\n \"description\": \"Name of the content\",\n \"inputType\": \"text\",\n \"label\": \"Name\",\n \"placeholder\": \"Name\",\n \"required\": true,\n \"validation\": [\n {\n \"type\": \"max\",\n \"message\": \"Input is Exceded\",\n \"value\": \"120\"\n }\n ]\n },\n {\n \"code\": \"description\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"text\",\n \"renderingHints\": {},\n \"name\": \"Description\",\n \"description\": \"Brief description\",\n \"inputType\": \"textarea\",\n \"label\": \"Description\",\n \"placeholder\": \"Description\",\n \"required\": false,\n \"validation\": [\n {\n \"type\": \"max\",\n \"message\": \"Input is Exceded\",\n \"value\": \"1000\"\n }\n ]\n },\n {\n \"code\": \"keywords\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"list\",\n \"name\": \"Keywords\",\n \"description\": \"Keywords for the content\",\n \"inputType\": \"keywordsuggestion\",\n \"label\": \"keywords\",\n \"placeholder\": \"Enter Keywords\",\n \"required\": false\n },\n {\n \"code\": \"appicon\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"url\",\n \"renderingHints\": {},\n \"name\": \"App Icon\",\n \"description\": \"App Icon\",\n \"index\": 6,\n \"inputType\": \"file\",\n \"label\": \"Icon\",\n \"placeholder\": \"App Icon\",\n \"required\": true\n },\n {\n \"code\": \"board\",\n \"visible\": true,\n \"depends\": [\n \"gradeLevel\",\n \"medium\",\n \"subject\",\n \"topic\"\n ],\n \"editable\": true,\n \"dataType\": \"text\",\n \"renderingHints\": {},\n \"description\": \"Board\",\n \"index\": 0,\n \"label\": \"Board/Syllabus\",\n \"required\": true,\n \"name\": \"Board/Syllabus\",\n \"inputType\": \"select\",\n \"placeholder\": \"Select Board/Syllabus\"\n },\n {\n \"code\": \"medium\",\n \"visible\": true,\n \"depends\": [\n \"gradeLevel\",\n \"subject\",\n \"topic\"\n ],\n \"editable\": true,\n \"dataType\": \"list\",\n \"renderingHints\": {},\n \"description\": \"\",\n \"index\": 1,\n \"label\": \"medium\",\n \"required\": true,\n \"name\": \"medium\",\n \"inputType\": \"multiselect\",\n \"placeholder\": \"Select Medium\"\n },\n {\n \"code\": \"gradeLevel\",\n \"visible\": true,\n \"depends\": [\n \"subject\",\n \"topic\"\n ],\n \"editable\": true,\n \"dataType\": \"list\",\n \"renderingHints\": {},\n \"description\": \"Class\",\n \"index\": 2,\n \"label\": \"Class\",\n \"required\": true,\n \"name\": \"Class\",\n \"inputType\": \"multiselect\",\n \"placeholder\": \"Select Class\"\n },\n {\n \"code\": \"subject\",\n \"visible\": true,\n \"depends\": [\n \"topic\"\n ],\n \"editable\": true,\n \"dataType\": \"list\",\n \"renderingHints\": {},\n \"description\": \"\",\n \"index\": 3,\n \"label\": \"Subject\",\n \"required\": true,\n \"name\": \"Subject\",\n \"inputType\": \"multiselect\",\n \"placeholder\": \"Select Subject\"\n },\n {\n \"code\": \"topic\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"list\",\n \"renderingHints\": {},\n \"name\": \"Topic\",\n \"description\": \"Choose a Topics\",\n \"index\": 8,\n \"inputType\": \"topicselector\",\n \"label\": \"Topics\",\n \"placeholder\": \"Choose Topics\",\n \"required\": false\n },\n {\n \"code\": \"notes\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"text\",\n \"renderingHints\": {},\n \"name\": \"learningObjective\",\n \"description\": \"Add Notes\",\n \"index\": 4,\n \"inputType\": \"text\",\n \"label\": \"Notes to teacher\",\n \"placeholder\": \"Add Notes\",\n \"required\": false\n },\n {\n \"code\": \"learningObjective\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"list\",\n \"renderingHints\": {},\n \"name\": \"learningObjective\",\n \"description\": \"Brief desciption about learning objective\",\n \"index\": 5,\n \"inputType\": \"text\",\n \"label\": \"Learning objective\",\n \"placeholder\": \"Brief desciption about learning objective\",\n \"required\": false\n },\n {\n \"code\": \"duration\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"text\",\n \"renderingHints\": {},\n \"name\": \"duration\",\n \"description\": \"Duration of Lesson Plan\",\n \"index\": 7,\n \"inputType\": \"number\",\n \"label\": \"Duration\",\n \"placeholder\": \"In minutes\",\n \"required\": false\n },\n {\n \"code\": \"year\",\n \"visible\": true,\n \"editable\": false,\n \"dataType\": \"text\",\n \"renderingHints\": {},\n \"name\": \"Year\",\n \"description\": \"\",\n \"index\": 9,\n \"inputType\": \"select\",\n \"label\": \"Year\",\n \"placeholder\": \"Select Year\",\n \"required\": true\n },\n {\n \"code\": \"author\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"text\",\n \"renderingHints\": {},\n \"name\": \"Author\",\n \"description\": \"Original Author\",\n \"index\": 12,\n \"inputType\": \"text\",\n \"label\": \"Original Author\",\n \"placeholder\": \"Author\",\n \"required\": false\n },\n {\n \"code\": \"attributions\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"list\",\n \"renderingHints\": {},\n \"name\": \"attribution\",\n \"description\": \"Attributions\",\n \"index\": 13,\n \"inputType\": \"text\",\n \"label\": \"Attributions\",\n \"placeholder\": \"Attributions\",\n \"required\": false\n },\n {\n \"code\": \"copyright\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"text\",\n \"renderingHints\": {},\n \"name\": \"Copyright\",\n \"description\": \"Copyright\",\n \"index\": 14,\n \"inputType\": \"text\",\n \"label\": \"Copyright\",\n \"placeholder\": \"Copyright\",\n \"required\": false\n },\n {\n \"code\": \"copyrightYear\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"number\",\n \"renderingHints\": {},\n \"description\": \"Year of Creation\",\n \"index\": 15,\n \"label\": \"Year of Creation\",\n \"required\": true,\n \"name\": \"Year of Creation\",\n \"inputType\": \"number\",\n \"placeholder\": \"Enter Year of Creation\",\n \"validation\": [\n {\n \"type\": \"min\",\n \"message\": \"Maximum length of the year should be 4\",\n \"value\": \"4\"\n },\n {\n \"type\": \"max\",\n \"message\": \"Minimum length of the year should be 4\",\n \"value\": \"4\"\n }\n ]\n },\n {\n \"code\": \"license\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"text\",\n \"renderingHints\": {},\n \"name\": \"license\",\n \"description\": \"License of the content\",\n \"index\": 16,\n \"inputType\": \"licenses\",\n \"label\": \"license\",\n \"placeholder\": \"license\",\n \"required\": true\n },\n {\n \"code\": \"licenseterms\",\n \"visible\": true,\n \"editable\": true,\n \"defaultValue\": \"By creating any type of content (resources, books, courses etc.) on DIKSHA, you consent to publish it under the Creative Commons License Framework. Please choose the applicable creative commons license you wish to apply to your content.\",\n \"dataType\": \"text\",\n \"renderingHints\": {\n \"value\": {\n \"video/x-youtube\": \"By linking or uploading YouTube videos on DIKSHA, you consent to publishing it as per the terms of the YouTube video license. DIKSHA accepts only videos with YouTube Standard License or Creative Commons License.\"\n },\n \"class\": \"twelve wide field\"\n },\n \"description\": \"licenseterms\",\n \"index\": 17,\n \"label\": \"License Terms\",\n \"required\": false,\n \"name\": \"licenseterms\",\n \"inputType\": \"label\",\n \"placeholder\": \"license\"\n }\n ]\n },\n \"rootOrgId\": \"*\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } }, "url": { "raw": "{{host}}/api/data/v1/form/create", @@ -6268,123 +9147,10 @@ ] } }, - "response": [ - { - "name": "24 - Question Filter", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Authorization", - "value": "Bearer {{apikey}}" - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"request\": {\n \"type\": \"content\",\n \"subtype\": \"questions\",\n \"action\": \"question-filter-view\",\n \"component\": \"*\",\n \"framework\": \"*\",\n \"rootOrgId\":\"*\",\n \"data\": {\n \"templateName\": \"filterMetaDataTemplate\",\n \"action\": \"question-filter-view\",\n \"fields\": [\n {\n \"code\": \"searchText\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"text\",\n \"renderingHints\": {},\n \"name\": \"Search\",\n \"description\": \" by question title\",\n \"index\": 0,\n \"inputType\": \"text\",\n \"label\": \"Search\",\n \"placeholder\": \"Search by question title\",\n \"required\": false\n },\n {\n \"code\": \"level\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"text\",\n \"renderingHints\": {},\n \"description\": \"Add Notes\",\n \"index\": 2,\n \"range\": [\n \"EASY\",\n \"MEDIUM\",\n \"DIFFICULT\"\n ],\n \"label\": \"Difficulty\",\n \"required\": false,\n \"name\": \"level\",\n \"inputType\": \"select\",\n \"placeholder\": \"Select Level\"\n },\n {\n \"code\": \"questionType\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"list\",\n \"renderingHints\": {},\n \"description\": \"Class\",\n \"index\": 3,\n \"range\": [\n \"Multiple Choice Questions\",\n \"Fill in the Blanks\",\n \"Match the Following\"\n ],\n \"label\": \"Question Type\",\n \"required\": false,\n \"name\": \"Question Type\",\n \"inputType\": \"multiselect\",\n \"placeholder\": \"Question Type\"\n },\n {\n \"code\": \"board\",\n \"visible\": true,\n \"depends\": [\n \"medium\",\n \"gradeLevel\",\n \"subject\"\n ],\n \"editable\": true,\n \"displayProperty\": \"Editable\",\n \"dataType\": \"text\",\n \"renderingHints\": {\n \"semanticColumnWidth\": \"four\"\n },\n \"description\": \"Board\",\n \"index\": 4,\n \"label\": \"Board\",\n \"required\": false,\n \"name\": \"Board\",\n \"inputType\": \"select\",\n \"placeholder\": \"Select Board\"\n },\n {\n \"code\": \"medium\",\n \"visible\": true,\n \"depends\": [\n \"gradeLevel\",\n \"subject\"\n ],\n \"editable\": true,\n \"dataType\": \"text\",\n \"renderingHints\": {},\n \"description\": \"\",\n \"index\": 5,\n \"label\": \"Medium\",\n \"required\": false,\n \"name\": \"Medium\",\n \"inputType\": \"select\",\n \"placeholder\": \"Select Medium\"\n },\n {\n \"code\": \"gradeLevel\",\n \"visible\": true,\n \"depends\": [\n \"subject\"\n ],\n \"editable\": true,\n \"dataType\": \"list\",\n \"renderingHints\": {},\n \"description\": \"Class\",\n \"index\": 6,\n \"label\": \"Class\",\n \"required\": false,\n \"name\": \"Class\",\n \"inputType\": \"multiselect\",\n \"placeholder\": \"Select Class\"\n },\n {\n \"code\": \"subject\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"text\",\n \"renderingHints\": {},\n \"name\": \"Subject\",\n \"description\": \"\",\n \"index\": 7,\n \"inputType\": \"select\",\n \"label\": \"Subject\",\n \"placeholder\": \"Select Subject\",\n \"required\": false\n },\n {\n \"code\": \"myQuestions\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"toggle\",\n \"renderingHints\": {},\n \"name\": \"My Questions\",\n \"description\": \"My Questions\",\n \"index\": 9,\n \"inputType\": \"checkbox\",\n \"label\": \"My Questions\",\n \"placeholder\": \"My Questions\",\n \"required\": false\n }\n ]\n }\n }\n}" - }, - "url": { - "raw": "{{host}}/api/data/v1/form/create", - "host": [ - "{{host}}" - ], - "path": [ - "api", - "data", - "v1", - "form", - "create" - ] - } - }, - "status": "OK", - "code": 200, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Date", - "value": "Tue, 02 Apr 2024 05:21:55 GMT" - }, - { - "key": "Content-Type", - "value": "application/json; charset=utf-8" - }, - { - "key": "Content-Length", - "value": "244" - }, - { - "key": "Connection", - "value": "keep-alive" - }, - { - "key": "X-RateLimit-Limit-hour", - "value": "5000" - }, - { - "key": "X-RateLimit-Remaining-hour", - "value": "4998" - }, - { - "key": "X-DNS-Prefetch-Control", - "value": "off" - }, - { - "key": "X-Frame-Options", - "value": "SAMEORIGIN" - }, - { - "key": "Strict-Transport-Security", - "value": "max-age=15552000; includeSubDomains" - }, - { - "key": "X-Download-Options", - "value": "noopen" - }, - { - "key": "X-Content-Type-Options", - "value": "nosniff" - }, - { - "key": "X-XSS-Protection", - "value": "1; mode=block" - }, - { - "key": "X-Powered-By", - "value": "Express" - }, - { - "key": "ETag", - "value": "W/\"f4-hEJ+QwJey9F9VvX7d/wX5WrlC4s\"" - }, - { - "key": "Access-Control-Allow-Origin", - "value": "*" - }, - { - "key": "X-Kong-Upstream-Latency", - "value": "7" - }, - { - "key": "X-Kong-Proxy-Latency", - "value": "12" - }, - { - "key": "Via", - "value": "kong/0.14.1" - } - ], - "cookie": [], - "body": "{\n \"id\": \"api.form.create\",\n \"params\": {\n \"resmsgid\": \"9be1821b-8020-45e6-9116-a1635930ce41\",\n \"msgid\": \"86c3e31d-16f0-4ee7-837f-6d4fa52b6f16\",\n \"status\": \"successful\"\n },\n \"responseCode\": \"OK\",\n \"result\": {\n \"created\": \"OK\"\n },\n \"ts\": \"2024-04-02T05:21:55.849Z\",\n \"ver\": \"1.0\"\n}" - } - ] + "response": [] }, { - "name": "25 - Create Assesment", + "name": "33 - Lesson Plan Save", "request": { "method": "POST", "header": [ @@ -6394,16 +9160,20 @@ }, { "key": "Authorization", - "value": "Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJhcGlfYWRtaW4ifQ.R0dE7mmX95ohjboVTdmqMJUKn9haHF7GKoDGtzK8bMI" + "value": "Bearer {{apikey}}" } ], "body": { "mode": "raw", - "raw": "{\n \"request\":{\n \"type\": \"content\",\n \"action\": \"create\",\n \"subType\": \"assessment\",\n \"rootOrgId\": \"*\",\n \"component\": \"portal\",\n \"data\": {\n \"templateName\": \"defaultTemplate\",\n \"action\": \"create\",\n \"fields\": [\n {\n \"code\": \"name\",\n \"visible\": true,\n \"editable\": true,\n \"displayProperty\": \"Editable\",\n \"dataType\": \"text\",\n \"renderingHints\": {\n \"semanticColumnWidth\": \"twelve\"\n },\n \"description\": \"Name\",\n \"index\": 1,\n \"label\": \"Name\",\n \"required\": false,\n \"name\": \"Name\",\n \"inputType\": \"text\",\n \"placeholder\": \"Name\"\n },\n {\n \"code\": \"maxAttempts\",\n \"dataType\": \"text\",\n \"name\": \"Max no of attempts\",\n \"label\": \"Max no of attempts\",\n \"description\": \"Max no of attempts\",\n \"editable\": true,\n \"placeholder\": \"Max no of attempts\",\n \"inputType\": \"number\",\n \"required\": false,\n \"displayProperty\": \"Editable\",\n \"visible\": true,\n \"renderingHints\": {\n \"semanticColumnWidth\": \"six\"\n },\n \"index\": 6\n }\n ]\n }\n }\n}" + "raw": "{\n \"request\": {\n \"type\": \"content\",\n \"subType\": \"lessonplan\",\n \"action\": \"save\",\n \"component\": \"*\",\n \"framework\": \"*\",\n \"data\": {\n \"templateName\": \"defaultTemplate\",\n \"action\": \"save\",\n \"fields\": [\n {\n \"code\": \"name\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"text\",\n \"renderingHints\": {},\n \"name\": \"Name\",\n \"description\": \"Name of the content\",\n \"inputType\": \"text\",\n \"label\": \"Name\",\n \"placeholder\": \"Name\",\n \"required\": true,\n \"validation\": [\n {\n \"type\": \"max\",\n \"message\": \"Input is Exceded\",\n \"value\": \"120\"\n }\n ]\n },\n {\n \"code\": \"description\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"text\",\n \"renderingHints\": {},\n \"name\": \"Description\",\n \"description\": \"Brief description\",\n \"inputType\": \"textarea\",\n \"label\": \"Description\",\n \"placeholder\": \"Description\",\n \"required\": false,\n \"validation\": [\n {\n \"type\": \"max\",\n \"message\": \"Input is Exceded\",\n \"value\": \"1000\"\n }\n ]\n },\n {\n \"code\": \"keywords\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"list\",\n \"name\": \"Keywords\",\n \"description\": \"Keywords for the content\",\n \"inputType\": \"keywordsuggestion\",\n \"label\": \"keywords\",\n \"placeholder\": \"Enter Keywords\",\n \"required\": false\n },\n {\n \"code\": \"primaryCategory\",\n \"dataType\": \"text\",\n \"description\": \"Collection Type\",\n \"editable\": false,\n \"index\": 0,\n \"inputType\": \"text\",\n \"label\": \"Collection Type\",\n \"name\": \"Collection Type\",\n \"placeholder\": \"\",\n \"required\": true,\n \"visible\": true\n },\n {\n \"code\": \"additionalCategories\",\n \"dataType\": \"list\",\n \"description\": \"Additonal Category of the Content\",\n \"editable\": true,\n \"index\": 1,\n \"inputType\": \"multiselect\",\n \"label\": \"Additional Category\",\n \"name\": \"Additional Category\",\n \"placeholder\": \"Select Additional Category\",\n \"renderingHints\": {},\n \"range\": [\n \"Textbook\",\n \"Lesson Plan\"\n ],\n \"required\": false,\n \"visible\": true\n },\n {\n \"code\": \"appicon\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"url\",\n \"renderingHints\": {},\n \"name\": \"App Icon\",\n \"description\": \"App Icon\",\n \"inputType\": \"file\",\n \"label\": \"Icon\",\n \"placeholder\": \"App Icon\",\n \"required\": true\n },\n {\n \"code\": \"board\",\n \"visible\": true,\n \"depends\": [\n \"gradeLevel\",\n \"medium\",\n \"subject\",\n \"topic\"\n ],\n \"editable\": true,\n \"dataType\": \"text\",\n \"renderingHints\": {},\n \"description\": \"Board\",\n \"index\": 2,\n \"label\": \"Board/Syllabus\",\n \"required\": true,\n \"name\": \"Board/Syllabus\",\n \"inputType\": \"select\",\n \"placeholder\": \"Select Board/Syllabus\"\n },\n {\n \"code\": \"medium\",\n \"visible\": true,\n \"depends\": [\n \"gradeLevel\",\n \"subject\",\n \"topic\"\n ],\n \"editable\": true,\n \"dataType\": \"list\",\n \"renderingHints\": {},\n \"description\": \"\",\n \"index\": 3,\n \"label\": \"medium\",\n \"required\": true,\n \"name\": \"medium\",\n \"inputType\": \"multiselect\",\n \"placeholder\": \"Select Medium\"\n },\n {\n \"code\": \"gradeLevel\",\n \"visible\": true,\n \"depends\": [\n \"subject\",\n \"topic\"\n ],\n \"editable\": true,\n \"dataType\": \"list\",\n \"renderingHints\": {},\n \"description\": \"Class\",\n \"index\": 4,\n \"label\": \"Class\",\n \"required\": true,\n \"name\": \"Class\",\n \"inputType\": \"multiselect\",\n \"placeholder\": \"Select Class\"\n },\n {\n \"code\": \"subject\",\n \"visible\": true,\n \"depends\": [\n \"topic\"\n ],\n \"editable\": true,\n \"dataType\": \"list\",\n \"renderingHints\": {},\n \"description\": \"\",\n \"index\": 5,\n \"label\": \"Subject\",\n \"required\": true,\n \"name\": \"Subject\",\n \"inputType\": \"multiselect\",\n \"placeholder\": \"Select Subject\"\n },\n {\n \"code\": \"topic\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"list\",\n \"renderingHints\": {},\n \"name\": \"Topic\",\n \"description\": \"Choose a Topics\",\n \"index\": 6,\n \"inputType\": \"topicselector\",\n \"label\": \"Topics\",\n \"placeholder\": \"Choose Topics\",\n \"required\": false\n },\n {\n \"code\": \"notes\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"text\",\n \"renderingHints\": {},\n \"name\": \"learningObjective\",\n \"description\": \"Add Notes\",\n \"index\": 7,\n \"inputType\": \"text\",\n \"label\": \"Notes to teacher\",\n \"placeholder\": \"Add Notes\",\n \"required\": false\n },\n {\n \"code\": \"learningObjective\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"list\",\n \"renderingHints\": {},\n \"name\": \"learningObjective\",\n \"description\": \"Brief desciption about learning objective\",\n \"index\": 8,\n \"inputType\": \"text\",\n \"label\": \"Learning objective\",\n \"placeholder\": \"Brief desciption about learning objective\",\n \"required\": false\n },\n {\n \"code\": \"duration\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"text\",\n \"renderingHints\": {},\n \"name\": \"duration\",\n \"description\": \"Duration of Lesson Plan\",\n \"index\": 9,\n \"inputType\": \"number\",\n \"label\": \"Duration\",\n \"placeholder\": \"In minutes\",\n \"required\": false\n },\n {\n \"code\": \"year\",\n \"visible\": true,\n \"editable\": false,\n \"dataType\": \"text\",\n \"renderingHints\": {},\n \"name\": \"Year\",\n \"description\": \"\",\n \"index\": 10,\n \"inputType\": \"select\",\n \"label\": \"Year\",\n \"placeholder\": \"Select Year\",\n \"required\": true\n },\n {\n \"code\": \"author\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"text\",\n \"renderingHints\": {},\n \"name\": \"Author\",\n \"description\": \"Original Author\",\n \"index\": 11,\n \"inputType\": \"text\",\n \"label\": \"Original Author\",\n \"placeholder\": \"Author\",\n \"required\": false\n },\n {\n \"code\": \"attributions\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"list\",\n \"renderingHints\": {},\n \"name\": \"attribution\",\n \"description\": \"Attributions\",\n \"index\": 12,\n \"inputType\": \"text\",\n \"label\": \"Attributions\",\n \"placeholder\": \"Attributions\",\n \"required\": false\n },\n {\n \"code\": \"copyright\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"text\",\n \"renderingHints\": {},\n \"name\": \"Copyright\",\n \"description\": \"Copyright\",\n \"index\": 13,\n \"inputType\": \"text\",\n \"label\": \"Copyright\",\n \"placeholder\": \"Copyright\",\n \"required\": false\n },\n {\n \"code\": \"copyrightYear\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"number\",\n \"renderingHints\": {},\n \"description\": \"Year of Creation\",\n \"index\": 14,\n \"label\": \"Year of Creation\",\n \"required\": true,\n \"name\": \"Year of Creation\",\n \"inputType\": \"number\",\n \"placeholder\": \"Enter Year of Creation\",\n \"validation\": [\n {\n \"type\": \"min\",\n \"message\": \"Maximum length of the year should be 4\",\n \"value\": \"4\"\n },\n {\n \"type\": \"max\",\n \"message\": \"Minimum length of the year should be 4\",\n \"value\": \"4\"\n }\n ]\n },\n {\n \"code\": \"license\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"text\",\n \"renderingHints\": {},\n \"name\": \"license\",\n \"description\": \"License of the content\",\n \"index\": 15,\n \"inputType\": \"licenses\",\n \"label\": \"license\",\n \"placeholder\": \"license\",\n \"required\": true\n },\n {\n \"code\": \"licenseterms\",\n \"visible\": true,\n \"editable\": true,\n \"defaultValue\": \"By creating any type of content (resources, books, courses etc.) on DIKSHA, you consent to publish it under the Creative Commons License Framework. Please choose the applicable creative commons license you wish to apply to your content.\",\n \"dataType\": \"text\",\n \"renderingHints\": {\n \"value\": {\n \"video/x-youtube\": \"By linking or uploading YouTube videos on DIKSHA, you consent to publishing it as per the terms of the YouTube video license. DIKSHA accepts only videos with YouTube Standard License or Creative Commons License.\"\n },\n \"class\": \"twelve wide field\"\n },\n \"description\": \"licenseterms\",\n \"index\": 16,\n \"label\": \"License Terms\",\n \"required\": false,\n \"name\": \"licenseterms\",\n \"inputType\": \"label\",\n \"placeholder\": \"license\"\n }\n ]\n },\n \"rootOrgId\": \"*\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } }, "url": { "raw": "{{host}}/api/data/v1/form/create", - "protocol": "https", "host": [ "{{host}}" ], @@ -6419,7 +9189,7 @@ "response": [] }, { - "name": "26 - Certificate Form Create", + "name": "34 - Onboarding Popup Visibility", "request": { "method": "POST", "header": [ @@ -6434,7 +9204,12 @@ ], "body": { "mode": "raw", - "raw": "{\n \"request\": {\n \"type\": \"certificate\",\n \"subType\": \"course\",\n \"action\": \"certificatecreate\",\n \"component\": \"portal\",\n \"framework\": \"*\",\n \"rootOrgId\": \"*\",\n \"data\": {\n \"enableSVGEditor\": false\n }\n }\n}" + "raw": "{\n \"request\": {\n \"type\": \"onboardingPopupVisibility\",\n \"subType\": \"global\",\n \"action\": \"onboarding\",\n \"component\": \"*\",\n \"framework\": \"*\",\n \"data\": {\n \"fields\": {\n \"shownewUserOnboarding\": \"true\"\n }\n },\n \"rootOrgId\": \"*\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } }, "url": { "raw": "{{host}}/api/data/v1/form/create", @@ -6453,7 +9228,7 @@ "response": [] }, { - "name": "27 - Question Create", + "name": "35 - Profile Config V2", "request": { "method": "POST", "header": [ @@ -6468,7 +9243,12 @@ ], "body": { "mode": "raw", - "raw": "{\n \"request\": {\n \"action\": \"question-meta-save\",\n \"subType\": \"questions\",\n \"framework\": \"*\",\n \"rootOrgId\": \"*\",\n \"type\": \"content\",\n \"popup\": false,\n \"metadata\": {\n \"max_score\": 1,\n \"isShuffleOption\": false,\n \"isPartialScore\": true,\n \"evalUnordered\": false,\n \"templateType\": \"Horizontal\",\n \"name\": \"____ is my country\\n\",\n \"title\": \"____ is my country\\n\"\n },\n \"data\": {\n \"templateName\": \"questionMetaDataTemplate\",\n \"action\": \"question-meta-save\",\n \"fields\": [\n {\n \"code\": \"name\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"text\",\n \"renderingHints\": {},\n \"name\": \"Title\",\n \"description\": \"Title of the question\",\n \"index\": 0,\n \"inputType\": \"text\",\n \"label\": \"Title\",\n \"placeholder\": \"Enter the Title\",\n \"required\": true\n },\n {\n \"code\": \"description\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"text\",\n \"renderingHints\": {},\n \"name\": \"Description\",\n \"description\": \"Brief description\",\n \"index\": 1,\n \"inputType\": \"textarea\",\n \"label\": \"Description\",\n \"placeholder\": \"Enter the Description\",\n \"required\": false\n },\n {\n \"code\": \"board\",\n \"visible\": true,\n \"depends\": [\n \"medium\",\n \"gradeLevel\",\n \"subject\",\n \"topic\"\n ],\n \"editable\": true,\n \"dataType\": \"text\",\n \"renderingHints\": {},\n \"description\": \"board\",\n \"index\": 2,\n \"label\": \"Board/Syllabus\",\n \"required\": true,\n \"name\": \"Board/Syllabus\",\n \"inputType\": \"select\",\n \"placeholder\": \"Select Board/Syllabus\"\n },\n {\n \"code\": \"medium\",\n \"visible\": true,\n \"depends\": [\n \"gradeLevel\",\n \"subject\",\n \"topic\"\n ],\n \"editable\": true,\n \"dataType\": \"text\",\n \"renderingHints\": {},\n \"description\": \"\",\n \"index\": 3,\n \"label\": \"Medium\",\n \"required\": true,\n \"name\": \"medium\",\n \"inputType\": \"select\",\n \"placeholder\": \"Select Medium\"\n },\n {\n \"code\": \"gradeLevel\",\n \"visible\": true,\n \"depends\": [\n \"subject\",\n \"topic\"\n ],\n \"editable\": true,\n \"dataType\": \"list\",\n \"renderingHints\": {},\n \"description\": \"Class\",\n \"index\": 4,\n \"label\": \"Grade Level\",\n \"required\": true,\n \"name\": \"Class\",\n \"inputType\": \"multiselect\",\n \"placeholder\": \"Select Grade\"\n },\n {\n \"code\": \"subject\",\n \"visible\": true,\n \"depends\": [\n \"topic\"\n ],\n \"editable\": true,\n \"dataType\": \"text\",\n \"renderingHints\": {},\n \"description\": \"Add subjects\",\n \"index\": 5,\n \"label\": \"Subject\",\n \"required\": true,\n \"name\": \"subject\",\n \"inputType\": \"select\",\n \"placeholder\": \"Select Subject\"\n },\n {\n \"code\": \"qlevel\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"text\",\n \"renderingHints\": {},\n \"description\": \"Add Notes\",\n \"index\": 7,\n \"range\": [\n \"EASY\",\n \"MEDIUM\",\n \"DIFFICULT\"\n ],\n \"label\": \"Level\",\n \"required\": true,\n \"name\": \"qlevel\",\n \"inputType\": \"select\",\n \"placeholder\": \"Select Level\"\n },\n {\n \"code\": \"max_score\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"number\",\n \"renderingHints\": {},\n \"description\": \"\",\n \"index\": 8,\n \"label\": \"Max Score\",\n \"required\": true,\n \"name\": \"max_score\",\n \"inputType\": \"number\",\n \"placeholder\": \"Enter the Max Score\",\n \"validation\": [\n {\n \"type\": \"min\",\n \"message\": \"\",\n \"value\": \"1\"\n }\n ]\n }\n ]\n }\n }\n}" + "raw": "{\n \"request\": {\n \"type\": \"profileconfig_v2\",\n \"subtype\": \"ka\",\n \"action\": \"get\",\n \"component\": \"*\",\n \"framework\": \"*\",\n \"data\": {\n \"templateName\": \"profileconfig_v2\",\n \"action\": \"get\",\n \"fields\": [\n {\n \"code\": \"name\",\n \"type\": \"input\",\n \"templateOptions\": {\n \"labelHtml\": {\n \"contents\": \"$0 *\",\n \"values\": {\n \"$0\": \"Name\"\n }\n },\n \"hidden\": true,\n \"placeHolder\": \"Enter Name\",\n \"multiple\": false\n },\n \"validations\": [\n {\n \"type\": \"required\"\n }\n ]\n },\n {\n \"code\": \"persona\",\n \"type\": \"nested_select\",\n \"templateOptions\": {\n \"hidden\": true,\n \"labelHtml\": {\n \"contents\": \"$0 *\",\n \"values\": {\n \"$0\": \"Role\"\n }\n },\n \"placeHolder\": \"Select Role\",\n \"multiple\": false,\n \"themeType\": \"material\",\n \"dataSrc\": {\n \"marker\": \"SUPPORTED_PERSONA_LIST\"\n }\n },\n \"validations\": [\n {\n \"type\": \"required\"\n }\n ],\n \"children\": {\n \"administrator\": [\n {\n \"code\": \"state\",\n \"type\": \"select\",\n \"templateOptions\": {\n \"labelHtml\": {\n \"contents\": \"$0 *\",\n \"values\": {\n \"$0\": \"State\"\n }\n },\n \"placeHolder\": \"Select State\",\n \"multiple\": false,\n \"dataSrc\": {\n \"marker\": \"STATE_LOCATION_LIST\",\n \"params\": {\n \"useCase\": \"SIGNEDIN_GUEST\"\n }\n }\n },\n \"validations\": [\n {\n \"type\": \"required\"\n }\n ]\n },\n {\n \"code\": \"district\",\n \"type\": \"select\",\n \"context\": \"state\",\n \"default\": null,\n \"templateOptions\": {\n \"labelHtml\": {\n \"contents\": \"$0 *\",\n \"values\": {\n \"$0\": \"District\"\n }\n },\n \"placeHolder\": \"Select District\",\n \"multiple\": false,\n \"dataSrc\": {\n \"marker\": \"LOCATION_LIST\",\n \"params\": {\n \"id\": \"district\",\n \"useCase\": \"SIGNEDIN_GUEST\"\n }\n }\n },\n \"validations\": [\n {\n \"type\": \"required\"\n }\n ]\n },\n {\n \"code\": \"block\",\n \"type\": \"select\",\n \"context\": \"district\",\n \"default\": null,\n \"templateOptions\": {\n \"label\": \"Block\",\n \"placeHolder\": \"Select Block\",\n \"multiple\": false,\n \"dataSrc\": {\n \"marker\": \"LOCATION_LIST\",\n \"params\": {\n \"id\": \"block\",\n \"useCase\": \"SIGNEDIN\"\n }\n }\n },\n \"validations\": []\n },\n {\n \"code\": \"cluster\",\n \"type\": \"select\",\n \"context\": \"block\",\n \"default\": null,\n \"templateOptions\": {\n \"label\": \"Cluster\",\n \"placeHolder\": \"Select Cluster\",\n \"multiple\": false,\n \"dataSrc\": {\n \"marker\": \"LOCATION_LIST\",\n \"params\": {\n \"id\": \"cluster\",\n \"useCase\": \"SIGNEDIN\"\n }\n }\n }\n },\n {\n \"code\": \"school\",\n \"type\": \"select\",\n \"context\": \"cluster\",\n \"default\": null,\n \"templateOptions\": {\n \"label\": \"School\",\n \"placeHolder\": \"Select School\",\n \"multiple\": false,\n \"dataSrc\": {\n \"marker\": \"LOCATION_LIST\",\n \"params\": {\n \"id\": \"school\",\n \"useCase\": \"SIGNEDIN\"\n }\n }\n }\n }\n ],\n \"teacher\": [\n {\n \"code\": \"state\",\n \"type\": \"select\",\n \"templateOptions\": {\n \"labelHtml\": {\n \"contents\": \"$0 *\",\n \"values\": {\n \"$0\": \"State\"\n }\n },\n \"placeHolder\": \"Select State\",\n \"multiple\": false,\n \"themeType\": \"material\",\n \"dataSrc\": {\n \"marker\": \"STATE_LOCATION_LIST\",\n \"params\": {\n \"useCase\": \"SIGNEDIN_GUEST\"\n }\n }\n },\n \"validations\": [\n {\n \"type\": \"required\"\n }\n ]\n },\n {\n \"code\": \"district\",\n \"type\": \"select\",\n \"context\": \"state\",\n \"default\": null,\n \"templateOptions\": {\n \"labelHtml\": {\n \"contents\": \"$0 *\",\n \"values\": {\n \"$0\": \"District\"\n }\n },\n \"placeHolder\": \"Select District\",\n \"multiple\": false,\n \"themeType\": \"material\",\n \"dataSrc\": {\n \"marker\": \"LOCATION_LIST\",\n \"params\": {\n \"id\": \"district\",\n \"useCase\": \"SIGNEDIN_GUEST\"\n }\n }\n },\n \"validations\": [\n {\n \"type\": \"required\"\n }\n ]\n },\n {\n \"code\": \"block\",\n \"type\": \"select\",\n \"context\": \"district\",\n \"default\": null,\n \"templateOptions\": {\n \"label\": \"Block\",\n \"placeHolder\": \"Select Block\",\n \"multiple\": false,\n \"themeType\": \"material\",\n \"dataSrc\": {\n \"marker\": \"LOCATION_LIST\",\n \"params\": {\n \"id\": \"block\",\n \"useCase\": \"SIGNEDIN\"\n }\n }\n },\n \"validations\": []\n },\n {\n \"code\": \"cluster\",\n \"type\": \"select\",\n \"context\": \"block\",\n \"default\": null,\n \"templateOptions\": {\n \"label\": \"Cluster\",\n \"placeHolder\": \"Select Cluster\",\n \"multiple\": false,\n \"themeType\": \"material\",\n \"dataSrc\": {\n \"marker\": \"LOCATION_LIST\",\n \"params\": {\n \"id\": \"cluster\",\n \"useCase\": \"SIGNEDIN\"\n }\n }\n }\n },\n {\n \"code\": \"school\",\n \"type\": \"select\",\n \"context\": \"cluster\",\n \"default\": null,\n \"templateOptions\": {\n \"label\": \"School\",\n \"placeHolder\": \"Select School\",\n \"multiple\": false,\n \"themeType\": \"material\",\n \"dataSrc\": {\n \"marker\": \"LOCATION_LIST\",\n \"params\": {\n \"id\": \"school\",\n \"useCase\": \"SIGNEDIN\"\n }\n }\n }\n }\n ],\n \"student\": [\n {\n \"code\": \"state\",\n \"type\": \"select\",\n \"templateOptions\": {\n \"labelHtml\": {\n \"contents\": \"$0 *\",\n \"values\": {\n \"$0\": \"State\"\n }\n },\n \"placeHolder\": \"Select State\",\n \"multiple\": false,\n \"themeType\": \"material\",\n \"dataSrc\": {\n \"marker\": \"STATE_LOCATION_LIST\",\n \"params\": {\n \"useCase\": \"SIGNEDIN_GUEST\"\n }\n }\n },\n \"validations\": [\n {\n \"type\": \"required\"\n }\n ]\n },\n {\n \"code\": \"district\",\n \"type\": \"select\",\n \"context\": \"state\",\n \"default\": null,\n \"templateOptions\": {\n \"labelHtml\": {\n \"contents\": \"$0 *\",\n \"values\": {\n \"$0\": \"District\"\n }\n },\n \"placeHolder\": \"Select District\",\n \"multiple\": false,\n \"themeType\": \"material\",\n \"dataSrc\": {\n \"marker\": \"LOCATION_LIST\",\n \"params\": {\n \"id\": \"district\",\n \"useCase\": \"SIGNEDIN_GUEST\"\n }\n }\n },\n \"validations\": [\n {\n \"type\": \"required\"\n }\n ]\n },\n {\n \"code\": \"block\",\n \"type\": \"select\",\n \"context\": \"district\",\n \"default\": null,\n \"templateOptions\": {\n \"label\": \"Block\",\n \"placeHolder\": \"Select Block\",\n \"multiple\": false,\n \"themeType\": \"material\",\n \"dataSrc\": {\n \"marker\": \"LOCATION_LIST\",\n \"params\": {\n \"id\": \"block\",\n \"useCase\": \"SIGNEDIN\"\n }\n }\n },\n \"validations\": []\n },\n {\n \"code\": \"cluster\",\n \"type\": \"select\",\n \"context\": \"block\",\n \"default\": null,\n \"templateOptions\": {\n \"label\": \"Cluster\",\n \"placeHolder\": \"Select Cluster\",\n \"multiple\": false,\n \"themeType\": \"material\",\n \"dataSrc\": {\n \"marker\": \"LOCATION_LIST\",\n \"params\": {\n \"id\": \"cluster\",\n \"useCase\": \"SIGNEDIN\"\n }\n }\n }\n },\n {\n \"code\": \"school\",\n \"type\": \"select\",\n \"context\": \"cluster\",\n \"default\": null,\n \"templateOptions\": {\n \"label\": \"School\",\n \"placeHolder\": \"Select School\",\n \"multiple\": false,\n \"themeType\": \"material\",\n \"dataSrc\": {\n \"marker\": \"LOCATION_LIST\",\n \"params\": {\n \"id\": \"school\",\n \"useCase\": \"SIGNEDIN\"\n }\n }\n }\n }\n ],\n \"other\": [\n {\n \"code\": \"state\",\n \"type\": \"select\",\n \"templateOptions\": {\n \"placeHolder\": \"Select State\",\n \"multiple\": false,\n \"themeType\": \"material\",\n \"dataSrc\": {\n \"marker\": \"STATE_LOCATION_LIST\",\n \"params\": {\n \"useCase\": \"SIGNEDIN_GUEST\"\n }\n }\n },\n \"validations\": [\n {\n \"type\": \"required\"\n }\n ]\n },\n {\n \"code\": \"district\",\n \"type\": \"select\",\n \"context\": \"state\",\n \"default\": null,\n \"templateOptions\": {\n \"labelHtml\": {\n \"contents\": \"$0 *\",\n \"values\": {\n \"$0\": \"District\"\n }\n },\n \"placeHolder\": \"Select District\",\n \"multiple\": false,\n \"themeType\": \"material\",\n \"dataSrc\": {\n \"marker\": \"LOCATION_LIST\",\n \"params\": {\n \"id\": \"district\",\n \"useCase\": \"SIGNEDIN_GUEST\"\n }\n }\n },\n \"validations\": [\n {\n \"type\": \"required\"\n }\n ]\n },\n {\n \"code\": \"block\",\n \"type\": \"select\",\n \"context\": \"district\",\n \"default\": null,\n \"templateOptions\": {\n \"label\": \"Block\",\n \"placeHolder\": \"Select Block\",\n \"multiple\": false,\n \"themeType\": \"material\",\n \"dataSrc\": {\n \"marker\": \"LOCATION_LIST\",\n \"params\": {\n \"id\": \"block\",\n \"useCase\": \"SIGNEDIN\"\n }\n }\n },\n \"validations\": []\n },\n {\n \"code\": \"cluster\",\n \"type\": \"select\",\n \"context\": \"block\",\n \"default\": null,\n \"templateOptions\": {\n \"label\": \"Cluster\",\n \"placeHolder\": \"Select Cluster\",\n \"multiple\": false,\n \"themeType\": \"material\",\n \"dataSrc\": {\n \"marker\": \"LOCATION_LIST\",\n \"params\": {\n \"id\": \"cluster\",\n \"useCase\": \"SIGNEDIN\"\n }\n }\n }\n },\n {\n \"code\": \"school\",\n \"type\": \"select\",\n \"context\": \"cluster\",\n \"default\": null,\n \"templateOptions\": {\n \"label\": \"School\",\n \"placeHolder\": \"Select School\",\n \"multiple\": false,\n \"themeType\": \"material\",\n \"dataSrc\": {\n \"marker\": \"LOCATION_LIST\",\n \"params\": {\n \"id\": \"school\",\n \"useCase\": \"SIGNEDIN\"\n }\n }\n }\n }\n ],\n \"parent\": [\n {\n \"code\": \"state\",\n \"type\": \"select\",\n \"templateOptions\": {\n \"labelHtml\": {\n \"contents\": \"$0 *\",\n \"values\": {\n \"$0\": \"State\"\n }\n },\n \"placeHolder\": \"Select State\",\n \"multiple\": false,\n \"themeType\": \"material\",\n \"dataSrc\": {\n \"marker\": \"STATE_LOCATION_LIST\",\n \"params\": {\n \"useCase\": \"SIGNEDIN_GUEST\"\n }\n }\n },\n \"validations\": [\n {\n \"type\": \"required\"\n }\n ]\n },\n {\n \"code\": \"district\",\n \"type\": \"select\",\n \"context\": \"state\",\n \"default\": null,\n \"templateOptions\": {\n \"labelHtml\": {\n \"contents\": \"$0 *\",\n \"values\": {\n \"$0\": \"District\"\n }\n },\n \"placeHolder\": \"Select District\",\n \"multiple\": false,\n \"themeType\": \"material\",\n \"dataSrc\": {\n \"marker\": \"LOCATION_LIST\",\n \"params\": {\n \"id\": \"district\",\n \"useCase\": \"SIGNEDIN_GUEST\"\n }\n }\n },\n \"validations\": [\n {\n \"type\": \"required\"\n }\n ]\n },\n {\n \"code\": \"block\",\n \"type\": \"select\",\n \"context\": \"district\",\n \"default\": null,\n \"templateOptions\": {\n \"label\": \"Block\",\n \"placeHolder\": \"Select Block\",\n \"multiple\": false,\n \"themeType\": \"material\",\n \"dataSrc\": {\n \"marker\": \"LOCATION_LIST\",\n \"params\": {\n \"id\": \"block\",\n \"useCase\": \"SIGNEDIN\"\n }\n }\n },\n \"validations\": []\n },\n {\n \"code\": \"cluster\",\n \"type\": \"select\",\n \"context\": \"block\",\n \"default\": null,\n \"templateOptions\": {\n \"label\": \"Cluster\",\n \"placeHolder\": \"Select Cluster\",\n \"multiple\": false,\n \"themeType\": \"material\",\n \"dataSrc\": {\n \"marker\": \"LOCATION_LIST\",\n \"params\": {\n \"id\": \"cluster\",\n \"useCase\": \"SIGNEDIN\"\n }\n }\n }\n },\n {\n \"code\": \"school\",\n \"type\": \"select\",\n \"context\": \"cluster\",\n \"default\": null,\n \"templateOptions\": {\n \"label\": \"School\",\n \"placeHolder\": \"Select School\",\n \"multiple\": false,\n \"themeType\": \"material\",\n \"dataSrc\": {\n \"marker\": \"LOCATION_LIST\",\n \"params\": {\n \"id\": \"school\",\n \"useCase\": \"SIGNEDIN\"\n }\n }\n }\n }\n ]\n }\n }\n ]\n },\n \"rootOrgId\": \"*\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } }, "url": { "raw": "{{host}}/api/data/v1/form/create", @@ -6484,125 +9264,70 @@ ] } }, - "response": [ - { - "name": "27 - Question Create", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Authorization", - "value": "Bearer {{apikey}}" - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"request\": {\n \"action\": \"question-meta-save\",\n \"subType\": \"questions\",\n \"framework\": \"*\",\n \"rootOrgId\": \"*\",\n \"type\": \"content\",\n \"popup\": false,\n \"metadata\": {\n \"max_score\": 1,\n \"isShuffleOption\": false,\n \"isPartialScore\": true,\n \"evalUnordered\": false,\n \"templateType\": \"Horizontal\",\n \"name\": \"____ is my country\\n\",\n \"title\": \"____ is my country\\n\"\n },\n \"data\": {\n \"templateName\": \"questionMetaDataTemplate\",\n \"action\": \"question-meta-save\",\n \"fields\": [\n {\n \"code\": \"name\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"text\",\n \"renderingHints\": {},\n \"name\": \"Title\",\n \"description\": \"Title of the question\",\n \"index\": 0,\n \"inputType\": \"text\",\n \"label\": \"Title\",\n \"placeholder\": \"Enter the Title\",\n \"required\": true\n },\n {\n \"code\": \"description\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"text\",\n \"renderingHints\": {},\n \"name\": \"Description\",\n \"description\": \"Brief description\",\n \"index\": 1,\n \"inputType\": \"textarea\",\n \"label\": \"Description\",\n \"placeholder\": \"Enter the Description\",\n \"required\": false\n },\n {\n \"code\": \"board\",\n \"visible\": true,\n \"depends\": [\n \"medium\",\n \"gradeLevel\",\n \"subject\",\n \"topic\"\n ],\n \"editable\": true,\n \"dataType\": \"text\",\n \"renderingHints\": {},\n \"description\": \"board\",\n \"index\": 2,\n \"label\": \"Board/Syllabus\",\n \"required\": true,\n \"name\": \"Board/Syllabus\",\n \"inputType\": \"select\",\n \"placeholder\": \"Select Board/Syllabus\"\n },\n {\n \"code\": \"medium\",\n \"visible\": true,\n \"depends\": [\n \"gradeLevel\",\n \"subject\",\n \"topic\"\n ],\n \"editable\": true,\n \"dataType\": \"text\",\n \"renderingHints\": {},\n \"description\": \"\",\n \"index\": 3,\n \"label\": \"Medium\",\n \"required\": true,\n \"name\": \"medium\",\n \"inputType\": \"select\",\n \"placeholder\": \"Select Medium\"\n },\n {\n \"code\": \"gradeLevel\",\n \"visible\": true,\n \"depends\": [\n \"subject\",\n \"topic\"\n ],\n \"editable\": true,\n \"dataType\": \"list\",\n \"renderingHints\": {},\n \"description\": \"Class\",\n \"index\": 4,\n \"label\": \"Grade Level\",\n \"required\": true,\n \"name\": \"Class\",\n \"inputType\": \"multiselect\",\n \"placeholder\": \"Select Grade\"\n },\n {\n \"code\": \"subject\",\n \"visible\": true,\n \"depends\": [\n \"topic\"\n ],\n \"editable\": true,\n \"dataType\": \"text\",\n \"renderingHints\": {},\n \"description\": \"Add subjects\",\n \"index\": 5,\n \"label\": \"Subject\",\n \"required\": true,\n \"name\": \"subject\",\n \"inputType\": \"select\",\n \"placeholder\": \"Select Subject\"\n },\n {\n \"code\": \"qlevel\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"text\",\n \"renderingHints\": {},\n \"description\": \"Add Notes\",\n \"index\": 7,\n \"range\": [\n \"EASY\",\n \"MEDIUM\",\n \"DIFFICULT\"\n ],\n \"label\": \"Level\",\n \"required\": true,\n \"name\": \"qlevel\",\n \"inputType\": \"select\",\n \"placeholder\": \"Select Level\"\n },\n {\n \"code\": \"max_score\",\n \"visible\": true,\n \"editable\": true,\n \"dataType\": \"number\",\n \"renderingHints\": {},\n \"description\": \"\",\n \"index\": 8,\n \"label\": \"Max Score\",\n \"required\": true,\n \"name\": \"max_score\",\n \"inputType\": \"number\",\n \"placeholder\": \"Enter the Max Score\",\n \"validation\": [\n {\n \"type\": \"min\",\n \"message\": \"\",\n \"value\": \"1\"\n }\n ]\n }\n ]\n }\n }\n}" - }, - "url": { - "raw": "{{host}}/api/data/v1/form/create", - "host": [ - "{{host}}" - ], - "path": [ - "api", - "data", - "v1", - "form", - "create" - ] - } - }, - "status": "OK", - "code": 200, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Date", - "value": "Tue, 02 Apr 2024 05:24:19 GMT" - }, - { - "key": "Content-Type", - "value": "application/json; charset=utf-8" - }, - { - "key": "Content-Length", - "value": "244" - }, - { - "key": "Connection", - "value": "keep-alive" - }, - { - "key": "X-RateLimit-Limit-hour", - "value": "5000" - }, - { - "key": "X-RateLimit-Remaining-hour", - "value": "4997" - }, - { - "key": "X-DNS-Prefetch-Control", - "value": "off" - }, - { - "key": "X-Frame-Options", - "value": "SAMEORIGIN" - }, - { - "key": "Strict-Transport-Security", - "value": "max-age=15552000; includeSubDomains" - }, - { - "key": "X-Download-Options", - "value": "noopen" - }, - { - "key": "X-Content-Type-Options", - "value": "nosniff" - }, - { - "key": "X-XSS-Protection", - "value": "1; mode=block" - }, - { - "key": "X-Powered-By", - "value": "Express" - }, - { - "key": "ETag", - "value": "W/\"f4-zLrj7Uq/r7ctOoQauIwsFN5/3vg\"" - }, - { - "key": "Access-Control-Allow-Origin", - "value": "*" - }, - { - "key": "X-Kong-Upstream-Latency", - "value": "5" - }, - { - "key": "X-Kong-Proxy-Latency", - "value": "14" - }, - { - "key": "Via", - "value": "kong/0.14.1" - } - ], - "cookie": [], - "body": "{\n \"id\": \"api.form.create\",\n \"params\": {\n \"resmsgid\": \"0ec8d94c-2528-4b3f-9a0c-bf4a4ad16097\",\n \"msgid\": \"2f8de9f8-2c9a-4e39-8c8d-06cf09a71ed0\",\n \"status\": \"successful\"\n },\n \"responseCode\": \"OK\",\n \"result\": {\n \"created\": \"OK\"\n },\n \"ts\": \"2024-04-02T05:24:19.843Z\",\n \"ver\": \"1.0\"\n}" - } - ] + "response": [] } ], "description": "Consumption portal form API's to enable the consumption workflows." } ] + }, + { + "name": "4 - Portal Basic", + "item": [ + { + "name": "1 - portal FAQ link", + "request": { + "method": "POST", + "header": [ + { + "key": "Authorization", + "value": "Bearer {{apikey}}", + "type": "text" + }, + { + "key": "x-authenticated-user-token", + "value": "{{access_token}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n\t\r\n\t\"request\" :\r\n\t\t{\r\n\t\t\t \"id\": \"portalFaqURL\",\r\n \"field\": \"portalFaqURL\",\r\n \"value\": \"https://{{blob_store_path}}.blob.core.windows.net/public/portal-faq/resources/res\"\r\n\t}\r\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": "{{host}}/api/data/v1/system/settings/set", + "description": "{\"request\":{\"type\":\"content\",\"action\":\"save\",\"subType\":\"resource\"}}" + }, + "response": [] + }, + { + "name": "2- app FAQ link", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"request\": {\n \"id\": \"appFaqURL\",\n \"field\": \"appFaqURL\",\n \"value\": \"https://{{blob_store_path}}.blob.core.windows.net/public/app-faq/resources/res\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": "{{host}}/api/data/v1/system/settings/set" + }, + "response": [] + } + ] } ] } diff --git a/scripts/keycloak-postgres-query/Dockerfile b/scripts/keycloak-postgres-query/Dockerfile index 3b42506..72a850e 100644 --- a/scripts/keycloak-postgres-query/Dockerfile +++ b/scripts/keycloak-postgres-query/Dockerfile @@ -8,8 +8,10 @@ RUN apt-get update && \ # Install kubectl RUN apt-get update && \ apt-get install -y apt-transport-https gnupg jq curl && \ - curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key add - && \ - echo "deb https://apt.kubernetes.io/ kubernetes-xenial main" > /etc/apt/sources.list.d/kubernetes.list && \ + curl -fsSL https://pkgs.k8s.io/core:/stable:/v1.30/deb/Release.key | gpg --dearmor -o /etc/apt/keyrings/kubernetes-apt-keyring.gpg && \ + chmod 644 /etc/apt/keyrings/kubernetes-apt-keyring.gpg && \ + echo 'deb [signed-by=/etc/apt/keyrings/kubernetes-apt-keyring.gpg] https://pkgs.k8s.io/core:/stable:/v1.30/deb/ /' | tee /etc/apt/sources.list.d/kubernetes.list && \ + chmod 644 /etc/apt/sources.list.d/kubernetes.list && \ apt-get update && \ apt-get install -y kubectl diff --git a/scripts/keycloak-postgres-query/execute_query.sh b/scripts/keycloak-postgres-query/execute_query.sh index 1daf994..c00323c 100644 --- a/scripts/keycloak-postgres-query/execute_query.sh +++ b/scripts/keycloak-postgres-query/execute_query.sh @@ -96,9 +96,11 @@ kubectl create configmap keycloak-kids-keys -n $NAMESPACE \ --from-literal=REFRESH_TOKEN_SECRET="$REFRESH_TOKEN_SECRET" \ --from-literal=KEYCLOAK_PUBLIC_KEY="$KEYCLOAK_PUBLIC_KEY" \ --from-literal=KEYCLOAK_PUBLIC_KEY_PEM="$KEYCLOAK_PUBLIC_KEY_PEM" \ - --from-literal=KEYCLOAK_PUBLIC_KEY_KID="$KEYCLOAK_PUBLIC_KEY_KID" -o yaml --dry-run=client | kubectl apply -f --server-side - + --from-literal=KEYCLOAK_PUBLIC_KEY_KID="$KEYCLOAK_PUBLIC_KEY_KID" -o yaml --dry-run=client > keycloak-kids-keys.yaml +kubectl apply -f keycloak-kids-keys.yaml kubectl create configmap keycloak-key -n $NAMESPACE \ - --from-literal=$KEYCLOAK_PUBLIC_KEY_KID="$KEYCLOAK_PUBLIC_KEY" -o yaml --dry-run=client | kubectl apply -f --server-side - + --from-literal=$KEYCLOAK_PUBLIC_KEY_KID="$KEYCLOAK_PUBLIC_KEY" -o yaml --dry-run=client > keycloak-key.yaml +kubectl apply -f keycloak-key.yaml # Assign service account role to lms client echo "Generate access token" diff --git a/terraform/azure/_common/aks.hcl b/terraform/azure/_common/aks.hcl index bf57a8a..6dde1f8 100644 --- a/terraform/azure/_common/aks.hcl +++ b/terraform/azure/_common/aks.hcl @@ -4,7 +4,7 @@ locals { environment_vars = read_terragrunt_config(find_in_parent_folders("environment.hcl")) environment = local.environment_vars.locals.environment building_block = local.environment_vars.locals.building_block - random_string = local.environment_vars.locals.random_string + # random_string = local.environment_vars.locals.random_string } # For local development diff --git a/terraform/azure/_common/keys.hcl b/terraform/azure/_common/keys.hcl index 783518f..652bcc0 100644 --- a/terraform/azure/_common/keys.hcl +++ b/terraform/azure/_common/keys.hcl @@ -4,7 +4,7 @@ locals { environment_vars = read_terragrunt_config(find_in_parent_folders("environment.hcl")) environment = local.environment_vars.locals.environment building_block = local.environment_vars.locals.building_block - random_string = local.environment_vars.locals.random_string + # random_string = local.environment_vars.locals.random_string } # For local development @@ -29,5 +29,5 @@ inputs = { storage_container_public = dependency.storage.outputs.azurerm_storage_container_public storage_container_private = dependency.storage.outputs.azurerm_storage_container_private storage_account_primary_access_key = dependency.storage.outputs.azurerm_storage_account_key - random_string = local.random_string + # random_string = local.random_string } \ No newline at end of file diff --git a/terraform/azure/_common/output-file.hcl b/terraform/azure/_common/output-file.hcl index acedb30..9d20bb6 100644 --- a/terraform/azure/_common/output-file.hcl +++ b/terraform/azure/_common/output-file.hcl @@ -5,7 +5,7 @@ locals { env = local.environment_vars.locals.env environment = local.environment_vars.locals.environment building_block = local.environment_vars.locals.building_block - random_string = local.environment_vars.locals.random_string + # random_string = local.environment_vars.locals.random_string } # For local development @@ -19,6 +19,11 @@ dependency "storage" { azurerm_storage_account_name = "dummy-account" azurerm_storage_container_public = "dummy-container-public" azurerm_storage_container_private = "dummy-container-private" + azurerm_flink_state_container_private = "dummy-container-flink" + azurerm_dial_state_container_public = "dummy-container-dail" + azurerm_telemetry_container_public = "dummy-container-telemetry" + azurerm_reports_container_private = "dummy-container-report" + azurerm_backups_container_private ="dummy-container-backups" azurerm_storage_account_key = "dummy-key" } } @@ -27,14 +32,27 @@ dependency "aks" { config_path = "../aks" } +dependency "keys" { + config_path = "../keys" + mock_outputs = { + random_string = "dummy-string" + } +} + inputs = { env = local.environment_vars.locals.env environment = local.environment building_block = local.building_block + private_ingressgateway_ip = dependency.aks.outputs.private_ingressgateway_ip storage_account_name = dependency.storage.outputs.azurerm_storage_account_name storage_container_public = dependency.storage.outputs.azurerm_storage_container_public storage_container_private = dependency.storage.outputs.azurerm_storage_container_private + reports_container_private = dependency.storage.outputs.azurerm_reports_container_private + backups_container_private = dependency.storage.outputs.azurerm_backups_container_private + flink_container_private = dependency.storage.outputs.azurerm_flink_state_container_private + dial_state_container_public = dependency.storage.outputs.azurerm_dial_state_container_public + telemetry_container_private = dependency.storage.outputs.azurerm_telemetry_container_private storage_account_primary_access_key = dependency.storage.outputs.azurerm_storage_account_key - private_ingressgateway_ip = dependency.aks.outputs.private_ingressgateway_ip - random_string = local.random_string + encryption_string = dependency.keys.outputs.encryption_string + random_string = dependency.keys.outputs.random_string } \ No newline at end of file diff --git a/terraform/azure/modules/aks/main.tf b/terraform/azure/modules/aks/main.tf index f68806f..2129f11 100644 --- a/terraform/azure/modules/aks/main.tf +++ b/terraform/azure/modules/aks/main.tf @@ -23,22 +23,23 @@ } resource "azuread_service_principal_password" "aks_sp_password" { - service_principal_id = azuread_service_principal.aks_sp.id - end_date_relative = var.end_date_relative - } + service_principal_id = azuread_service_principal.aks_sp.id + end_date = timeadd(timestamp(), var.end_date_relative) +} - resource "azurerm_role_assignment" "aks_sp_assignment" { - principal_id = azuread_service_principal.aks_sp.id - scope = var.vnet_subnet_id - role_definition_name = "Network Contributor" - } +resource "azurerm_role_assignment" "aks_sp_assignment" { + principal_id = split("/", azuread_service_principal.aks_sp.id)[2] + scope = var.vnet_subnet_id + role_definition_name = "Network Contributor" +} resource "azurerm_kubernetes_cluster" "aks" { name = "${local.environment_name}" location = var.location resource_group_name = var.resource_group_name dns_prefix = "${local.environment_name}" - + #Uncomment the below line to create a private cluster + # private_cluster_enabled = true default_node_pool { name = var.big_nodepool_name node_count = var.big_node_count @@ -65,22 +66,22 @@ depends_on = [ azurerm_role_assignment.aks_sp_assignment ] } - resource "azurerm_kubernetes_cluster_node_pool" "small_nodepool" { - name = var.small_nodepool_name - kubernetes_cluster_id = azurerm_kubernetes_cluster.aks.id - vm_size = var.small_node_size - node_count = var.small_node_count - vnet_subnet_id = var.vnet_subnet_id - mode = "System" - enable_auto_scaling = true - min_count = 1 - max_count = var.max_small_nodepool_nodes - tags = merge( - local.common_tags, - var.additional_tags - ) - depends_on = [ azurerm_kubernetes_cluster.aks ] - } + # resource "azurerm_kubernetes_cluster_node_pool" "small_nodepool" { + # name = var.small_nodepool_name + # kubernetes_cluster_id = azurerm_kubernetes_cluster.aks.id + # vm_size = var.small_node_size + # node_count = var.small_node_count + # vnet_subnet_id = var.vnet_subnet_id + # mode = "System" + # enable_auto_scaling = true + # min_count = 1 + # max_count = var.max_small_nodepool_nodes + # tags = merge( + # local.common_tags, + # var.additional_tags + # ) + # depends_on = [ azurerm_kubernetes_cluster.aks ] + # } resource "local_file" "kubeconfig" { content = azurerm_kubernetes_cluster.aks.kube_config_raw filename = pathexpand("~/.kube/config") diff --git a/terraform/azure/modules/aks/variables.tf b/terraform/azure/modules/aks/variables.tf index 3165f48..caacb0a 100644 --- a/terraform/azure/modules/aks/variables.tf +++ b/terraform/azure/modules/aks/variables.tf @@ -29,13 +29,13 @@ variable "big_nodepool_name" { variable "big_node_count" { type = number description = "Big node pool node count." - default = 1 + default = 3 } variable "big_node_size" { type = string description = "Big node pool node size." - default = "Standard_B32as_v2" + default = "Standard_B16as_v2" } variable "resource_group_name" { type = string @@ -53,23 +53,23 @@ variable "vnet_subnet_id" { description = "AKS cluster subnet id." } -variable "small_nodepool_name" { - type = string - description = "Small nodepool name." - default = "smallpool" -} +# variable "small_nodepool_name" { +# type = string +# description = "Small nodepool name." +# default = "smallpool" +# } -variable "small_node_count" { - type = number - description = "Small nodepool node count." - default = 1 -} +# variable "small_node_count" { +# type = number +# description = "Small nodepool node count." +# default = 1 +# } -variable "small_node_size" { - type = string - description = "Small nodepool node size." - default = "Standard_B8as_v2" -} +# variable "small_node_size" { +# type = string +# description = "Small nodepool node size." +# default = "Standard_B8as_v2" +# } variable "service_cidr" { type = string diff --git a/terraform/azure/modules/keys/main.tf b/terraform/azure/modules/keys/main.tf index 5c2b547..4e0478f 100644 --- a/terraform/azure/modules/keys/main.tf +++ b/terraform/azure/modules/keys/main.tf @@ -7,13 +7,32 @@ locals { global_values_jwt_file_location = "${var.base_location}/../../../../scripts/global-values-jwt-tokens.yaml" global_values_rsa_file_location = "${var.base_location}/../../../../scripts/global-values-rsa-keys.yaml" } +resource "random_password" "generated_string" { + length = 16 # Length of the string (can be between 12 and 24) + special = false # Do not include special characters + upper = true # Include uppercase letters + lower = true # Include lowercase letters + numeric = true # Include numbers +} +resource "random_password" "encryption_string" { + length = 32 # Length of the string (can be between 32) + special = false # Do not include special characters + upper = true # Include uppercase letters + lower = true # Include lowercase letters + numeric = true # Include numbers +} + resource "null_resource" "generate_jwt_keys" { triggers = { command = "${timestamp()}" } + provisioner "local-exec" { - command = "python3 ${local.jwt_script_location} ${var.random_string} && cp ${local.global_values_jwt_file_location} ${var.base_location}/../global-values-jwt-tokens.yaml" + command = <= 12 || length(var.random_string) <= 24 - error_message = "The string must have a length ranging from 12 to 24 characters." - } -} \ No newline at end of file + \ No newline at end of file diff --git a/terraform/azure/modules/output-file/global-cloud-values.yaml.tfpl b/terraform/azure/modules/output-file/global-cloud-values.yaml.tfpl index 877db30..9abe5ba 100644 --- a/terraform/azure/modules/output-file/global-cloud-values.yaml.tfpl +++ b/terraform/azure/modules/output-file/global-cloud-values.yaml.tfpl @@ -6,5 +6,12 @@ global: azure_storage_account_key: ${azure_storage_account_key} azure_public_container_name: ${azure_public_container_name} azure_private_container_name: ${azure_private_container_name} + azure_reports_container_name: ${azure_reports_container_name} + azure_flink_state_container_name: ${azure_flink_state_container_name} + azure_dial_state_container_name: ${azure_dial_state_container_name} + azure_backups_container_name: ${azure_backups_container_name} + azure_telemetry_container_name: ${azure_telemetry_container_name} private_ingressgateway_ip: ${private_ingressgateway_ip} - random_string: ${random_string} \ No newline at end of file + encryption__string: ${encryption_string} + random_string: ${random_string} + \ No newline at end of file diff --git a/terraform/azure/modules/output-file/main.tf b/terraform/azure/modules/output-file/main.tf index e99286b..13c9875 100644 --- a/terraform/azure/modules/output-file/main.tf +++ b/terraform/azure/modules/output-file/main.tf @@ -10,9 +10,15 @@ content = templatefile("${path.module}/global-cloud-values.yaml.tfpl", { azure_storage_account_name = var.storage_account_name, azure_storage_account_key = var.storage_account_primary_access_key, azure_public_container_name = var.storage_container_public, - azure_private_container_name = var.storage_container_private + azure_private_container_name = var.storage_container_private, + azure_reports_container_name = var.reports_container_private, + azure_backups_container_name = var.backups_container_private, + azure_flink_state_container_name = var.flink_container_private, + azure_dial_state_container_name = var.dial_state_container_public, + azure_telemetry_container_name = var.telemetry_container_private, + private_ingressgateway_ip = var.private_ingressgateway_ip, + encryption_string = var.encryption_string, random_string = var.random_string - private_ingressgateway_ip = var.private_ingressgateway_ip }) filename = local.global_values_cloud_file } diff --git a/terraform/azure/modules/output-file/variables.tf b/terraform/azure/modules/output-file/variables.tf index ebab318..b519c84 100644 --- a/terraform/azure/modules/output-file/variables.tf +++ b/terraform/azure/modules/output-file/variables.tf @@ -28,6 +28,29 @@ variable "storage_container_private" { description = "Private storage container name." } +variable "reports_container_private" { + type = string + description = "reports container name." +} +variable "backups_container_private" { + type = string + description = "backups storage container name." +} +variable "flink_container_private" { + type = string + description = "flink_ storage container name." + +} +variable "dial_state_container_public" { + type = string + description = "dial_state storage container name." +} +variable "telemetry_container_private" { + type = string + description = "telemetry storage container name." +} + + variable "storage_account_primary_access_key" { type = string description = "Storage account primary access key." @@ -49,4 +72,13 @@ variable "base_location" { variable "private_ingressgateway_ip" { type = string description = "Private LB IP." -} \ No newline at end of file +} +variable "encryption_string" { + type = string + description = "This string will be used to encrypt / mask various values. Use a strong random string in order to secure the applications. The string should be exactly 32 characters in length. If you forget the string, the application will stop working and the string cannot be retrieved." + + validation { + condition = length(var.encryption_string) == 32 + error_message = "The string must have a length of exactly 32 characters." + } +} diff --git a/terraform/azure/modules/storage/outputs.tf b/terraform/azure/modules/storage/outputs.tf index 1ef1564..dfd86ee 100644 --- a/terraform/azure/modules/storage/outputs.tf +++ b/terraform/azure/modules/storage/outputs.tf @@ -13,4 +13,19 @@ output "azurerm_storage_container_private" { output "azurerm_storage_container_public" { value = azurerm_storage_container.storage_container_public.name -} \ No newline at end of file +} +output "azurerm_reports_container_private" { + value = azurerm_storage_container.reports_container_private.name +} +output "azurerm_backups_container_private" { + value = azurerm_storage_container.backups_container_private.name +} +output "azurerm_flink_state_container_private" { + value = azurerm_storage_container.flink_state_container_private.name +} +output "azurerm_dial_state_container_public" { + value = azurerm_storage_container.dial_state_container_public.name +} +output "azurerm_telemetry_container_private" { + value = azurerm_storage_container.telemetry_container_private.name +} diff --git a/terraform/azure/modules/upload-files/variables.tf b/terraform/azure/modules/upload-files/variables.tf index 984c17e..1337b3c 100644 --- a/terraform/azure/modules/upload-files/variables.tf +++ b/terraform/azure/modules/upload-files/variables.tf @@ -22,11 +22,11 @@ variable "sunbird_public_artifacts_account" { variable "sunbird_public_artifacts_account_sas_url" { type = string description = "The readonly sas token url for the sunbird public account." - default = "https://downloadableartifacts.blob.core.windows.net/?sv=2022-11-02&ss=b&srt=co&sp=rlitf&se=2024-06-30T09:36:39Z&st=2024-02-01T19:36:39Z&spr=https&sig=uLO4%2BSOEYt05kMSRy3M%2BxWUpU832U5TFo4eU0LkcTsQ%3D" + default = "https://downloadableartifacts.blob.core.windows.net/?sv=2022-11-02&ss=bf&srt=co&sp=rlitfx&se=2026-08-30T20:37:29Z&st=2024-07-10T12:37:29Z&spr=https&sig=hcXksbrbR%2BJgCB0EKxiwHCSsQ6r2eSlyOVnqnjxFOH0%3D" } variable "sunbird_public_artifacts_container" { type = string description = "The container name dedicated for this release which holds the storage artifatcs." - default = "release600" -} \ No newline at end of file + default = "release700" +} diff --git a/terraform/azure/template/environment.hcl b/terraform/azure/template/environment.hcl index 433ac67..97b503e 100644 --- a/terraform/azure/template/environment.hcl +++ b/terraform/azure/template/environment.hcl @@ -3,5 +3,5 @@ locals { building_block = "ed" # building block name env = "dev" # don't change this value environment = "REPLACE_ME" # use lowercase alphanumeric string between 1-9 characters - random_string = "REPLACE_ME" # use lowercase alphanumeric string between 12-24 characters + # random_string = "REPLACE_ME" # use lowercase alphanumeric string between 12-24 characters } \ No newline at end of file diff --git a/terraform/azure/template/global-values.yaml b/terraform/azure/template/global-values.yaml index 8ce4d7f..2614d4f 100644 --- a/terraform/azure/template/global-values.yaml +++ b/terraform/azure/template/global-values.yaml @@ -1,8 +1,18 @@ global: - release_version: release-6.0.0 + release_version: release-7.0.0 # Provide your domain name # Example: sunbird.com domain: "REPLACE_ME" + # Provide values for the following variables + sunbird_google_captcha_site_key: + google_captcha_private_key: + sunbird_google_oauth_clientId: + sunbird_google_oauth_clientSecret: + mail_server_from_email: "" + sunbird_msg_91_auth: "" + sunbird_msg_sender: "" + mail_server_password: "" + youtube_apikey: "" # The merge domain is optional and is required only if user merge workflow is required. # For most audience, this workflow is not required. If you need this workflow, then # set the value of merge_domain_status to "true" and provide a subdomain / another domain @@ -65,4 +75,5 @@ global: proxy_private_key: | REPLACE_ME proxy_certificate: | - REPLACE_ME \ No newline at end of file + REPLACE_ME + # CERTIFICATE-KEYS \ No newline at end of file diff --git a/terraform/azure/template/install.sh b/terraform/azure/template/install.sh index 34ec18b..f91e789 100755 --- a/terraform/azure/template/install.sh +++ b/terraform/azure/template/install.sh @@ -34,11 +34,15 @@ function certificate_keys() { echo "Creation of RSA keys for certificate signing" openssl genrsa -out ../terraform/azure/$environment/certkey.pem; openssl rsa -in ../terraform/azure/$environment/certkey.pem -pubout -out ../terraform/azure/$environment/certpubkey.pem; - CERTPRIVATEKEY=`sed 's/KEY-----/KEY-----\\n/g' ../terraform/azure/$environment/certkey.pem | sed 's/-----END/\\n-----END/g' | awk '{printf("%s",$0)}' ` - echo "CERTIFICATE_PRIVATE_KEY: \""$CERTPRIVATEKEY"\"" >> ../terraform/azure/$environment/global-values.yaml - awk '{if($0 !~ /END/) printf "%s\\r\\n",$0;} END{printf "-----END PUBLIC KEY-----"}' ../terraform/azure/$environment/certpubkey.pem |awk '{print "CERTIFICATE_PUBLIC_KEY: \""$0"\""}' >> ../terraform/azure/$environment/global-values.yaml - echo "CERTIFICATESIGN_PRIVATE_KEY: \""$CERTPRIVATEKEY"\"" >> ../terraform/azure/$environment/global-values.yaml - awk '{if($0 !~ /END/) printf "%s\\r\\n",$0;} END{printf "-----END PUBLIC KEY-----"}' ../terraform/azure/$environment/certpubkey.pem |awk '{print "CERTIFICATESIGN_PUBLIC_KEY: \""$0"\""}' >> ../terraform/azure/$environment/global-values.yaml + CERTPRIVATEKEY=$(sed 's/KEY-----/KEY-----\\n/g' ../terraform/azure/$environment/certkey.pem | sed 's/-----END/\\n-----END/g' | awk '{printf("%s",$0)}') + CERTPUBLICKEY=$(sed 's/KEY-----/KEY-----\\n/g' ../terraform/azure/$environment/certpubkey.pem | sed 's/-----END/\\n-----END/g' | awk '{printf("%s",$0)}') + CERTIFICATESIGNPRKEY=$(sed 's/BEGIN PRIVATE KEY-----/BEGIN PRIVATE KEY-----\\\\n/g' ../terraform/azure/$environment/certkey.pem | sed 's/-----END PRIVATE KEY/\\\\n-----END PRIVATE KEY/g' | awk '{printf("%s",$0)}') + CERTIFICATESIGNPUKEY=$(sed 's/BEGIN PUBLIC KEY-----/BEGIN PUBLIC KEY-----\\\\n/g' ../terraform/azure/$environment/certpubkey.pem | sed 's/-----END PUBLIC KEY/\\\\n-----END PUBLIC KEY/g' | awk '{printf("%s",$0)}') + printf "\n" >> ../terraform/azure/$environment/global-values.yaml + echo " CERTIFICATE_PRIVATE_KEY: \"$CERTPRIVATEKEY\"" >> ../terraform/azure/$environment/global-values.yaml + echo " CERTIFICATE_PUBLIC_KEY: \"$CERTPUBLICKEY\"" >> ../terraform/azure/$environment/global-values.yaml + echo " CERTIFICATESIGN_PRIVATE_KEY: \"$CERTIFICATESIGNPRKEY\"" >> ../terraform/azure/$environment/global-values.yaml + echo " CERTIFICATESIGN_PUBLIC_KEY: \"$CERTIFICATESIGNPUKEY\"" >> ../terraform/azure/$environment/global-values.yaml } function certificate_config() { @@ -71,19 +75,24 @@ function install_component() { ed_values_flag="-f $component/ed-values.yaml --wait --wait-for-jobs" fi ### Generate the key pair required for certificate template - if [ $component = "learnbb" ]; then + if [ $component = "learnbb" ]; then + if kubectl get job keycloak-kids-keys -n sunbird >/dev/null 2>&1; then + echo "Deleting existing job keycloak-kids-keys..." + kubectl delete job keycloak-kids-keys -n sunbird + fi + if [ -f "certkey.pem" ] && [ -f "certpubkey.pem" ]; then echo "Certificate keys are already created. Skipping the keys creation..." else - certificate_keys + certificate_keys fi - fi + fi helm upgrade --install "$component" "$component" --namespace sunbird -f "$component/values.yaml" \ $ed_values_flag \ -f "../terraform/azure/$environment/global-values.yaml" \ -f "../terraform/azure/$environment/global-values-jwt-tokens.yaml" \ -f "../terraform/azure/$environment/global-values-rsa-keys.yaml" \ - -f "../terraform/azure/$environment/global-cloud-values.yaml" --timeout 30m + -f "../terraform/azure/$environment/global-cloud-values.yaml" --timeout 30m --debug } function install_helm_components() { @@ -94,7 +103,7 @@ function install_helm_components() { } function dns_mapping() { - domain_name=$(kubectl get cm -n sunbird report-env -ojsonpath='{.data.SUNBIRD_ENV}') + domain_name=$(kubectl get cm -n sunbird lms-env -ojsonpath='{.data.sunbird_web_url}') PUBLIC_IP=$(kubectl get svc -n sunbird nginx-public-ingress -ojsonpath='{.status.loadBalancer.ingress[0].ip}') local timeout=$((SECONDS + 1200)) @@ -124,11 +133,12 @@ function generate_postman_env() { if [ "$(basename $current_directory)" != "$environment" ]; then cd ../terraform/azure/$environment 2>/dev/null || true fi - domain_name=$(kubectl get cm -n sunbird report-env -ojsonpath='{.data.SUNBIRD_ENV}') + domain_name=$(kubectl get cm -n sunbird lms-env -ojsonpath='{.data.sunbird_web_url}') + blob_store_path=$(kubectl get cm -n sunbird player-env -ojsonpath='{.data.cloud_private_storage_accountname}') api_key=$(kubectl get cm -n sunbird player-env -ojsonpath='{.data.sunbird_api_auth_token}') keycloak_secret=$(kubectl get cm -n sunbird player-env -ojsonpath='{.data.sunbird_portal_session_secret}') - keycloak_admin=$(kubectl get cm -n sunbird learner-env -ojsonpath='{.data.sunbird_sso_username}') - keycloak_password=$(kubectl get cm -n sunbird learner-env -ojsonpath='{.data.sunbird_sso_password}') + keycloak_admin=$(kubectl get cm -n sunbird userorg-env -ojsonpath='{.data.sunbird_sso_username}') + keycloak_password=$(kubectl get cm -n sunbird userorg-env -ojsonpath='{.data.sunbird_sso_password}') generated_uuid=$(uuidgen) temp_file=$(mktemp) cp postman.env.json "${temp_file}" @@ -138,6 +148,7 @@ function generate_postman_env() { -e "s|REPLACE_WITH_KEYCLOAK_ADMIN|${keycloak_admin}|g" \ -e "s|REPLACE_WITH_KEYCLOAK_PASSWORD|${keycloak_password}|g" \ -e "s|GENERATE_UUID|${generated_uuid}|g" \ + -e "s|BLOB_STORE_PATH|${blob_store_path}|g" \ "${temp_file}" >"env.json" echo -e "A env.json file is created in this directory: terraform/azure/$environment" @@ -146,10 +157,9 @@ function generate_postman_env() { function restart_workloads_using_keys() { echo -e "\nRestart workloads using keycloak keys and wait for them to start..." - kubectl rollout restart deployment -n sunbird neo4j knowledge-mw player report content adminutil cert-registry groups learner lms notification registry analytics - kubectl rollout status deployment -n sunbird neo4j knowledge-mw player report content adminutil cert-registry groups learner lms notification registry analytics + kubectl rollout restart deployment -n sunbird neo4j knowledge-mw player report content adminutil cert-registry groups userorg lms notification registry analytics + kubectl rollout status deployment -n sunbird neo4j knowledge-mw player report content adminutil cert-registry groups userorg lms notification registry analytics echo -e "\nWaiting for all pods to start" - certificate_config } function run_post_install() { @@ -157,33 +167,26 @@ function run_post_install() { if [ "$(basename $current_directory)" != "$environment" ]; then cd ../terraform/azure/$environment 2>/dev/null || true fi - echo -e "\nRemove any orphaned pods if they exist." - kubectl get pod -n sunbird --no-headers | grep -v Completed | grep -v Running | awk '{print $1}' | xargs -I {} kubectl delete -n sunbird pod {} || true - local timeout=$((SECONDS + 600)) - consecutive_runs=0 - echo "Ensure the post are stable for 100 seconds" - while [ $SECONDS -lt $timeout ]; do - if ! kubectl get pods --no-headers -n sunbird | grep -v Running | grep -v Completed; then - echo "All pods are running successfully." - break - else - ((consecutive_runs++)) - fi - - if [ $consecutive_runs -ge 10 ]; then - echo "Timed out after 10 tries. Some pods are still not running successfully. Check the crashing pod logs and resolve the issues. Once pods are running successfully, re-reun this script as below:" - echo "./install.sh run_post_install" - exit - fi - - echo "Number of crashing pods found. Countdown to 10" - sleep 10 - done - echo "All pods are running successfully." + check_pod_status echo "Starting post install..." cp ../../../postman-collection/collection${RELEASE}.json . postman collection run collection${RELEASE}.json --environment env.json --delay-request 500 --bail --insecure } + +function create_client_forms() { + local current_directory="$(pwd)" + if [ "$(basename $current_directory)" != "$environment" ]; then + cd ../terraform/azure/$environment 2>/dev/null || true + fi + cp -rf ../../../postman-collection/ED-${RELEASE} . + check_pod_status + #loop through files inside collection folder + for FILES in ED-${RELEASE}/*.json; do + echo "Creating client forms in.. $FILES" + postman collection run $FILES --environment env.json --delay-request 500 --bail --insecure + done + } + function cleanworkspace() { rm certkey.pem certpubkey.pem sed -i '/CERTIFICATE_PRIVATE_KEY:/d' global-values.yaml @@ -205,7 +208,33 @@ function invoke_functions() { done } -RELEASE="release600" +function check_pod_status() { + echo -e "\nRemove any orphaned pods if they exist." + kubectl get pod -n sunbird --no-headers | grep -v Completed | grep -v Running | awk '{print $1}' | xargs -I {} kubectl delete -n sunbird pod {} || true + local timeout=$((SECONDS + 600)) + consecutive_runs=0 + echo "Ensure the post are stable for 100 seconds" + while [ $SECONDS -lt $timeout ]; do + if ! kubectl get pods --no-headers -n sunbird | grep -v Running | grep -v Completed; then + echo "All pods are running successfully." + break + else + ((consecutive_runs++)) + fi + + if [ $consecutive_runs -ge 10 ]; then + echo "Timed out after 10 tries. Some pods are still not running successfully. Check the crashing pod logs and resolve the issues. Once pods are running successfully, re-reun this script as below:" + echo "./install.sh run_post_install" + exit + fi + + echo "Number of crashing pods found. Countdown to 10" + sleep 10 + done + echo "All pods are running successfully." +} + +RELEASE="release700" POSTMAN_COLLECTION_LINK="https://api.postman.com/collections/5338608-e28d5510-20d5-466e-a9ad-3fcf59ea9f96?access_key=PMAT-01HMV5SB2ZPXCGNKD74J7ARKRQ" CERTPUBLICKEY="" CERTPRIVATEKEY="" @@ -219,9 +248,11 @@ if [ $# -eq 0 ]; then install_helm_components cd ../terraform/azure/$environment restart_workloads_using_keys + certificate_config dns_mapping generate_postman_env run_post_install + create_client_forms else case "$1" in "create_tf_backend") @@ -252,6 +283,9 @@ else "certificate_config") certificate_config ;; + "create_client_forms") + create_client_forms + ;; *) invoke_functions "$@" ;; diff --git a/terraform/azure/template/postman.env.json b/terraform/azure/template/postman.env.json index 74ae7f9..c6722ca 100644 --- a/terraform/azure/template/postman.env.json +++ b/terraform/azure/template/postman.env.json @@ -49,6 +49,12 @@ "value": "REPLACE_WITH_KEYCLOAK_PASSWORD", "type": "default", "enabled": true + }, + { + "key": "blob_store_path", + "value": "BLOB_STORE_PATH", + "type": "default", + "enabled": true } ], "_postman_variable_scope": "environment"