Opened 4 months ago

Last modified 2 months ago

#76 new

Review API URI Design

Reported by: Florian Berger Owned by:
Milestone: Demo Course – Features Keywords:
Cc:

Description

The current

/courses/view/d220804a-3166-4b42-82d7-e856ce75fe33/ad80or
/courses/d220804a-3166-4b42-82d7-e856ce75fe33/media/audio/chimes.opus

appears somewhat inconsistent.

Maybe

/view/d220804a-3166-4b42-82d7-e856ce75fe33/ad80or
/media|files|static(?)/d220804a-3166-4b42-82d7-e856ce75fe33/media/audio/chimes.opus

?

And only if I actually want to CRUD a course, use /courses/d220804a-3166-4b42-82d7-e856ce75fe33 ?

Or maybe do away with /view altoghether, and use Accept: text/html sent by the client to trigger the HTML view representation?

Change History (0)

Note: See TracTickets for help on using tickets.