diff options
author | Daniel Axtens <dja@axtens.net> | 2020-04-14 15:34:40 +1000 |
---|---|---|
committer | Daniel Axtens <dja@axtens.net> | 2020-04-14 23:27:17 +1000 |
commit | d08b6c72964898c9997a62e4ab6a721f166a56ca (patch) | |
tree | c505ea706979e56bdf9fa19f6414787ecdbd2e36 /docs/development/assets.rst | |
parent | 08c5856444bc2e100c4acbbea0a244cd46083c4b (diff) | |
download | patchwork-d08b6c72964898c9997a62e4ab6a721f166a56ca.tar patchwork-d08b6c72964898c9997a62e4ab6a721f166a56ca.tar.gz |
api: allow filtering patches and covers by msgid
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.
I'm shoehorning this into stable/2.2, even though it's technically
an API change: it's minor, not incompatible and in hindsight a
glaring hole.
Cc: Michael Ellerman <mpe@ellerman.id.au>
Tested-by: Jeremy Kerr <jk@ozlabs.org>
Reviewed-by: Andrew Donnellan <ajd@linux.ibm.com>
Reviewed-by: Stephen Finucane <stephen@that.guru>
Signed-off-by: Daniel Axtens <dja@axtens.net>
Diffstat (limited to 'docs/development/assets.rst')
0 files changed, 0 insertions, 0 deletions