Learning Resources

✨ Update a learning resource

Changed on
patch/api/learning-resources/{id}/

Request

  • Base URL
    http://localhost:8000
  • URL
    http://localhost:8000/api/learning-resources/{id}/
  • Auth
    API key in header Authorization

Path parameters

idinteger required

A unique integer value identifying this learning resource.

Request body

allow_standaloneboolean
colorstring nullable
cover_image_urlstring
default_allow_manual_accessboolean
default_gate_annotator_data_managerboolean nullable
default_gate_annotator_label_streamboolean nullable
default_gate_reviewer_data_managerboolean nullable
default_gate_reviewer_label_streamboolean nullable
default_gate_reviewer_review_streamboolean nullable
estimated_duration_unit'minutes' | 'hours' | 'days' | 'weeks'
  • minutes - Minutes
  • hours - Hours
  • days - Days
  • weeks - Weeks
estimated_duration_valueinteger nullable
generate_certificate_on_completionboolean
hide_completed_quizzesboolean
single_page_reviewboolean nullable
summarystring
titlestring
workspaceinteger nullable

Response

allow_standaloneboolean
colorstring nullable
cover_image_urlstring
default_allow_manual_accessboolean
default_gate_annotator_data_managerboolean nullable
default_gate_annotator_label_streamboolean nullable
default_gate_reviewer_data_managerboolean nullable
default_gate_reviewer_label_streamboolean nullable
default_gate_reviewer_review_streamboolean nullable
estimated_duration_unit'minutes' | 'hours' | 'days' | 'weeks'
  • minutes - Minutes
  • hours - Hours
  • days - Days
  • weeks - Weeks
estimated_duration_valueinteger nullable
generate_certificate_on_completionboolean
hide_completed_quizzesboolean
single_page_reviewboolean nullable
summarystring
titlestring
workspaceinteger nullable

Changes

    • info

      added the new optional request property (media type: application/json)

    • info

      added the new optional request property (media type: application/x-www-form-urlencoded)

    • info

      added the new optional request property (media type: multipart/form-data)

    • info

      added the optional property to the response with the status

    • breaking

      for the path request parameter id, the type changed from string to integer