REST API for Issues
|Assignee:||Eric Davis||% Done:|
|Target version:||1.0.0 (RC)|
Part of the main REST API issue (#296), this should expose some APIs to work with issues.
- Get a list of issues
- Create a new issue
- Update an existing issue
- Delete an issue
#8 Updated by Eric Davis over 8 years ago
Jean-Philippe Lang wrote:
But it's not a big change and it would be a shame to have a API style authentication without any API behind in 0.9. This API should be considered as a draft in 0.9 so we can get some feedback and improve it for 1.0.
I'd disagree, this is a moderate sized change. It adds an entire API, new views, and some more routes. (From what I'm seeing, it's also missing the JSON format)
Also 0.9 already included part of the XML/JSON API for News to test the API authentications (http://www.redmine.org/issues/3920#note-8). My goal was to get API authentication tested and into 0.9 so plugin developers can take advantage of it to build APIs for their plugins while the core had time to refine the main REST API.
#10 Updated by Henrik Mohr over 8 years ago
I just updated our installation today from master (github) -> version 0.9.1.
- /projects.xml returns usable XML, but
- /issues.xml returns html
The begin of the HTML is:
Any ideas on what is wrong?
#11 Updated by Lane Roathe over 8 years ago
I am looking forward to seeing this happen. For areas I am interested in using it, I would want JSON data (for example, any mobile device at this time handles XML very slowly compared to JSON), so I am glad to see it's being provided so far and I hope continues to be going forward. :)