Skip to content

Conversation

@Ang-m4
Copy link
Contributor

@Ang-m4 Ang-m4 commented Dec 9, 2025

Description

This pull request updates the URL convention used to identify catalog courses within a catalog.

Key changes

  • Changed the catalog course URL lookup to use the current CourseOverview id (Open edX course key).
  • URLs like /manage/catalogs/<id>/courses/<id>/ will now be /manage/catalogs/<id>/courses/<course_key>/.

How to test

  1. Make sure you have a catalog with courses already associated.
  2. Go to the partner_catalog Swagger UI and locate the following endpoints:
    • GET /manage/catalogs/{catalog_id}/courses/
    • GET /manage/catalogs/{catalog_id}/courses/{course_key}/
  3. Take a valid course_key from the catalog courses list (e.g. course-v1:ORG+CODE+RUN).
  4. Call:
    • GET /manage/catalogs/<catalog_id>/courses/<course_key>/
      and verify the expected course is returned correctly.

@Ang-m4 Ang-m4 requested a review from Alec4r December 9, 2025 21:34
@Ang-m4 Ang-m4 marked this pull request as ready for review December 9, 2025 21:34
@Alec4r Alec4r merged commit 51c5601 into main.v2 Dec 10, 2025
4 checks passed
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.

3 participants