RFC: allow rest api to filter patches by hash

Konstantin Ryabitsev konstantin at linuxfoundation.org
Fri Nov 23 01:58:01 AEDT 2018


Hi, all:

I was looking into integrating git with some of the projects so that
applied patches can be auto-accepted and archived and I found out that
while the XMLRPC API knows how to look up a patch by its hash, the REST
API is not able to filter patches by hash. The main reason I wanted to
stick to the REST API is because it allows me to use an API token
instead of a username/password.

So, two questions, really -- is the goal to retain both APIs, or is the
REST API supposed to eventually fully replace the other? And if that is
the case, would it be possible to teach the REST API how to filter by
hash?

Thanks,
-K


More information about the Patchwork mailing list