---
title: "Get all public courses"
method: GET
path: "/courses/public"
tags: ["Courses"]
---

# Get all public courses

`GET /courses/public`

Returns all public courses, optionally filtered by year, term, limit and skip.
Includes courses with the visibility "LoggedIn" if user is authenticated/valid jwt is present and courses with the visibility "Enrolled" if the user is authenticated and enrolled in that course.

## Query parameters

- `year` integer
- `term` string
- `limit` integer
- `skip` integer

## Response `200`

[0 OK] A successful response.

- ProtobufGetPublicCoursesResponse
  - `courses` ProtobufCourse[]
    - `id` integer
    - `name` string
    - `slug` string
    - `semester` ProtobufSemester
      - `teachingTerm` string
      - `year` integer
    - `TUMOnlineIdentifier` string
    - `VODEnabled` boolean
    - `downloadsEnabled` boolean
    - `chatEnabled` boolean
    - `anonymousChatEnabled` boolean
    - `moderatedChatEnabled` boolean
    - `vodChatEnabled` boolean
    - `streams` ProtobufStream[]
      - `id` string, uint64
      - `name` string
      - `description` string
      - `courseID` integer
      - `start` string, date-time
      - `end` string, date-time
      - `chatEnabled` boolean
      - `roomName` string
      - `roomCode` string
      - `eventTypeName` string
      - `TUMOnlineEventID` integer
      - `seriesIdentifier` string
      - `playlistUrl` string
      - `playlistUrlPRES` string
      - `playlistUrlCAM` string
      - `liveNow` boolean
      - `liveNowTimestamp` string, date-time
      - `recording` boolean
      - `premiere` boolean
      - `ended` boolean
      - `vodViews` integer
      - `startOffset` integer
      - `endOffset` integer
      - `duration` integer
      - `downloads` ProtobufDownload[]
        - `friendlyName` string
        - `downloadURL` string
      - `isPlanned` boolean
      - `isComingUp` boolean
      - `HLSUrl` string
    - `cameraPresetPreferences` string
    - `sourcePreferences` string
    - `lastRecordingID` integer
    - `nextLectureID` integer

---

[API](https://skmtc.dev/tum-dev/apis/gocast-api.md) · [All operations](https://skmtc.dev/tum-dev/apis/gocast-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/tum-dev/gocast-api/revisions/18ce08adf685/schema)
