Skip to content
Snippets Groups Projects

Add API documentation for the assigned requests

1 file
+ 58
0
Compare changes
  • Side-by-side
  • Inline
@@ -695,6 +695,32 @@ paths:
description: "Bad input"
404:
description: "Course with the given ID not found"
/course/{courseId}/assigned:
get:
tags:
- "course"
summary: "Get assigned students to the given course."
description: "Returns the assigned students to the given course."
produces:
- "application/json"
parameters:
- name: "courseId"
in: "path"
description: "unique identifier of the course to update the lab for"
required: true
type: "integer"
format: "int64"
responses:
200:
description: "Successful operation"
schema:
type: "array"
items:
$ref: "#/definitions/CompleteUser"
400:
description: "Bad input"
404:
description: "Course with the given ID not found"
/course/{courseId}/labs:
get:
tags:
@@ -842,6 +868,38 @@ paths:
description: "Bad input"
404:
description: "Course with the given ID not found or the lab is not found"
/course/{courseId}/labs/{labId}/assigned:
get:
tags:
- "course"
summary: "Get assigned students to the given lab for the given course."
description: "Returns the assigned students to the given lab for the given course."
produces:
- "application/json"
parameters:
- name: "courseId"
in: "path"
description: "unique identifier of the course to update the lab for"
required: true
type: "integer"
format: "int64"
- name: "labId"
in: "path"
description: "unique identifier of the lab that has to be updated"
required: true
type: "integer"
format: "int64"
responses:
200:
description: "Successful operation"
schema:
type: "array"
items:
$ref: "#/definitions/CompleteUser"
400:
description: "Bad input"
404:
description: "Course with the given ID not found or the lab is not found"
/timeslot/available:
Loading