Skip to content

Instructor Dashboard - group_configurations Endpoint Missing From /api/instructor/v2/ Path #38028

@brianjbuck-wgu

Description

@brianjbuck-wgu

Summary

After PR #37976 merged, frontend-app-authoring receives a 404 when calling GET /api/instructor/v2/courses/{course_id}/group_configurations.

GroupConfigurationsListView was registered only under the cohorts API at /api/cohorts/v2/courses/{course_id}/group_configurations. No URL mapping
existed in lms/djangoapps/instructor/views/api_urls.py v2_api_urls for this endpoint, even though the original feature commit described the endpoint as living at the instructor v2 path.

Steps to Reproduce

  1. Load a course in the instructor dashboard MFE (frontend-app-authoring)
  2. Observe a 404 Not Found on GET /api/instructor/v2/courses/{course_id}/group_configurations

Fix

Register GroupConfigurationsListView in v2_api_urls in lms/djangoapps/instructor/views/api_urls.py at the pattern courses/{course_id}/group_configurations, consistent with the existing courses/ prefix convention used throughout v2_api_urls.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions