Skip to content

Prod - #159

Open
namita-25 wants to merge 506 commits into
mainfrom
prod
Open

Prod#159
namita-25 wants to merge 506 commits into
mainfrom
prod

Conversation

@namita-25

Copy link
Copy Markdown
Collaborator

No description provided.

ankush-maherwal and others added 30 commits October 18, 2024 10:55
Task #229369 username and password updation
Task #229369 Resolved the issue of \n char in username and dob field
[BE] Task #230495 completed lessonProgressAttemptTrackingApi
Task #230890 password-issue-solved
Task #230891 serach with school udise code
[BE] Task #230495  completed tracking api
Task #230705  completed content search api
suraj-tekdi and others added 30 commits February 5, 2025 18:40
…} format

- Detect interface API pattern (/interface/v1/action/content/v3) and construct correct URL
- Append /read/{contentId} instead of /api/course/v1/hierarchy/{contentId}
- Add flexible response structure handling for different API response formats
- Improve error handling and logging for better debugging
…ierarchy

- Add type parameter logging to identify assessment vs course requests
- Add error handling to assessment branch with detailed error logging
- Enhance error logging to include failed URL and response status
- Improve debugging capabilities for 404 and other API errors
- Apply same interface API detection logic to assessment branch
- Use /read/{contentId} format for assessments when using interface API
- Add flexible response structure handling for assessment responses
- Maintain backward compatibility with standard sunbird assessment endpoint
- Enhance logging for assessment requests
…d endpoints

- Updated getQuestionList to use SUNBIRDUPDATEDURL/api/question/v2/list
- Updated getCourseContent to use SUNBIRDUPDATEDURL/action/content/v3/read/{id}
- Updated getQuestionset to use updated URL for question list
- Updated getCourseHierarchy to use updated URL for content reading
- Added comprehensive logging for debugging
- Maintains backward compatibility with fallback to original URLs
…rarchy

- Modified getCourseHierarchy to return only the first childNode when type=assessment
- Added logging to track childNodes modification
- Maintains all childNodes for non-assessment types
Changes for contentsearch
Changes for 500 error in api
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants