Project

General

Profile

Actions

Feature #1255

closed

API: Content Negotiation

Added by Bernhard Koschiček-Krombholz almost 4 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Normal
Category:
API
Target version:
Start date:
2020-05-20
Estimated time:

Description

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)

Actions #1

Updated by Alexander Watzinger almost 4 years ago

  • Status changed from New to Assigned
Actions #2

Updated by Bernhard Koschiček-Krombholz almost 4 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.

Actions #3

Updated by Bernhard Koschiček-Krombholz almost 4 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.

Actions #4

Updated by Bernhard Koschiček-Krombholz over 3 years ago

  • Target version changed from 208 to 5.5.0
Actions #5

Updated by Alexander Watzinger over 3 years ago

  • Subject changed from Content Negotiation to API: Content Negotiation
Actions #6

Updated by Alexander Watzinger over 3 years ago

  • Target version changed from 5.5.0 to 5.4.0
Actions

Also available in: Atom PDF