Learning Resources

✨ List or create modules for 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> List or create modules for a learning resource.
post/api/learning-resources/{id}/modules/

Path parameters

idinteger required

A unique integer value identifying this learning resource.

Query parameters

orderingstring

Which field to use when ordering the results.

pageinteger

A page number within the paginated result set.

page_sizeinteger

Number of results to return per page.

scopestring
searchstring

A search term.

workspaceinteger

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

countinteger required
nextstring uri nullable
previousstring uri nullable

Example response

{
  "count": 123,
  "next": "http://api.example.org/accounts/?page=4",
  "previous": "http://api.example.org/accounts/?page=2"
}

Changes

Changed in 6 of the 97 revisions of this API.5323

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

      new-optional-request-property

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

      new-optional-request-property

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

      new-optional-request-property

    • the response property results/items/updated_by/allOf[UserSimple]/avatar became nullable for the status 200

      response-property-became-nullable

    • the response property updated_by/allOf[UserSimple]/avatar became nullable for the status 201

      response-property-became-nullable

    • the page_count response's property type/format changed from string/ to integer/ for status 201

      response-property-type-changed

    • the results/items/page_count response's property type/format changed from string/ to integer/ for status 200

      response-property-type-changed

    • for the path request parameter id, the type/format was changed from string/ to integer/

      request-parameter-type-changed

    • added the new optional query request parameter scope

      new-optional-request-parameter

    • added the new optional query request parameter workspace

      new-optional-request-parameter

    • added the required property results/items/updated_by to the response with the 200 status

      response-required-property-added

    • added the required property updated_by to the response with the 201 status

      response-required-property-added

  • 77f50e3ef220315See the full diff
    • removed the request property default_gate_before_first_annotation (media type: application/json)

      request-property-removed

    • removed the request property default_gate_before_first_annotation (media type: application/x-www-form-urlencoded)

      request-property-removed

    • removed the request property default_gate_before_first_annotation (media type: multipart/form-data)

      request-property-removed

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

      new-optional-request-property

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

      new-optional-request-property

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

      new-optional-request-property

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

      new-optional-request-property

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

      new-optional-request-property

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

      new-optional-request-property

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

      new-optional-request-property

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

      new-optional-request-property

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

      new-optional-request-property

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

      new-optional-request-property

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

      new-optional-request-property

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

      new-optional-request-property

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

      new-optional-request-property

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

      new-optional-request-property

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

      new-optional-request-property

    • endpoint added

      endpoint-added

Of the 97 revisions, 1 has no diff computed.