How To develop plugins with REST API capability

Added by zacky azoulay almost 11 years ago

Hi guys!

I need your help please :)

Can you tell me a step by step Tutorial how to write a Redmine plugin that have REST API capability.
I would like to be able read and write my Redmine plugin data from outside tool (using Redmine Client - Access the Redmine API in Ruby)

For example my plugin is a process request (belong to a project).

A scheduler external tool will check for new request, run the process and by the end mark the request as done

Regards Zacky

Replies (2)

RE: How To develop plugins with REST API capability - Added by Jan Ivar Beddari over 10 years ago

Any pointers to if this would be possible, viable?, and if it is, any example, would be of tremendous help.

Thanks!

RE: How To develop plugins with REST API capability - Added by zacky azoulay over 10 years ago

Hi,

is it possible to add plug-in is the module RedmineClient like

module RedmineClient
class Project < RedmineClient::Base
end
end

what is the syntax to add a redmine plugin instead of the project?

do I need to do something special in my plugin?

thank and regards zacky

(1-2/2)