---
title: "✨ List or create modules for a learning resource"
method: POST
path: "/api/learning-resources/{id}/modules/"
tags: ["Learning Resources"]
---

# ✨ List or create modules for a learning resource

`POST /api/learning-resources/{id}/modules/`

<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.

## Path parameters

- `id` integer, required

## Query parameters

- `ordering` string
- `page` integer
- `page_size` integer
- `scope` string
- `search` string
- `workspace` integer

## Request body

- LearningResourceRequest
  - `allow_standalone` boolean
  - `color` string, nullable
  - `cover_image_url` string
  - `default_allow_manual_access` boolean
  - `default_gate_annotator_data_manager` boolean, nullable
  - `default_gate_annotator_label_stream` boolean, nullable
  - `default_gate_reviewer_data_manager` boolean, nullable
  - `default_gate_reviewer_label_stream` boolean, nullable
  - `default_gate_reviewer_review_stream` boolean, nullable
  - `estimated_duration_unit` 'minutes' | 'hours' | 'days' | 'weeks' — * `minutes` - Minutes * `hours` - Hours * `days` - Days * `weeks` - Weeks
  - `estimated_duration_value` integer, nullable
  - `generate_certificate_on_completion` boolean
  - `hide_completed_quizzes` boolean
  - `summary` string
  - `title` string
  - `workspace` integer, nullable

## Response `200`

- PaginatedCourseModuleList
  - `count` integer, required
  - `next` string, uri, nullable
  - `previous` string, uri, nullable
  - `results` CourseModule[], required
    - `content` unknown
    - `created_at` string, date-time, required
    - `id` integer, required
    - `learning_resource` integer, required
    - `marked_stale` boolean
    - `page_count` integer, required
    - `sort_order` integer
    - `title` string
    - `updated_at` string, date-time, required
    - `updated_by` UserSimple, required — A ModelSerializer that takes additional arguments for "fields", "omit" and "expand" in order to control which fields are displayed, and whether to replace simple values with complex, nested serializations
      - `avatar` string, nullable, required
      - `email` string, email
      - `first_name` string
      - `id` integer, required
      - `last_name` string
      - `username` string, required

## Other responses

- `201`

---

[API](https://skmtc.net/humansignal/apis/label-studio-api.md) · [All operations](https://skmtc.net/humansignal/apis/label-studio-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/humansignal/label-studio-api/versions/1b113b8df950/schema)
