Awesome
Redmine Simple API plugin
Provides a simple REST API for Redmine
Install
-
Add following code to /config/routes.rb
map.connect 'simple_api/:action', :controller => 'redmine_simple_api' map.connect 'simple_api/:action.:format', :controller => 'redmine_simple_api'
-
Setup SIMPLE_SECRET_TOKEN in redmine_simple_api_controller.rb
Wiki API
Get Latest wikipage content
GET /simple\_api/get\_wiki?token=blah&project\_id=foo&page=bar
Update/Create wikipage
POST /simple\_api/update\_wiki?token=blah&project\_id=foo&page=bar&user=someone&content\_text=something
Timelog API
Create issue timelog
POST /simple_api/timelog_issue?token=blah&issue_id=1&activity_id=2&user=someone&hours=3&comments=something
Issue API
Get Issue information
GET /simple\_api/get\_issue.[xml|json]?token=blah&issue\_id=5
Author & License
Author: Wen-Tien Chang
Copyright (c) 2008 Handlino Inc.
Licensed under the MIT: http://www.opensource.org/licenses/mit-license.php