minicron icon indicating copy to clipboard operation
minicron copied to clipboard

Create external REST API

Open copernicus opened this issue 10 years ago • 4 comments

It would be really useful if there is a way to do the CRUD on the minicron server via an API along with the existing UI. That makes it easier to integrate into existing ruby projects. Is this something that would be possible as a feature?

thanks. This is a terrific project BTW :)

copernicus avatar Apr 17 '14 11:04 copernicus

The fronted is built using Ember so I had to build a REST API for that so I don't see why that couldn't be used. Someone else mentioned this to me so it's definitely something I will think about. I'm going to add some documentation for the existing API methods and review if anything is missing, sound good?

jamesrwhite avatar Apr 17 '14 13:04 jamesrwhite

That sounds great. It will make it very simple to plugin. Thanks!!

copernicus avatar Apr 17 '14 20:04 copernicus

The old API used by Ember no longer exists. Eventually I'll make one dedicated just for external use. This will probably involve refactoring some of the logic currently in controllers into models/libs.

jamesrwhite avatar Sep 29 '15 00:09 jamesrwhite

:+1: for this feature request.

fuzzyami avatar Dec 07 '15 06:12 fuzzyami