Project

General

Profile

Actions

Defect #10164

closed

inconsistent field in "News" REST API: "user name"

Added by Alex Last over 12 years ago. Updated almost 9 years ago.

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

0%

Estimated time:
Resolution:
No feedback
Affected version:

Description

Redmine 1.3.0 REST API returns this in "news" section:
<author name="rest last" id="95"/>

there's no such field as "name" for users in Redmine.
there are:

first name
last name
login

suggestion: provide all three values in "author" section: first, last names plus login.
e.g.:

<author firstName="myFirst" lastName="mylast" login="user1" id="95"/>

Actions

Also available in: Atom PDF