[PATCH 2/2] api: allow filtering patches and covers by msgid

Jeremy Kerr jk at ozlabs.org
Tue Apr 14 17:21:01 AEST 2020


Hi Daniel,

> In the process of fixing the previous bug, I realised that:
> 
>  a) /api/patches/msgid is a perfectly reasonable thing to attempt
>  b) We have no way of finding a patch by message id in the API
> 
> We can't actualy make /api/patches/msgid work because it may not
> be unique, but we can add a filter.

LGTM: https://patchwork.ozlabs.org/api/patches/?msgid=20200414062102.6798-3-dja@axtens.net

Tested-by: Jeremy Kerr <jk at ozlabs.org>

Cheers,


Jeremy



More information about the Patchwork mailing list