Project

General

Profile

Actions

Feature #36544

open

API json/xml responses based on Accept header

Added by Marius BĂLTEANU about 2 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
REST API
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:

Description

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.

No data to display

Actions

Also available in: Atom PDF