Skip to content

Commit 28dfd4a

Browse files
committed
fixup! fix: add missing staff_ora_grading_url field to ORA list endpoint response
1 parent dd60c7d commit 28dfd4a

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

lms/djangoapps/instructor/docs/references/instructor-v2-ora-api-spec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ definitions:
273273
type: string
274274
format: uri
275275
description: URL to the staff grading interface for this ORA assessment
276-
example: "https://courses.example.com/instructor/ora_grading/block-v1:edX+DemoX+Demo_Course+type@openassessment+block@ora1"
276+
example: "http://apps.local.openedx.io:1993/ora-grading/block-v1:WGU+CS002+2025_T1+type@openassessment+block@ff4f5fddf42d4b9787e69c1a8cbeb058"
277277
Error:
278278
type: object
279279
description: Error response

lms/djangoapps/instructor/ora.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,9 @@ def get_open_response_assessment_list(course):
6262
has_staff_assessment = 'staff-assessment' in block.assessment_steps
6363
is_team_enabled = block.teams_enabled
6464
if ora_grading_base_url and has_staff_assessment and not is_team_enabled:
65-
# During the migration to the ORA grading microfrontend,
65+
# Always generate a URL that points to the ORA Grading Microfrontend (MFE).
66+
#
67+
# During the migration to the ORA microfrontend,
6668
# only provide the grading URL for non-team assignments with staff assessment.
6769
# This logic was based on the original implementation in instructor_dashboard:
6870
# - lms/djangoapps/instructor/views/instructor_dashboard.py

0 commit comments

Comments
 (0)