openedx / openedx/frontend-app-authoring

Multiple API endpoints for courseDetails

Open
#3,102 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
17
Forks
218
Avg merge
9d 20h
Merged PRs (30d)
20

Description

There are multiple endpoints for the "same" course details functionality:

Check if it's possible to use only one endpoint and place it generically so that it can be used in all those locations

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Compare the course-details API definitions in src/course-outline/data/api.ts, src/data/api.ts, and src/schedule-and-details/data/api.ts. Determine whether they represent the same endpoint and identify the generic location that can serve all three areas. Done means the duplicated definitions are replaced by one shared endpoint without changing course-details behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
api, frontend
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.