Feature #36544

API json/xml responses based on Accept header

Added by Marius BALTEANU 10 months ago.

Status:NewStart date:
Priority:NormalDue date:
Assignee:-% Done:


Category:REST API
Target version:-


This is a follow-up to #34766 and #26709.

Currently, Redmine API requires to append xml or json to URL in order to respond with the desired format and completely ignore the Accept header. Pavel Rosick√Ĺ wrote more details about this in #26709.

In order to be more consistent with how Rails works by default (and other frameworks as well), we should accept the Accept header as alternative to json/xml format in URL.

Also available in: Atom PDF