| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172 |
- {
- "openapi": "3.1.0",
- "info": {
- "title": "Modulplaner OpenAPI",
- "version": "1.0.0",
- "contact": {
- "email": "sean@black-burn.ch"
- },
- "description": "OpenAPI documentation of the modulplaner API\n",
- "license": {
- "name": "MPL 2.0",
- "url": "https://www.mozilla.org/en-US/MPL/2.0/"
- }
- },
- "servers": [
- {
- "url": "http://localhost:8080",
- "description": "localhost"
- }
- ],
- "paths": {
- "/data/semester-versions.json": {
- "get": {
- "operationId": "GetSemesterVersions",
- "summary": "Overview of the available semesters and their respective versions of the timetable.",
- "security": [],
- "tags": [
- "Semesters"
- ],
- "responses": {
- "200": {
- "$ref": "#/components/responses/semester-versions-200"
- }
- }
- }
- },
- "/data/modules.json": {
- "get": {
- "operationId": "GetModules",
- "summary": "All available modules and additional information.",
- "security": [],
- "tags": [
- "Modules"
- ],
- "responses": {
- "200": {
- "$ref": "#/components/responses/modules-200"
- }
- }
- }
- },
- "/data/lecturers.json": {
- "get": {
- "operationId": "GetLecturers",
- "summary": "A list of all the lecturers.",
- "security": [],
- "tags": [
- "Lecturers"
- ],
- "responses": {
- "200": {
- "$ref": "#/components/responses/lecturers-200"
- }
- }
- }
- },
- "/data/module-history.json": {
- "get": {
- "operationId": "GetModuleHistory",
- "summary": "A list of all the lecturers.",
- "security": [],
- "tags": [
- "Modules"
- ],
- "responses": {
- "200": {
- "$ref": "#/components/responses/module-history-200"
- }
- }
- }
- },
- "/data/changelog.html": {
- "get": {
- "operationId": "GetHTMLChangelog",
- "summary": "HTML Changelog of the modulplaner frontend",
- "security": [],
- "tags": [
- "Changelog"
- ],
- "responses": {
- "200": {
- "$ref": "#/components/responses/changelog-html-200"
- }
- }
- }
- },
- "/data/{semester}/config.json": {
- "get": {
- "operationId": "GetSemesterConfig",
- "summary": "Configuration / additional information for this semester.",
- "security": [],
- "tags": [
- "Semester"
- ],
- "parameters": [
- {
- "$ref": "#/components/parameters/semester"
- }
- ],
- "responses": {
- "200": {
- "$ref": "#/components/responses/semester-config-200"
- }
- }
- }
- },
- "/data/{semester}/changes.json": {
- "get": {
- "operationId": "GetSemesterChanges",
- "summary": "A list of all changes between the versions of this semester.",
- "security": [],
- "tags": [
- "Semester"
- ],
- "parameters": [
- {
- "$ref": "#/components/parameters/semester"
- }
- ],
- "responses": {
- "200": {
- "$ref": "#/components/responses/changes-200"
- }
- }
- }
- },
- "/data/{semester}/blockclasses.json": {
- "get": {
- "operationId": "GetSemesterBlockclasses",
- "summary": "A list of all blockclasses for this semester.",
- "security": [],
- "tags": [
- "Semester"
- ],
- "parameters": [
- {
- "$ref": "#/components/parameters/semester"
- }
- ],
- "responses": {
- "200": {
- "$ref": "#/components/responses/blockclasses-200"
- }
- }
- }
- },
- "/data/{semester}/{version}/classes.json": {
- "get": {
- "operationId": "GetSemesterVersionClasses",
- "summary": "A list of all classes for this semester/version.",
- "security": [],
- "tags": [
- "Semester Version"
- ],
- "parameters": [
- {
- "$ref": "#/components/parameters/semester"
- },
- {
- "$ref": "#/components/parameters/version"
- }
- ],
- "responses": {
- "200": {
- "$ref": "#/components/responses/classes-200"
- }
- }
- }
- },
- "/data/{semester}/{version}/config.json": {
- "get": {
- "operationId": "GetSemesterVersionConfig",
- "summary": "Configuration/additional information for this semester/version.",
- "security": [],
- "tags": [
- "Semester Version"
- ],
- "parameters": [
- {
- "$ref": "#/components/parameters/semester"
- },
- {
- "$ref": "#/components/parameters/version"
- }
- ],
- "responses": {
- "200": {
- "$ref": "#/components/responses/semester-version-config-200"
- }
- }
- }
- },
- "/data/{semester}/{version}/klassen.pdf": {
- "get": {
- "operationId": "GetSemesterVersionKlassenPDF",
- "summary": "PDF of the original timetable.",
- "security": [],
- "tags": [
- "Semester Version"
- ],
- "parameters": [
- {
- "$ref": "#/components/parameters/semester"
- },
- {
- "$ref": "#/components/parameters/version"
- }
- ],
- "responses": {
- "200": {
- "$ref": "#/components/responses/klassen-pdf-200"
- }
- }
- }
- }
- },
- "components": {
- "schemas": {
- "semester-version": {
- "type": "object",
- "description": "Single semester and all of its versions",
- "properties": {
- "semester": {
- "description": "Name of the semester",
- "type": "string"
- },
- "versions": {
- "description": "The different versions available for this semester",
- "type": "array",
- "items": {
- "type": "string"
- }
- }
- },
- "required": [
- "semester",
- "versions"
- ]
- },
- "grading-type": {
- "description": "Types of grading",
- "type": "string",
- "oneOf": [
- {
- "title": "HN",
- "const": "HN",
- "description": "TODO"
- },
- {
- "title": "MSP",
- "const": "MSP",
- "description": "Final Exam"
- },
- {
- "title": "SE",
- "const": "SE",
- "description": "TODO"
- }
- ]
- },
- "module-dependency": {
- "type": "object",
- "description": "The dependencies of a single module, split by language.",
- "additionalProperties": {
- "description": "The language (as the key), in which the module has a dependency to (array values).\n",
- "type": "array",
- "items": {
- "description": "The short module name",
- "type": "string"
- }
- }
- },
- "module": {
- "type": "object",
- "description": "A single module definition",
- "properties": {
- "short": {
- "description": "Short name of the module / its human readable ID.",
- "type": "string"
- },
- "name": {
- "description": "Full name of the module",
- "type": "string"
- },
- "for_degrees": {
- "description": "List of degrees, for which this module is meant.",
- "type": [
- "array",
- "null"
- ],
- "items": {
- "type": "string"
- }
- },
- "module_id": {
- "description": "The unique module ID number.",
- "type": [
- "number",
- "null"
- ]
- },
- "module_ids": {
- "description": "TODO",
- "type": [
- "array",
- "null"
- ],
- "items": {
- "type": "integer",
- "format": "int32"
- }
- },
- "ects": {
- "description": "The number of ECTS this module awards upon completion.",
- "type": [
- "number",
- "null"
- ]
- },
- "marks": {
- "description": "The types of marks that this module involves (Final exam, continuous grading,\nproject, …).\n",
- "type": [
- "array",
- "null"
- ],
- "items": {
- "$ref": "#/components/schemas/grading-type"
- }
- },
- "cat": {
- "description": "Category of module (Context, Specialization, basic education, …).",
- "type": [
- "string",
- "null"
- ]
- },
- "sub_cat": {
- "description": "Sub-category of the module (business administration, subject supplement,\nspecialization).\n",
- "type": [
- "string",
- "null"
- ]
- },
- "dependencies": {
- "description": "What dependencies are required to be able to participate in this module.\n",
- "$ref": "#/components/schemas/module-dependency"
- },
- "enablingModules": {
- "description": "List of modules, that can be attended, after the completion of this module.\n",
- "$ref": "#/components/schemas/module-dependency"
- }
- },
- "required": [
- "short",
- "name",
- "for_degrees",
- "module_id",
- "module_ids",
- "ects",
- "marks",
- "cat",
- "sub_cat",
- "dependencies",
- "enablingModules"
- ]
- },
- "lecturer": {
- "type": "object",
- "description": "Single lecturer",
- "properties": {
- "short": {
- "description": "A short name for the lecturer, that is unique",
- "type": "string"
- },
- "surname": {
- "description": "The surname of the lecturer",
- "type": "string"
- },
- "firstname": {
- "description": "The given name of a lecturer",
- "type": "string"
- }
- },
- "required": [
- "short",
- "surname",
- "firstname"
- ]
- },
- "weekday": {
- "type": "integer",
- "format": "int8",
- "description": "The various weekdays",
- "oneOf": [
- {
- "title": "Monday",
- "const": 0
- },
- {
- "title": "Tuesday",
- "const": 1
- },
- {
- "title": "Wednesday",
- "const": 2
- },
- {
- "title": "Thursday",
- "const": 3
- },
- {
- "title": "Friday",
- "const": 4
- },
- {
- "title": "Saturday",
- "const": 5
- },
- {
- "title": "Sunday",
- "const": 6
- }
- ]
- },
- "teaching-type": {
- "type": "string",
- "description": "Various types of teaching types/locations",
- "oneOf": [
- {
- "title": "On Site",
- "const": "on_site",
- "description": "Only taught on site"
- },
- {
- "title": "Online",
- "const": "online",
- "description": "Exclusively taught online"
- },
- {
- "title": "Blockmodule",
- "const": "blockmodule",
- "description": "A module that is taught in a single block over the span of a few weeks, not the\nentire semester.\n"
- },
- {
- "title": "Hybrid",
- "const": "hybrid",
- "description": "Both on site and online"
- }
- ]
- },
- "module-history": {
- "type": "object",
- "description": "A complete history of all planned executions of each module",
- "additionalProperties": {
- "description": "The key is the modules short name with a mapping to an array",
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "semester": {
- "description": "The semester this module took place in",
- "type": "string"
- },
- "version": {
- "description": "The version of the semester plan",
- "type": "string"
- },
- "weekday": {
- "description": "The weekday the module took place on",
- "$ref": "#/components/schemas/weekday"
- },
- "class": {
- "description": "Name of the class this module is part of",
- "type": "string"
- },
- "from": {
- "description": "Start time of the module, in seconds since midnight",
- "type": "integer",
- "format": "int32"
- },
- "to": {
- "description": "End time of the module, in seconds since midnight",
- "type": "integer",
- "format": "int32"
- },
- "lecturers": {
- "description": "List of lecturers teaching this module",
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "teaching_type": {
- "description": "The type of teaching",
- "$ref": "#/components/schemas/teaching-type"
- },
- "rooms": {
- "description": "List of rooms reserved for this module",
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "pages": {
- "description": "List of pages, on which the module can be found in the PDF",
- "type": "array",
- "items": {
- "type": "integer",
- "format": "int16"
- }
- },
- "id": {
- "description": "A unique ID for this module and the time it is taught",
- "type": "string"
- }
- },
- "required": [
- "semester",
- "version",
- "weekday",
- "class",
- "from",
- "to",
- "lecturers",
- "teaching_type",
- "rooms",
- "pages",
- "id"
- ]
- }
- }
- },
- "semester-config": {
- "type": "object",
- "description": "Semester configuration / additional information",
- "properties": {
- "blockclass_file": {
- "description": "Relative path to the blockclass file",
- "type": [
- "string",
- "null"
- ]
- }
- },
- "required": [
- "blockclass_file"
- ]
- },
- "change": {
- "type": "object",
- "description": "A single change in the semester plan version, outlining the changes",
- "properties": {
- "name": {
- "description": "The name of the version",
- "type": "string"
- },
- "changes": {
- "description": "A HTML string of the changes",
- "type": "string"
- }
- },
- "required": [
- "name",
- "changes"
- ]
- },
- "blockclass": {
- "type": "object",
- "description": "Single blockclass entry",
- "properties": {
- "weekday": {
- "description": "Not used",
- "type": "null"
- },
- "from": {
- "description": "Time the module starts in seconds since midnight (not used, always 0)",
- "type": "integer",
- "format": "int32"
- },
- "to": {
- "description": "Time the module starts in seconds since midnight (not used, always 0)",
- "type": "integer",
- "format": "int32"
- },
- "class": {
- "description": "Class name this block module is part of",
- "type": "string"
- },
- "name": {
- "description": "Short name of the module",
- "type": "string"
- },
- "rooms": {
- "description": "The rooms which are reserved for this module",
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "teachers": {
- "description": "The lecturers names that are teaching this module",
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "teaching_type": {
- "description": "Type of teaching",
- "$ref": "#/components/schemas/teaching-type"
- },
- "pages": {
- "description": "The pages, on which the module can be found",
- "type": "array",
- "items": {
- "type": "integer",
- "format": "int16"
- }
- },
- "degree_prg": {
- "description": "Name of the degree program this module is part of",
- "type": "string"
- },
- "part_of_other_classes": {
- "description": "List of other classes, where this module is also taught",
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "id": {
- "description": "Unique identifier for this blockmodule",
- "type": "string"
- }
- },
- "required": [
- "weekday",
- "from",
- "to",
- "class",
- "name",
- "rooms",
- "teachers",
- "teaching_type",
- "pages",
- "degree_prg",
- "part_of_other_classes",
- "id"
- ]
- },
- "class": {
- "type": "object",
- "description": "Single class definition of a specific version",
- "properties": {
- "weekday": {
- "description": "The weekday the module took place on",
- "$ref": "#/components/schemas/weekday"
- },
- "from": {
- "description": "Start time of the module, in seconds since midnight",
- "type": "integer",
- "format": "int32"
- },
- "to": {
- "description": "End time of the module, in seconds since midnight",
- "type": "integer",
- "format": "int32"
- },
- "class": {
- "description": "Name of the class this module is part of",
- "type": "string"
- },
- "name": {
- "description": "Short name of the module"
- },
- "rooms": {
- "description": "List of rooms reserved for this module",
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "teachers": {
- "description": "List of lecturers teaching this module",
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "teaching_type": {
- "description": "The type of teaching",
- "$ref": "#/components/schemas/teaching-type"
- },
- "pages": {
- "description": "List of pages, on which the module can be found in the PDF",
- "type": "array",
- "items": {
- "type": "integer",
- "format": "int16"
- }
- },
- "degree_prg": {
- "description": "Name of the degree program this module is part of",
- "type": "string"
- },
- "part_of_other_classes": {
- "description": "List of other classes, where this module is also taught",
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "id": {
- "description": "A unique ID for this module and the time it is taught",
- "type": "string"
- }
- },
- "required": [
- "weekday",
- "from",
- "to",
- "class",
- "name",
- "rooms",
- "teachers",
- "teaching_type",
- "pages",
- "degree_prg",
- "part_of_other_classes",
- "id"
- ]
- },
- "semester-version-config": {
- "type": "object",
- "description": "Version specific configurations/additional information",
- "properties": {
- "pdf_version": {
- "description": "Version name of the PDF",
- "type": "string",
- "example": "einschreiben / HS_24_einschr_3"
- },
- "export_date": {
- "description": "The date, when the version of this plan was released.",
- "format": "dd.mm.yyyy HH:MM:SS",
- "type": "string",
- "example": "17.06.2024 15:07:00"
- },
- "parse_date": {
- "description": "The date, when the version of this plan was parsed.",
- "format": "dd.mm.yyyy HH:MM:SS",
- "type": "string",
- "example": "04.10.2024 17:45:10"
- }
- },
- "required": [
- "pdf_version",
- "export_date",
- "parse_date"
- ]
- }
- },
- "responses": {
- "semester-versions-200": {
- "description": "OK",
- "content": {
- "application/json": {
- "schema": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/semester-version"
- }
- },
- "example": [
- {
- "semester": "24HS",
- "versions": [
- "einschr_3",
- "einschr_2",
- "einschr_1"
- ]
- },
- {
- "semester": "24FS",
- "versions": [
- "korr_2",
- "korr_2_1",
- "korr_1",
- "einschr_3_1",
- "einschr_3",
- "einschr_2",
- "einschr_1",
- "prov_4a"
- ]
- }
- ]
- }
- }
- },
- "modules-200": {
- "description": "OK",
- "content": {
- "application/json": {
- "schema": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/module"
- }
- },
- "example": [
- {
- "short": "aet1",
- "name": "Allgemeine Elektrotechnik 1 ",
- "for_degrees": [
- "Elektro- und Informationstechnik",
- "Systemtechnik"
- ],
- "module_id": 6007771,
- "module_ids": [
- 6007771
- ],
- "ects": 3,
- "marks": [
- "HN",
- "MSP",
- "SE"
- ],
- "cat": "Fachausbildung",
- "sub_cat": "Fachgrundlagen",
- "dependencies": {
- "de": [
- "an1"
- ],
- "en": []
- },
- "enablingModules": {
- "de": [
- "aet2",
- "msee"
- ],
- "en": []
- }
- },
- {
- "short": "ast1",
- "name": "Analoge Schaltungstechnik 1 ",
- "for_degrees": null,
- "module_id": null,
- "module_ids": null,
- "ects": null,
- "marks": null,
- "cat": null,
- "sub_cat": null,
- "dependencies": {},
- "enablingModules": {
- "de": [],
- "en": []
- }
- }
- ]
- }
- }
- },
- "lecturers-200": {
- "description": "OK",
- "content": {
- "application/json": {
- "schema": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/lecturer"
- }
- },
- "example": [
- {
- "short": "rabh",
- "surname": "Racquel",
- "firstname": "Bharath"
- },
- {
- "short": "rudu",
- "surname": "Ruuben",
- "firstname": "Dunyasha"
- }
- ]
- }
- }
- },
- "module-history-200": {
- "description": "OK",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/module-history"
- },
- "example": {
- "aet1": [
- {
- "semester": "24HS",
- "version": "einschr_3",
- "weekday": 0,
- "class": "1Ea",
- "from": 29700,
- "to": 39600,
- "lecturers": [
- "Gaus"
- ],
- "teaching_type": "on_site",
- "rooms": [
- "1.331"
- ],
- "pages": [
- 3,
- 5
- ],
- "id": "1Ea-aet1-0-29700-39600"
- }
- ],
- "afana": [
- {
- "semester": "12HS",
- "version": "korr_8",
- "weekday": 1,
- "class": "1Ia",
- "from": 45900,
- "to": 54600,
- "lecturers": [
- "Syn"
- ],
- "teaching_type": "on_site",
- "rooms": [
- "4.417"
- ],
- "pages": [
- 3
- ],
- "id": "1Ia-afana-1-45900-54600"
- },
- {
- "semester": "12HS",
- "version": "korr_8",
- "weekday": 1,
- "class": "1Ib",
- "from": 33000,
- "to": 42300,
- "lecturers": [
- "Syn"
- ],
- "teaching_type": "on_site",
- "rooms": [
- "4.427"
- ],
- "pages": [
- 4
- ],
- "id": "1Ib-afana-1-33000-42300"
- }
- ]
- }
- }
- }
- },
- "changelog-html-200": {
- "description": "OK",
- "content": {
- "text/html": {
- "example": ""
- }
- }
- },
- "semester-config-200": {
- "description": "OK",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/semester-config"
- },
- "example": {
- "blockclass_file": "Blockmodule.xlsx"
- }
- }
- }
- },
- "changes-200": {
- "description": "OK",
- "content": {
- "application/json": {
- "schema": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/change"
- }
- },
- "example": [
- {
- "name": "prov_5",
- "changes": "<p>Initialversion</p>"
- },
- {
- "name": "einschr_1",
- "changes": "<p>Seit der letzten Version hat's neben diversen Raum- und Dozierenden-Änderungen folgende Anpassungen gegeben:</p>\n<p><strong>Verschiebung / Änderungen:</strong>\n <ul>\n <li>wus 1Ea</li>\n <li>aet1 1Eb</li>\n <li>glaL1 1Eb</li>\n <li>oop1 1Eb</li>\n <li>hfta 5Ea</li>\n <li>kryg 5Ea</li>\n <li>edea 5iCbb</li>\n <li>an1 1Ma</li>\n <li>lalg1 1Ma</li>\n <li>an1 1Mb</li>\n <li>lalg1 1Mb</li>\n <li>pro4M 5Mbb</li>\n <li>eltM 3Mb</li>\n <li>elmag 3Mb</li>\n <li>dglM 3Mb</li>\n </ul>\n</p>\n<p><strong>Streichung von:</strong> <ul><li>mgli 1iCeng</li></ul> </p>"
- },
- {
- "name": "korr_1",
- "changes": "<p>Keine Angaben</p>"
- },
- {
- "name": "korr_2",
- "changes": "<p>Keine Angaben</p>"
- }
- ]
- }
- }
- },
- "blockclasses-200": {
- "description": "OK",
- "content": {
- "application/json": {
- "schema": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/blockclass"
- }
- },
- "example": [
- {
- "weekday": null,
- "from": 0,
- "to": 0,
- "class": "5Me",
- "name": "aem",
- "rooms": [],
- "teachers": [],
- "teaching_type": "blockmodule",
- "pages": [
- 1
- ],
- "degree_prg": "Maschinenbau",
- "part_of_other_classes": [],
- "id": "5Me-aem-b"
- },
- {
- "weekday": null,
- "from": 0,
- "to": 0,
- "class": "7KGb",
- "name": "alges",
- "rooms": [],
- "teachers": [],
- "teaching_type": "blockmodule",
- "pages": [
- 1
- ],
- "degree_prg": "Kontext GSW",
- "part_of_other_classes": [],
- "id": "7KGb-alges-b"
- }
- ]
- }
- }
- },
- "classes-200": {
- "description": "OK",
- "content": {
- "application/json": {
- "schema": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/class"
- }
- },
- "example": [
- {
- "weekday": 0,
- "from": 29700,
- "to": 64800,
- "class": "1Da",
- "name": "dummy",
- "rooms": [
- "5.3B51"
- ],
- "teachers": [
- "Cur"
- ],
- "teaching_type": "on_site",
- "pages": [
- 1
- ],
- "degree_prg": "Data Science",
- "part_of_other_classes": [],
- "id": "1Da-dummy-0-29700-64800"
- },
- {
- "weekday": 1,
- "from": 29700,
- "to": 36000,
- "class": "1Da",
- "name": "eda",
- "rooms": [
- "5.3B51"
- ],
- "teachers": [
- "Ped"
- ],
- "teaching_type": "on_site",
- "pages": [
- 1
- ],
- "degree_prg": "Data Science",
- "part_of_other_classes": [],
- "id": "1Da-eda-1-29700-36000"
- }
- ]
- }
- }
- },
- "semester-version-config-200": {
- "description": "OK",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/semester-version-config"
- },
- "example": {
- "pdf_version": "einschreiben / HS_24_einschr_3",
- "export_date": "17.06.2024 15:07:00",
- "parse_date": "04.10.2024 17:45:10"
- }
- }
- }
- },
- "klassen-pdf-200": {
- "description": "OK",
- "content": {
- "application/vnd.ms-excel": {
- "example": ""
- }
- }
- }
- },
- "parameters": {
- "semester": {
- "name": "semester",
- "in": "path",
- "description": "Semester",
- "required": true,
- "schema": {
- "type": "string",
- "summary": "Name of the semester. To fetch the latest semester, use `latest`"
- }
- },
- "version": {
- "name": "version",
- "in": "path",
- "description": "Semester version",
- "required": true,
- "schema": {
- "type": "string",
- "summary": "Name of the version. To fetch the latest version, use `latest`"
- }
- }
- }
- }
- }
|