Project

General

Profile

Actions

Feature #42970

open

Rest API - XML Format: User preferences and send_information should be nested into user params

Added by Liane Hampe about 3 hours ago.

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

0%

Estimated time:
Resolution:

Description

When submitting a request body in XML format that contains more than one root key, the server responds with a 400 error.
Request Body:

Server response:

This makes endpoints like UsersController#create only partially usable with XML since user preferences and send_information checkbox can't be included in the request.

NOTE
This is a restriction of XML. The JSON request works with several root keys. Therefore, this feature request could also be considered as Bug relevant for all supported Redmine versions.


Files

No data to display

Actions

Also available in: Atom PDF