canvas-lms/lib/api
Weston Dransfield 3360e060d9 Allow global_id include in Courses show API
Closes QUIZ-12124
flag=none

Test Plan:
- Make a request to fetch an active course without the
  global_id include:
  ```
  /api/v1/courses/:id/?include[]=lti_context_id
  ```
- Validate the response does not include a global_id
  field
- Make a request to fetch an active course with the
  global_id included:
  ```
  /api/v1/courses/:id/include[]=global_id
  ```
- Validate global_id of the course is included in the
  new global_id property of the response body

Change-Id: Ica8bfc830c52b3515821d5eb3820d83eb1fc93a8
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/327316
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Mark McDermott <mmcdermott@instructure.com>
Reviewed-by: Stephen Kacsmark <skacsmark@instructure.com>
QA-Review: Mark McDermott <mmcdermott@instructure.com>
Product-Review: Weston Dransfield <wdransfield@instructure.com>
2023-09-14 13:35:41 +00:00
..
html Update content.rb 2023-08-02 14:41:44 +00:00
v1 Allow global_id include in Courses show API 2023-09-14 13:35:41 +00:00
errors.rb remove unused api_raise method 2023-08-25 14:01:27 +00:00