Skip to content

Dodać getCourseEditionsPreviewAction #341

@qamarq

Description

@qamarq

Opis

Dodać batch server action do pobierania preview wielu kursów jednocześnie, do szybkiego renderu planu.

Endpoint

tt/course_editions

Params

  • course_edition_ids
  • term_id
  • start
  • days
  • fields=start_time|end_time|name|type|group_number|lecturer_ids|classtype_name

Redis key

usos:course_editions:{hash}

TTL

12 h

Acceptance criteria

  • używa getOrSetRedis
  • wspiera wiele kursów w jednym requestcie
  • zwraca znormalizowane dane do preview
  • wynik ma stabilny shape pod frontend
  • dane są pogrupowane w sposób łatwy do dalszego użycia

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions