Actions
Patch #10571
openProject identifiers missing in API output
Status:
New
Priority:
Normal
Assignee:
-
Category:
REST API
Target version:
-
Start date:
Due date:
% Done:
0%
Estimated time:
Description
Currently, only project IDs and names are included in the API membership listing for a user:
<membership> <project identifier="website" name="Company Website" id="11"/> <roles type="array"> <role name="Manager" id="3"/> <role name="Developer" id="4"/> <role name="Reporter" id="5"/> </roles> </membership>
Project identifiers ought to be included, e.g. for allowing something like grack to authenticate access to source code repositories named after project identifiers.
The simple patch adds project identifiers to the API output.
Note that the change might break third party tools which rely on naive pattern matching of the API XML data (rather than properly parsing the XML). This should not be Redmine's concern, though.
Files
No data to display
Actions