Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
schedules
schedules
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 11
    • Issues 11
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • SRCT
  • schedulesschedules
  • Issues
  • #24

Closed
Open
Opened Sep 12, 2018 by Zachary R Perkins@zperkinDeveloper
  • Report abuse
  • New issue
Report abuse New issue

Add 'course-listing' endpoint

Summary

Create the API endpoint /course-listing which lists a set of courses and, nested inside of each course, lists all of that course's sections. Eventually it, like /course-sections should be able to take a wide variety of filter arguments.

Sample data

A sample result

[
    {
    "subject": "CS",
    "course_number": 112,
    "title": "Introduction to Programming",
    "course_sections": [
        {
        "name": "CS 112 001",
        "crn": "71926",
        "section_type": "Lecture",
        "title": "Introduction to Programming",
        "instructor": "ASDFASDGASDG",
        "start_date": "2018-08-27",
        "end_date": "2018-12-19",
        "days": "T",
        }, ...
    ]
    },
    ...
]
Edited Sep 12, 2018 by Zachary R Perkins
To upload designs, you'll need to enable LFS and have admin enable hashed storage. More information
Assignee
Assign to
v2.0
Milestone
v2.0 (Past due)
Assign milestone
Time tracking
None
Due date
None
Reference: srct/schedules#24