API: Content Negotiation
For now, we provide content negotiation with HTTP headers, in a not very professional way, but it works. At the meeting Meeting 2020-05-19, it was ask what we provide and if not a URL pattern negotiation would be better/nicer. Christoph stated, we should stick to one negotiation type, although it is possible to use both, it would be not clear for an application or user.
It is up for discussion.
(very short and simple explaination)
Updated by Bernhard Koschiček-Krombholz over 3 years ago
- Status changed from Assigned to In Progress
You can access the API now through an HTTPS GET request with a json body (https://redmine.craws.net/projects/uni/wiki/Usage). I hope this will help with the development of the front end.
Updated by Bernhard Koschiček-Krombholz about 3 years ago
- Status changed from In Progress to Closed
We decided to make the URL patterns, although they are more work for the front end dev, it is the standard way to implement a viewing API. If post/put/delete should be supported, a new discussion should be held.