API future

domruf dominikruf at gmail.com
Sun Sep 14 15:43:48 EDT 2014


Hi,

as I wrote here http://article.gmane.org/gmane.comp.version-control.kallithea/43
I'm writing a jenkins plugin.

For this I need an API that gives me the open pull requests of a repository.
But since there are two kinds of APIs in kallithea I'm not sure which one to use.
For my prototype I simply added a web view with @LoginRequired(api_access=True)
to pullrequests.py. This was the simplest solution for me.

Before I cleanup my code and create a pull request I wanted to ask which API I
should use.
I think the web views are simpler to write and to be honest I don't really see
the point of /_admin/api.

cheers
Dominik



More information about the kallithea-general mailing list