Skip to content

API Service Lectures

Renato Katalenić edited this page Dec 7, 2016 · 7 revisions

Lectures

URL: http://localhost:1800/api/lectures

HTTP method: GET

Parameters:

Parameter Description
title Show only lectures with given title (may be only part of title)
author Show only lectures from this author (given as ID)
course Show only lectures from this course (given as ID)
count How many lectures to return (if omitted, all lectures are returned)
offset Ordinal at which to start counting (if omitted first count lectures are returned)

Response: List of lectures.

Examples:

  • http://localhost:1800/api/lectures

  • http://localhost:1800/api/lectures?title=transmission

  • http://localhost:1800/api/lectures?course=f0aabc82-a475-11e6-aedd-4485006d0fd8

  • http://localhost:1800/api/lectures?title=transmission&course=f0aabc82-a475-11e6-aedd-4485006d0fd8

Clone this wiki locally