https://www.redmine.org/https://www.redmine.org/favicon.ico?16793021292011-02-20T14:26:10ZRedmineRedmine - Defect #7661: xml attributes names should be consistent throughout ALL REST APIhttps://www.redmine.org/issues/7661?journal_id=253522011-02-20T14:26:10ZJean-Philippe Langjp_lang@yahoo.fr
<ul></ul><p>I think that user's name (aka fullName) can be usefull when displaying a list of issue.<br />Can't we just add this read-only property to the users API?</p> Redmine - Defect #7661: xml attributes names should be consistent throughout ALL REST APIhttps://www.redmine.org/issues/7661?journal_id=254852011-02-22T18:59:54ZAlex Last
<ul></ul><p>full name is definitely useful, but my suggestion is to use the same attribute names in all REST API responses.<br />e.g. instead of "fullname" or ambiguous "name" we could have "first_name", "last_name", "login" in both "issues.xml" and "users.xml" responses. I think the GUI layer should be able to glue "first_name" and "last_name" together itself.</p>
<p>Side note: I don't see a need in separate first and last name fields at all, btw. when I create a user in Redmine or any other system, I'd be fine with providing just "name" and I don't care which part of it is the 1st name and which one - the family one. but that's just my preference :).</p>