Learning Resources

✨ Publish a learning resource

<Card href="https://humansignal.com/goenterprise"> <img style="pointer-events: none; margin-left: 0px; margin-right: 0px;" src="https://docs.humansignal.com/images/badge.svg" alt="Label Studio Enterprise badge"/> <p style="margin-top: 10px; font-size: 14px;"> This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise) </p> </Card> Publish a learning resource to make it available to learners.
post/api/learning-resources/{id}/publish/

Path parameters

idstring required

Request body

force_reshownboolean
retake_scope'none' | 'full' | 'changed_modules'
  • none - none
  • full - full
  • changed_modules - changed_modules

Response

allow_standaloneboolean
colorstring nullable
contentstring required
content_versioninteger required
cover_image_urlstring
created_atstring date-time required
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
has_unpublished_changesboolean nullable required
hide_completed_quizzesboolean
idinteger required
is_publishedboolean required
learner_countstring required
learners_completed_countstring required
learners_started_countstring required
module_countstring required
organizationinteger required
page_countstring required
project_countstring required
summarystring
titlestring
updated_atstring date-time required
workspaceinteger nullable

Changes