Error with https://308610995-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F4ZKyfmmhMWpPkD6iYvKF%2Fuploads%2Fx06ZVcTCQKP5fxJUP9zb%2Fgroupactivityapi.yaml?alt=media&token=2bc183af-38b3-4349-bbca-7478f6852943: Failed to parse YAML: Multi-line single-quoted string needs to be sufficiently indented
Fetch Section Details by Id
This API is associated with fetching specific section details.
The endpoint for Fetch Section Details by Id is /section/read/{sectionId}
The fields marked with an asterisk (*) are mandatory. They cannot be null or empty.
The body contains metadata about the request for creating a page.
id*string
Example: "unique API ID"
ts*string
Example: "2013/10/15 16:16:39"
params*object
request*Request
Response
OK ! Successful operation."create page" operation was successfully executed.
Body
resultNode Id
idstring
API Identifier
verstring
API version information
tsstring
API execution timespan
paramsResponse Parameter
responseCodeobject
API response code
Request
constresponse=awaitfetch('https://staging.open-sunbird.org/api/data/v1/page/create', { method:'POST', headers: {"Content-Type":"application/json","X-msgid":"text","ts":"text","Authorization":"text","x-authenticated-user-token":"text" }, body:JSON.stringify({"id":"api.page.create","ts":"2020/12/11 16:16:39","params": {},"request": {"name":"Resources","organisationId":"id of organisation, if you want to create page for your org only. if not pass then page will be created for all org.","portalMap": [ {"id":1228383082462412800,"index":1,"group":1 }, {"id":1228383384379392000,"index":1,"group":2 } ],"appMap": [ {"id":1228383082462412800,"index":1,"group":1 }, {"id":1228383384379392000,"index":1,"group":2 } ] } }),});constdata=awaitresponse.json();
Error with https://308610995-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F4ZKyfmmhMWpPkD6iYvKF%2Fuploads%2Fgit-blob-8e1e781e7f481e6bd37e81f06ca81a40b3643f1f%2Fcourseprogressapi.yaml?alt=media: Failed to parse YAML: Multi-line single-quoted string needs to be sufficiently indented
Error with https://308610995-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F4ZKyfmmhMWpPkD6iYvKF%2Fuploads%2Fgit-blob-8e1e781e7f481e6bd37e81f06ca81a40b3643f1f%2Fcourseprogressapi.yaml?alt=media: Failed to parse YAML: Multi-line single-quoted string needs to be sufficiently indented
Error with https://308610995-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F4ZKyfmmhMWpPkD6iYvKF%2Fuploads%2Fgit-blob-d632fad08af22d741a889f188bac008da84e08ea%2Fcoursebatchmanapi.yaml?alt=media: Failed to parse YAML: Multi-line single-quoted string needs to be sufficiently indented
Error with https://308610995-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F4ZKyfmmhMWpPkD6iYvKF%2Fuploads%2Fgit-blob-d632fad08af22d741a889f188bac008da84e08ea%2Fcoursebatchmanapi.yaml?alt=media: Failed to parse YAML: Multi-line single-quoted string needs to be sufficiently indented
Error with https://308610995-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F4ZKyfmmhMWpPkD6iYvKF%2Fuploads%2Fgit-blob-d632fad08af22d741a889f188bac008da84e08ea%2Fcoursebatchmanapi.yaml?alt=media: Failed to parse YAML: Multi-line single-quoted string needs to be sufficiently indented
Error with https://308610995-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F4ZKyfmmhMWpPkD6iYvKF%2Fuploads%2Fgit-blob-d632fad08af22d741a889f188bac008da84e08ea%2Fcoursebatchmanapi.yaml?alt=media: Failed to parse YAML: Multi-line single-quoted string needs to be sufficiently indented
{host}/v1/jobrequest/list
This API will internally call ‘/dataset/v1/request/list API in Obsrv ‘On Demand Data Exhaust API’, to list all the requests that are specific to a tag
This API will internally call ‘/dataset/v1/request/submit’ API in SB-Obsrv ‘On Demand Data Exhaust API’, to submit the on demand exhaust job request. The job status will be in the submitted state.Â
This API should encrypt the password using auto generated encryption key and pass it in the exhaust API request if the security level is L2 or L3.Â
L1 and L4 do not need encryption keys.Â
Fetch the security level using tenant preference APIs to check this.
SUCCESS. The "Course Unenrol Request" operation was successful!
Body
id*string
ver*string
ts*string
params*Params4
responseCode*string
result*Result
Request
Response
UserEnrolment List
The UserEnrolmentList api provides the detail of a user's all enrolled CourseBatches
The endpoint for UserEnrolment List is /user/enrollment/list/{{user-id}}
The fields marked with an asterisk (*) are mandatory. They cannot be null or empty.