/
Program Configuration

Program Configuration

Creation API

 

curl --location --request POST 'https://dev.sunbirded.org/plugin/program/v1/create' \ --header 'Content-Type: application/json' \ --data-raw '{ "request": { "config": { "_comments": "", "loginReqired": true, "framework": "NCFCOPY", "roles": [ { "id": 1, "name": "CONTRIBUTOR", "default": true, "defaultTab": 1, "tabs": [ 1 ] }, { "id": 2, "name": "REVIEWER", "defaultTab": 2, "tabs": [ 2 ] } ], "header": { "id": "ng.sunbird.header", "ver": "1.0", "compId": "headerComp", "author": "Venkat", "description": "", "publishedDate": "", "data": {}, "config": { "tabs": [ { "index": 1, "label": "Contribute", "onClick": "collectionComponent" }, { "index": 2, "label": "Review", "onClick": "collectionComponent" }, { "index": 3, "label": "Dashboard", "onClick": "dashboardComponent" } ] } }, "components": [ { "id": "ng.sunbird.collection", "ver": "1.0", "compId": "collectionComponent", "author": "Venkat", "description": "", "publishedDate": "", "data": {}, "config": { "filters": { "implicit": [ { "code": "framework", "defaultValue": "NCFCOPY", "label": "Framework" }, { "code": "board", "defaultValue": "NCERT", "label": "Board" }, { "code": "medium", "defaultValue": [ "English" ], "label": "Medium" } ], "explicit": [ { "code": "gradeLevel", "range": [ "Kindergarten", "Grade 1", "Grade 2", "Grade 3" ], "label": "Class", "multiselect": false, "defaultValue": [ "Kindergarten", "Grade 1" ], "visibility": true }, { "code": "subject", "range": [ "English", "Mathematics", "Hindi" ], "label": "Subject", "multiselect": false, "defaultValue": [ "English" ], "visibility": true } ] }, "groupBy": { "value": "subject", "defaultValue": "subject" }, "collectionType": "Textbook", "collectionList": [], "status": [ "Draft", "Live" ] } }, { "id": "ng.sunbird.chapterList", "ver": "1.0", "compId": "chapterListComponent", "author": "Kartheek", "description": "", "publishedDate": "", "data": {}, "config": { "contentTypes": { "value": [ { "id": "explanationContent", "label": "Explanation", "onClick": "uploadComponent", "mimeType": [ "application/pdf" ], "metadata": { "name": "Explanation Resource", "description": "ExplanationResource", "resourceType": "Read", "contentType": "ExplanationResource", "audience": [ "Learner" ], "appIcon": "https://ntpstagingall.blob.core.windows.net/ntp-content-staging/content/do_21291553051403878414/artifact/explanation.thumb_1576602846206.png", "marks": 5 }, "filesConfig": { "accepted": "pdf", "size": "50" } }, { "id": "experientialContent", "label": "Experiential", "onClick": "uploadComponent", "mimeType": [ "video/mp4" ], "metadata": { "name": "Experiential Resource", "description": "ExperientialResource", "resourceType": "Read", "contentType": "ExperientialResource", "audience": [ "Learner" ], "appIcon": "https://ntpstagingall.blob.core.windows.net/ntp-content-staging/content/do_21291553051403878414/artifact/explanation.thumb_1576602846206.png", "marks": 5 }, "filesConfig": { "accepted": "mp4", "size": "50" } }, { "id": "focusSpotContent", "label": "FocusSpot", "onClick": "uploadComponent", "mimeType": [ "application/pdf" ], "metadata": { "name": "FocusSpot Resource", "description": "FocusSpot", "resourceType": "Read", "contentType": "FocusSpot", "audience": [ "Learner" ], "appIcon": "https://ntpstagingall.blob.core.windows.net/ntp-content-staging/content/do_21291553100098764812/artifact/focus-spot_1561727473311.thumb_1576602905573.png", "marks": 5 }, "filesConfig": { "accepted": "pdf", "size": "50" } }, { "id": "vsaPracticeQuestionContent", "label": "VSA - Practice Sets", "onClick": "questionSetComponent", "mimeType": [ "application/vnd.ekstep.ecml-archive" ], "metadata": { "name": "Practice QuestionSet", "description": "Practice QuestionSet", "resourceType": "Learn", "contentType": "PracticeQuestionSet", "audience": [ "Learner" ], "appIcon": "", "marks": 5 }, "questionCategories": [ "vsa" ] }, { "id": "saPracticeQuestionContent", "label": "SA - Practice Sets", "onClick": "questionSetComponent", "mimeType": [ "application/vnd.ekstep.ecml-archive" ], "metadata": { "name": "Practice QuestionSet", "description": "Practice QuestionSet", "resourceType": "Learn", "contentType": "PracticeQuestionSet", "audience": [ "Learner" ], "appIcon": "", "marks": 5 }, "questionCategories": [ "sa" ] }, { "id": "laPracticeQuestionContent", "label": "LA - Practice Sets", "onClick": "questionSetComponent", "mimeType": [ "application/vnd.ekstep.ecml-archive" ], "metadata": { "name": "Practice QuestionSet", "description": "Practice QuestionSet", "resourceType": "Learn", "contentType": "PracticeQuestionSet", "audience": [ "Learner" ], "appIcon": "", "marks": 5 }, "questionCategories": [ "la" ] }, { "id": "mcqPracticeQuestionContent", "label": "MCQ - Practice Sets", "onClick": "questionSetComponent", "mimeType": [ "application/vnd.ekstep.ecml-archive" ], "metadata": { "name": "Practice QuestionSet", "description": "Practice QuestionSet", "resourceType": "Learn", "contentType": "PracticeQuestionSet", "audience": [ "Learner" ], "appIcon": "", "marks": 5 }, "questionCategories": [ "mcq" ] }, { "id": "curiositySetContent", "label": "Curiosity Sets", "onClick": "curiositySetComponent", "mimeType": [ "application/vnd.ekstep.ecml-archive" ], "metadata": { "name": "Curiosity QuestionSet", "description": "Curiosity QuestionSet", "resourceType": "Learn", "contentType": "CuriosityQuestionSet", "audience": [ "Learner" ], "appIcon": "", "marks": 5 }, "questionCategories": [ "curiosity" ] } ], "defaultValue": [ { "id": "vsaPracticeQuestionContent", "label": "Practice Sets", "onClick": "questionSetComponent", "mimeType": [ "application/vnd.ekstep.ecml-archive" ], "metadata": { "name": "Practice QuestionSet", "description": "Practice QuestionSet", "resourceType": "Learn", "contentType": "PracticeQuestionSet", "audience": [ "Learner" ], "appIcon": "", "marks": 5 }, "questionCategories": [ "vsa" ] } ] } } }, { "id": "ng.sunbird.uploadComponent", "ver": "1.0", "compId": "uploadContentComponent", "author": "Kartheek", "description": "", "publishedDate": "", "data": {}, "config": { "filesConfig": { "accepted": "pdf, mp4, webm, youtube", "size": "50" }, "formConfiguration": [ { "code": "learningOutcome", "dataType": "list", "description": "Learning Outcomes For The Content", "editable": true, "inputType": "multiselect", "label": "Learning Outcome", "name": "LearningOutcome", "placeholder": "Select Learning Outcomes", "required": false, "visible": true }, { "code": "bloomslevel", "dataType": "list", "description": "Learning Level For The Content", "editable": true, "inputType": "select", "label": "Learning Level", "name": "LearningLevel", "placeholder": "Select Learning Levels", "required": true, "visible": true, "defaultValue": [ "remember", "understand", "apply", "analyse", "evaluate", "create" ] }, { "code": "creator", "dataType": "text", "description": "Enter The Author Name", "editable": true, "inputType": "text", "label": "Author", "name": "Author", "placeholder": "Enter Author Name", "required": true, "visible": true }, { "code": "license", "dataType": "list", "description": "License For The Content", "editable": true, "inputType": "select", "label": "License", "name": "License", "placeholder": "Select License", "required": true, "visible": true } ], "resourceTitleLength": "200", "tenantName": "SunbirdEd" } }, { "id": "ng.sunbird.practiceSetComponent", "ver": "1.0", "compId": "practiceSetComponent", "author": "Kartheek", "description": "", "publishedDate": "", "data": {}, "config": { "No of options": 4, "solutionType": [ "Video", "Text & image" ], "questionCategory": [ "vsa", "sa", "ls", "mcq", "curiosity" ], "formConfiguration": [ { "code": "learningOutcome", "dataType": "list", "description": "Learning Outcomes For The Content", "editable": true, "inputType": "multiselect", "label": "Learning Outcome", "name": "LearningOutcome", "placeholder": "Select Learning Outcomes", "required": false, "visible": true }, { "code": "bloomsLevel", "dataType": "list", "description": "Learning Level For The Content", "editable": true, "inputType": "multiselect", "label": "Learning Level", "name": "LearningLevel", "placeholder": "Select Learning Levels", "required": true, "visible": true, "defaultValue": [ "remember", "understand", "apply", "analyse", "evaluate", "create" ] }, { "code": "creator", "dataType": "text", "description": "Enter The Author Name", "editable": true, "inputType": "text", "label": "Author", "name": "Author", "placeholder": "Enter Author Name", "required": true, "visible": true }, { "code": "license", "dataType": "list", "description": "License For The Content", "editable": true, "inputType": "select", "label": "License", "name": "License", "placeholder": "Select License", "required": true, "visible": true } ], "resourceTitleLength": "200", "tenantName": "", "assetConfig": { "image": { "size": "50" }, "video": { "size": "50", "accepted": "pdf, mp4, webm, youtube" } } } }, { "id": "ng.sunbird.dashboard", "ver": "1.0", "compId": "dashboardComp", "author": "Venkanna Gouda", "description": "", "publishedDate": "", "data": {}, "config": {} } ], "actions": { "showCountPanel": { "roles": [ 1, 2 ] }, "showContribution": { "roles": [ 1 ] }, "showUpforReview": { "roles": [ 2 ] }, "showTotalContribution": { "roles": [ 1 ] }, "showMyContribution": { "roles": [ 1 ] }, "showRejected": { "roles": [ 1 ] }, "showUnderReview": { "roles": [ 1 ] }, "showTotalUnderReview": { "roles": [ 2 ] }, "showAawaitingReview": { "roles": [ 2 ] }, "showFilters": { "roles": [ 1, 2, 3 ] }, "showAddResource": { "roles": [ 1 ] }, "showEditResource": { "roles": [ 1 ] }, "showMoveResource": { "roles": [ 1 ] }, "showDeleteResource": { "roles": [ 1 ] }, "showPreviewResource": { "roles": [ 2 ] }, "showDashboard": { "roles": [ 3 ] }, "showCert": { "roles": [ 4 ] }, "showSave": { "roles": [ 1 ] }, "showEdit": { "roles": [ 1 ] }, "showChangeFile": { "roles": [ 1 ] }, "showRequestChanges": { "roles": [ 2 ] }, "showPublish": { "roles": [ 2 ] }, "showSubmit": { "roles": [ 1 ] }, "showCreatorView": { "roles": [ 1 ] }, "showReviewerView": { "roles": [ 2 ] }, "showCreateQuestion": { "roles": [ 1 ] }, "showDeleteQuestion": { "roles": [ 1 ] } }, "onBoardingForm": { "templateName": "onBoardingForm", "action": "onboard", "fields": [ { "code": "school", "dataType": "text", "name": "School", "label": "School", "description": "School", "inputType": "select", "required": false, "displayProperty": "Editable", "visible": true, "range": [ { "identifier": "my_school", "code": "my_school", "name": "My School", "description": "My School", "index": 1, "category": "school", "status": "Live" } ], "index": 1 } ] }, "sharedContext": [ "channel", "framework", "board", "medium", "gradeLevel", "subject", "topic" ] }, "defaultRoles": [ "CONTRIBUTOR" ], "description": "hello program", "imagePath": null, "name": "State Rajasthan Program", "rootOrgId": "0124511394914140160", "rootOrgName": null, "slug": "sunbird", "startDate": "2019-02-03T12:50:30.000Z", "type": "public" } }'

 

Program Read API

 

curl --location --request GET '{{host}}/plugin/program/v1/read/:programID' \ --header 'Content-Type: application/json' \ --data-raw ''

 

Program Participant Update API

 

curl --location --request PATCH '{{host}}/plugin/program/v1/update/participant' \ --header 'Content-Type: application/json' \ --data-raw '{ "request": { "programId": <programID>, "userId": <userID>, "roles": [ "PUBLISHER" ], "onBoarded": true } }'

 

Program Update API

 

curl --location --request PATCH '{{host}}/plugin/program/v1/update' \ --header 'Content-Type: application/json' \ --data-raw '{ "request": { "programId": <programID>, "config": <config object>, "defaultRoles": [ "CONTRIBUTOR" ], "description": "hello program", "name": "New Dev Program", "rootOrgId": "ORG_001", "slug": "sunbird", "startDate": "2019-02-03T12:50:30.000Z", "type": "public" } }'

 

Creation configuration explanation

 

{ "config": { "loginReqired": true, // "framework": "", // (String) - framework of the program. For ex: 'NCF', 'NCFCOPY', 'rj_k-12_1'... // Roles available in the program "roles": [ { "id":, // (Number) - unique index number for the role. For ex: 1, 2, .. "name": "", // (String) - role for program. for ex: 'CONTRIBUTOR', 'Reviewer' "default":, // (Boolean) - to decide if this role is a default role on onboard of program: For ex: true or false, "defaultTab":, // (Number) - index of the tab in "tabs" property in "header" configuration: For ex: 1, 2 or based on 'headers.config.tabs' "tabs": [] // (Array of tab index) - tabs to be visible for this role. For ex: [1] or [1, 2] or [1, 2, 3] based on available 'tabs' indices } ] // Header tabs/menu configuration "header": { "id": "ng.sunbird.header", "ver": "1.0", "compId": "headerComp", "author": "Venkat", "description": "", "publishedDate": "", "data": {}, "config": { "tabs": [ // (Array of objects): program tabs { "index": 1, // (Number) index for each tab. For ex: 1, 2 ... "label": "", // (String) lable for each tab. For ex: 'Contribute', 'Review' etc "onClick": "" // (String) on click of tab, the component to load. For ex: 'collectionComponent' or 'dashboardComponent' or 'uploadComponent' } ] } }, // Components required to achieve the purpose of the program "components": [ // (Array of objects) { "id": "ng.sunbird.collection", // (string) unique component id. For ex: ng.sunbird.xxxx "ver": "1.0", "compId": "collectionComponent", "author": "Venkat", "description": "", "publishedDate": "", "data": {}, "config": { // config for collection component "filters": { // filters "implicit": [ { "code": "framework", "defaultValue": "rj_k-12_1", "label": "Framework" }, { "code": "board", "defaultValue": "State (Rajasthan)", "label": "Board" }, { "code": "medium", "defaultValue": [ "English" ], "label": "Medium" } ], "explicit": [ { "code": "gradeLevel", "range": [ "Class 9", "Class 10" ], "label": "Class", "multiselect": false, "defaultValue": [ "Class 9", "Class 10" ], "visibility": true }, { "code": "subject", "range": [ "Mathematics", "Science" ], "label": "Subject", "multiselect": false, "defaultValue": [ "Mathematics" ], "visibility": true } ] }, "groupBy": { "value": "subject", "defaultValue": "subject" }, "collectionType": "Textbook", "collectionList": [], "status": [ "Draft", "Live" ] } }, { "id": "ng.sunbird.chapterList", "ver": "1.0", "compId": "chapterListComponent", "author": "Kartheek", "description": "", "publishedDate": "", "data": {}, "config": { "contentTypes": { "value": [ { "id": "explanationContent", "label": "Explanation", "onClick": "uploadComponent", "mimeType": [ "video/mp4" ], "metadata": { "name": "Explanation Resource", "description": "ExplanationResource", "resourceType": "Read", "contentType": "ExplanationResource", "audience": [ "Learner" ], "appIcon": "https://ntpproductionall.blob.core.windows.net/ntp-content-production/content/do_31280847585016217619710/artifact/explanation.thumb.png", "marks": 5 }, "filesConfig": { "accepted": "mp4", "size": "50" } }, { "id": "experientialContent", "label": "Experiential", "onClick": "uploadComponent", "mimeType": [ "video/mp4" ], "metadata": { "name": "Experiential Resource", "description": "ExperientialResource", "resourceType": "Read", "contentType": "ExperientialResource", "audience": [ "Learner" ], "appIcon": "https://ntpproductionall.blob.core.windows.net/ntp-content-production/content/do_31280561379920281615017/artifact/experiential.thumb.png", "marks": 5 }, "filesConfig": { "accepted": "mp4", "size": "50" } }, { "id": "focusSpotContent", "label": "FocusSpot", "onClick": "uploadComponent", "mimeType": [ "application/pdf" ], "metadata": { "name": "FocusSpot Resource", "description": "FocusSpot", "resourceType": "Read", "contentType": "FocusSpot", "audience": [ "Learner" ], "appIcon": "https://ntpproductionall.blob.core.windows.net/ntp-content-production/content/do_31291455031832576019477/artifact/3_1535000262441.thumb.png", "marks": 5 }, "filesConfig": { "accepted": "pdf", "size": "50" } }, { "id": "lessonPlanContent", "label": "Lesson Plan", "onClick": "uploadComponent", "mimeType": [ "application/pdf" ], "metadata": { "name": "LessonPlan Resource", "description": "Lesson Plan", "resourceType": "Read", "contentType": "LessonPlan", "audience": [ "Learner" ], "appIcon": "https://ntpproductionall.blob.core.windows.net/ntp-content-production/content/assets/do_31279372738051276818116/lessonplan.png", "marks": 5 }, "filesConfig": { "accepted": "pdf", "size": "50" } }, { "id": "vsaPracticeQuestionContent", "label": "VSA - Practice Sets", "onClick": "questionSetComponent", "mimeType": [ "application/vnd.ekstep.ecml-archive" ], "metadata": { "name": "Practice QuestionSet", "description": "Practice QuestionSet", "resourceType": "Learn", "contentType": "PracticeQuestionSet", "audience": [ "Learner" ], "appIcon": "https://ntpproductionall.blob.core.windows.net/ntp-content-production/content/do_31281765358595276811728/artifact/qa_1561455529937.thumb.png", "marks": 5 }, "questionCategories": [ "vsa" ] }, { "id": "saPracticeQuestionContent", "label": "SA - Practice Sets", "onClick": "questionSetComponent", "mimeType": [ "application/vnd.ekstep.ecml-archive" ], "metadata": { "name": "Practice QuestionSet", "description": "Practice QuestionSet", "resourceType": "Learn", "contentType": "PracticeQuestionSet", "audience": [ "Learner" ], "appIcon": "https://ntpproductionall.blob.core.windows.net/ntp-content-production/content/do_31281765358595276811728/artifact/qa_1561455529937.thumb.png", "marks": 5 }, "questionCategories": [ "sa" ] }, { "id": "laPracticeQuestionContent", "label": "LA - Practice Sets", "onClick": "questionSetComponent", "mimeType": [ "application/vnd.ekstep.ecml-archive" ], "metadata": { "name": "Practice QuestionSet", "description": "Practice QuestionSet", "resourceType": "Learn", "contentType": "PracticeQuestionSet", "audience": [ "Learner" ], "appIcon": "https://ntpproductionall.blob.core.windows.net/ntp-content-production/content/do_31281765358595276811728/artifact/qa_1561455529937.thumb.png", "marks": 5 }, "questionCategories": [ "la" ] }, { "id": "mcqPracticeQuestionContent", "label": "MCQ - Practice Sets", "onClick": "questionSetComponent", "mimeType": [ "application/vnd.ekstep.ecml-archive" ], "metadata": { "name": "Practice QuestionSet", "description": "Practice QuestionSet", "resourceType": "Learn", "contentType": "PracticeQuestionSet", "audience": [ "Learner" ], "appIcon": "https://ntpproductionall.blob.core.windows.net/ntp-content-production/content/do_31281765358595276811728/artifact/qa_1561455529937.thumb.png", "marks": 5 }, "questionCategories": [ "mcq" ] }, { "id": "curiositySetContent", "label": "Curiosity Sets", "onClick": "curiositySetComponent", "mimeType": [ "application/vnd.ekstep.ecml-archive" ], "metadata": { "name": "Curiosity QuestionSet", "description": "Curiosity QuestionSet", "resourceType": "Learn", "contentType": "CuriosityQuestionSet", "audience": [ "Learner" ], "appIcon": "https://ntpproductionall.blob.core.windows.net/ntp-content-production/content/do_31281765358595276811728/artifact/qa_1561455529937.thumb.png", "marks": 5 }, "questionCategories": [ "curiosity" ] } ], "defaultValue": [ { "id": "vsaPracticeQuestionContent", "label": "Practice Sets", "onClick": "questionSetComponent", "mimeType": [ "application/vnd.ekstep.ecml-archive" ], "metadata": { "name": "Practice QuestionSet", "description": "Practice QuestionSet", "resourceType": "Learn", "contentType": "PracticeQuestionSet", "audience": [ "Learner" ], "appIcon": "https://ntpproductionall.blob.core.windows.net/ntp-content-production/content/do_31281765358595276811728/artifact/qa_1561455529937.thumb.png", "marks": 5 }, "questionCategories": [ "vsa" ] } ] } } }, { "id": "ng.sunbird.uploadComponent", "ver": "1.0", "compId": "uploadContentComponent", "author": "Kartheek", "description": "", "publishedDate": "", "data": {}, "config": { "filesConfig": { "accepted": "pdf, mp4, webm, youtube", "size": "50" }, "formConfiguration": [ { "code": "learningOutcome", "dataType": "list", "description": "Learning Outcomes For The Content", "editable": true, "inputType": "multiselect", "label": "Learning Outcome", "name": "LearningOutcome", "placeholder": "Select Learning Outcomes", "required": false, "visible": true }, { "code": "bloomslevel", "dataType": "list", "description": "Learning Level For The Content", "editable": true, "inputType": "select", "label": "Learning Level", "name": "LearningLevel", "placeholder": "Select Learning Levels", "required": true, "visible": true, "defaultValue": [ "remember", "understand", "apply", "analyse", "evaluate", "create" ] }, { "code": "creator", "dataType": "text", "description": "Enter The Author Name", "editable": true, "inputType": "text", "label": "Author", "name": "Author", "placeholder": "Enter Author Name", "required": true, "visible": true }, { "code": "license", "dataType": "list", "description": "License For The Content", "editable": true, "inputType": "select", "label": "License", "name": "License", "placeholder": "Select License", "required": true, "visible": true } ], "resourceTitleLength": "200", "tenantName": "SunbirdEd" } }, { "id": "ng.sunbird.practiceSetComponent", "ver": "1.0", "compId": "practiceSetComponent", "author": "Kartheek", "description": "", "publishedDate": "", "data": {}, "config": { "No of options": 4, "solutionType": [ "Video", "Text & image" ], "questionCategory": [ "vsa", "sa", "ls", "mcq", "curiosity" ], "formConfiguration": [ { "code": "learningOutcome", "dataType": "list", "description": "Learning Outcomes For The Content", "editable": true, "inputType": "multiselect", "label": "Learning Outcome", "name": "LearningOutcome", "placeholder": "Select Learning Outcomes", "required": false, "visible": true }, { "code": "bloomsLevel", "dataType": "list", "description": "Learning Level For The Content", "editable": true, "inputType": "multiselect", "label": "Learning Level", "name": "LearningLevel", "placeholder": "Select Learning Levels", "required": true, "visible": true, "defaultValue": [ "remember", "understand", "apply", "analyse", "evaluate", "create" ] }, { "code": "creator", "dataType": "text", "description": "Enter The Author Name", "editable": true, "inputType": "text", "label": "Author", "name": "Author", "placeholder": "Enter Author Name", "required": true, "visible": true }, { "code": "license", "dataType": "list", "description": "License For The Content", "editable": true, "inputType": "select", "label": "License", "name": "License", "placeholder": "Select License", "required": true, "visible": true } ], "resourceTitleLength": "200", "tenantName": "", "assetConfig": { "image": { "size": "50", "accepted": "png, jpeg, jpg" }, "video": { "size": "50", "accepted": "mp4, webm, youtube" } } } }, { "id": "ng.sunbird.dashboard", "ver": "1.0", "compId": "dashboardComp", "author": "Venkanna Gouda", "description": "", "publishedDate": "", "data": {}, "config": {} } ], // actions available in the program "actions": { // each action will have 'roles' array with role index as value. Role index is based on 'config.roles' "showCountPanel": { "roles": [ 1, 2 ] }, "showContribution": { "roles": [ 1 ] }, "showUpforReview": { "roles": [ 2 ] }, "showTotalContribution": { "roles": [ 1 ] }, "showMyContribution": { "roles": [ 1 ] }, "showRejected": { "roles": [ 1 ] }, "showUnderReview": { "roles": [ 1 ] }, "showTotalUnderReview": { "roles": [ 2 ] }, "showAawaitingReview": { "roles": [ 2 ] }, "showFilters": { "roles": [ 1, 2, 3 ] }, "showAddResource": { "roles": [ 1 ] }, "showEditResource": { "roles": [ 1 ] }, "showMoveResource": { "roles": [ 1 ] }, "showDeleteResource": { "roles": [ 1 ] }, "showPreviewResource": { "roles": [ 2 ] }, "showDashboard": { "roles": [ 3 ] }, "showCert": { "roles": [ 4 ] }, "showSave": { "roles": [ 1 ] }, "showEdit": { "roles": [ 1 ] }, "showChangeFile": { "roles": [ 1 ] }, "showRequestChanges": { "roles": [ 2 ] }, "showPublish": { "roles": [ 2 ] }, "showSubmit": { "roles": [ 1 ] }, "showCreatorView": { "roles": [ 1 ] }, "showReviewerView": { "roles": [ 2 ] }, "showCreateQuestion": { "roles": [ 1 ] }, "showDeleteQuestion": { "roles": [ 1 ] } }, // User Onboarding configuration "onBoardingForm": { "templateName": "onBoardingForm", "action": "onboard", "fields": [ // Array of tags { "code": "", // field code. ex: "school" "dataType": "", // type of the field. ex: "text" "name": "", // name of the field. ex: "School" "label": "", // label to be displayed. ex: "School" "description": "", // description of the field. ex: "School" "inputType": "", // field's input type. ex: "select" "required": , // (Boolean) mandatory field or not "displayProperty": "Editable", "visible": true, // (Boolean) visibility of the field "range": [ // range value of the field { "identifier": "", // unique identifier for each input value. For ex: my_school "code": "", // input value code. ex: "my_school" "name": "", // input value name. ex "My School" "description": "", // description for each input value ex: My School "index": , // (number) order for inputs value to appear ex: 1 , 2 or 3 "category": "", category of the input value. school "status": "" // status of the input value ex: "Live" } ], "index": 1 } ] }, "sharedContext": [] // (Array of strings) For ex: "channel","framework","board","medium","gradeLevel","subject","topic" }, "defaultRoles": [], // (Array of string) // Default role "description": "hello program", // (String) Description of the program "endDate": null, // (Date) End Date of the program. "imagePath": null, "name": "State Rajasthan Program", // (String) name of the program "rootOrgId": "0124511394914140160", // Required. (String) channel ID "rootOrgName": , // (String) name of the channel "slug": "sunbird", // (string) "startDate": "2019-02-03T12:50:30.000Z", // (Date) start date of the program "status": null, "_comments": "", "type": "public" // (string) to decide whether the program is public or private. For ex: "public" or "private" }

 

 

Conclusion