Skip to content

Commit

Permalink
chore: update docstring for the api
Browse files Browse the repository at this point in the history
  • Loading branch information
johanseto committed Jul 6, 2023
1 parent 45d9551 commit 2db4aeb
Showing 1 changed file with 36 additions and 18 deletions.
54 changes: 36 additions & 18 deletions eox_nelp/course_experience/api/v1/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -228,13 +228,15 @@ class LikeDislikeUnitExperienceView(UnitExperienceView):
"author": {
"data": {
"type": "User",
"id": "7"
"id": "7",
"attributes": {}
}
},
"course_id": {
"data": {
"type": "CourseOverview",
"id": "course-v1:edX+213+2121"
"id": "course-v1:edX+213+2121",
"attributes": {}
}
}
}
Expand All @@ -251,13 +253,15 @@ class LikeDislikeUnitExperienceView(UnitExperienceView):
"author": {
"data": {
"type": "User",
"id": "7"
"id": "7",
"attributes": {}
}
},
"course_id": {
"data": {
"type": "CourseOverview",
"id": "course-v1:edX+213+2121"
"id": "course-v1:edX+213+2121",
"attributes": {}
}
}
}
Expand Down Expand Up @@ -363,13 +367,15 @@ class ReportUnitExperienceView(UnitExperienceView):
"author": {
"data": {
"type": "User",
"id": "7"
"id": "7",
"attributes": {}
}
},
"course_id": {
"data": {
"type": "CourseOverview",
"id": "course-v1:edX+213+2121"
"id": "course-v1:edX+213+2121",
"attributes": {}
}
}
}
Expand All @@ -386,13 +392,15 @@ class ReportUnitExperienceView(UnitExperienceView):
"author": {
"data": {
"type": "User",
"id": "7"
"id": "7",
"attributes": {}
}
},
"course_id": {
"data": {
"type": "CourseOverview",
"id": "course-v1:edX+213+2121"
"id": "course-v1:edX+213+2121",
"attributes": {}
}
}
}
Expand Down Expand Up @@ -766,13 +774,15 @@ class FeedbackCourseExperienceView(CourseExperienceView):
"author": {
"data": {
"type": "User",
"id": "7"
"id": "7",
"attributes": {}
}
},
"course_id": {
"data": {
"type": "CourseOverview",
"id": "course-v1:edX+test+2023"
"id": "course-v1:edX+test+2023",
"attributes": {}
}
}
}
Expand All @@ -792,13 +802,15 @@ class FeedbackCourseExperienceView(CourseExperienceView):
"author": {
"data": {
"type": "User",
"id": "7"
"id": "7",
"attributes": {}
}
},
"course_id": {
"data": {
"type": "CourseOverview",
"id": "course-v1:edX+cd101+220-t2"
"id": "course-v1:edX+cd101+220-t2",
"attributes": {}
}
}
}
Expand Down Expand Up @@ -970,13 +982,15 @@ class PublicFeedbackCourseExperienceView(PublicBaseJsonAPIView, FeedbackCourseEx
"author": {
"data": {
"type": "User",
"id": "7"
"id": "7",
"attributes": {}
}
},
"course_id": {
"data": {
"type": "CourseOverview",
"id": "course-v1:edX+2323+232"
"id": "course-v1:edX+2323+232",
"attributes": {}
}
}
}
Expand All @@ -996,13 +1010,15 @@ class PublicFeedbackCourseExperienceView(PublicBaseJsonAPIView, FeedbackCourseEx
"author": {
"data": {
"type": "User",
"id": "9"
"id": "9",
"attributes": {}
}
},
"course_id": {
"data": {
"type": "CourseOverview",
"id": "course-v1:edX+cd101+2023-t2"
"id": "course-v1:edX+cd101+2023-t2",
"attributes": {}
}
}
}
Expand All @@ -1022,13 +1038,15 @@ class PublicFeedbackCourseExperienceView(PublicBaseJsonAPIView, FeedbackCourseEx
"author": {
"data": {
"type": "User",
"id": "4"
"id": "4",,
"attributes": {}
}
},
"course_id": {
"data": {
"type": "CourseOverview",
"id": "course-v1:edX+2323+232"
"id": "course-v1:edX+2323+232",
"attributes": {}
}
}
}
Expand Down

0 comments on commit 2db4aeb

Please sign in to comment.