41 Commits

Author SHA1 Message Date
ansv7779 6f8b451913 Fix URL for course schedule
You must specify an occasion to get the schedule
2026-08-19 09:58:48 +02:00
ansv7779 31281283ee Update daisy/schema.md
* Renamed "codeId" to "momentId"
* Expanded "block" to the full course with id (daisy), code, name, and ECTS
* Added some clarification on nullness and emptyness
* Documented what top level "code" is and how it can be different depending on "status"
2026-08-19 09:51:59 +02:00
niat8586 a6b09a7f78 fixed typo HT1025 -> HT2025 2026-08-17 13:12:27 +02:00
niat8586 038e0f3825 added codeId (momentid)
Added `codeId` field, used for getting details `v1/courses/:codeId`
Updated some explanations and examples to reflect changes.
2026-08-17 13:08:49 +02:00
stne3960 b1466a20d4 Add block 2026-08-13 09:50:08 +02:00
stne3960 17fc36c275 Remove description 2026-08-12 13:20:39 +02:00
stne3960 fecf1e1093 Return occasions array 2026-08-12 13:16:50 +02:00
stne3960 cb5fe67704 Update /v1/courses/:courseCode 2026-08-12 11:35:46 +02:00
stne3960 ddd5e1a945 Clean up array 2026-08-12 11:30:28 +02:00
stne3960 140c615ff8 Replace occations with latestOccasionId 2026-08-12 11:29:43 +02:00
stne3960 af0a16b9ca Add occasions to courses/:courseId 2026-08-11 13:41:54 +02:00
niat8586 a308036ac8 Updated spec to include courseId for /courses/mine response 2026-08-10 10:11:48 +02:00
stne3960 f5d63c2633 Use semesters instead of terms 2026-08-06 11:26:48 +02:00
niat8586 61fd4f0e79 Renamed id fields to show what they belong to
So `id` in that was in an occasion object is now changed to `occasionId`

And `id` that was a field for a course object is now `courseId`
2026-08-04 13:53:27 +02:00
stne3960 49ac4e772b Add terminstider.md 2026-08-03 14:30:58 +02:00
niat8586 0e3add74b8 Path update
Updated path /v1/me/courses -> /v1/courses/mine

This follows the pattern we set for v1/bookings/group-rooms/mine
2026-07-28 08:59:52 +02:00
niat8586 a264654332 Update daisy/schema.md
Fixed an error where the path for Hämta kursinformation was not visible.
2026-07-27 08:14:18 +02:00
niat8586 9315c9ea7c Update daisy/schema.md
Renamed "teacher":  to "staff":
2026-07-27 08:11:36 +02:00
niat8586 c5d6821230 Update response status code for post
Changed the response of the POST from 200 -> 201

201 stands for created which usually used unless anyone has any special reason for just wanting to return 200 OK.
2026-04-27 10:30:19 +02:00
stne3960 83683616d9 Change to bookingLengthIncrement 2026-04-24 10:32:05 +02:00
stne3960 4109605324 Add minimumBookableLength 2026-04-24 10:24:17 +02:00
stne3960 8e71d71687 add description 2026-04-22 10:30:53 +02:00
stne3960 04f8033e0e Update daisy/kalender.md 2026-04-13 11:26:09 +02:00
stne3960 61f41e78b2 Use camelCase 2026-04-13 10:43:42 +02:00
stne3960 0955ca2573 Use camelCase 2026-04-13 10:42:01 +02:00
stne3960 65d3db15b6 Use camelCase 2026-04-13 10:41:33 +02:00
stne3960 63374af1b3 Kalender 2026-04-13 10:28:48 +02:00
stne3960 f59b56c9b1 hämta kursinformation 2026-04-09 14:38:12 +02:00
stne3960 e61129c9d0 fler attribut för mina kurser 2026-04-09 14:25:16 +02:00
stne3960 572479c91d Uppdatera mina kurser 2026-04-09 14:14:22 +02:00
stne3960 2d6abbeafd Merge branch 'main' of gitea.dsv.su.se:DMC/api-spec 2026-04-09 14:02:54 +02:00
stne3960 286e5702ec Updatera personligt schema 2026-04-09 14:02:19 +02:00
stne3960 885ec1d7a9 Merge pull request 'Add booked by' (#2) from fix/add-booked-by into main
Reviewed-on: #2
2026-03-09 11:30:23 +01:00
stne3960 820440cbc5 Update daisy/schema.md 2026-03-05 14:47:58 +01:00
stne3960 a41cafc13a Add booked by 2026-02-23 13:16:19 +01:00
stne3960 cf9c333b5d Small text adjustment to use enums properly 2025-10-15 11:23:31 +02:00
stne3960 9d687d1c05 WIP draft schedule and courses 2025-10-07 09:23:02 +02:00
ansv7779 b8f513f8d5 Uppdaterade hanteringen av internationalisering baserad på Accept-Language och Content-Language 2025-09-09 12:05:58 +02:00
ansv7779 05f78b3db6 Update daisy/grupprumsbokning.md 2025-09-09 11:03:29 +02:00
ansv7779 daba3b4be7 Förtydligade krav på säkerhet/autentisering, prestanda, och felhantering. 2025-09-09 11:00:25 +02:00
ansv7779 3a51f672e4 Specifikation för grupprumsbokning i Daisy's nya API 2025-09-08 16:34:51 +02:00