Skip to content

Announcements

Badbird5907 edited this page Sep 16, 2022 · 5 revisions

Announcements

Path: /api/Announcement/D2L/GetNews/<school id>/filter/Published/skip/<start>/take/<end>

For school id, if there's a zero in front of it, remove it.

Notes This one's interesting... Looks like how they do pagination. Path looks like this:

Screenshot of path

/skip/0/take/10 returns a json array of the news that is displayed in the announcements tab on the app, /skip/10/take/10 returns an empty json array. I assume this is selecting announcements 0-10 and 10-10?

Clone this wiki locally