aboutsummaryrefslogtreecommitdiff
path: root/releasenotes/notes
diff options
context:
space:
mode:
authorDaniel Axtens <dja@axtens.net>2020-04-14 15:34:40 +1000
committerDaniel Axtens <dja@axtens.net>2020-04-14 23:27:17 +1000
commitd08b6c72964898c9997a62e4ab6a721f166a56ca (patch)
treec505ea706979e56bdf9fa19f6414787ecdbd2e36 /releasenotes/notes
parent08c5856444bc2e100c4acbbea0a244cd46083c4b (diff)
downloadpatchwork-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 'releasenotes/notes')
-rw-r--r--releasenotes/notes/rest-filter-msgid-41f693cd4e53cf93.yaml6
1 files changed, 6 insertions, 0 deletions
diff --git a/releasenotes/notes/rest-filter-msgid-41f693cd4e53cf93.yaml b/releasenotes/notes/rest-filter-msgid-41f693cd4e53cf93.yaml
new file mode 100644
index 0000000..0fcbbeb
--- /dev/null
+++ b/releasenotes/notes/rest-filter-msgid-41f693cd4e53cf93.yaml
@@ -0,0 +1,6 @@
+---
+api:
+ - |
+ The REST API now supports filtering patches and cover letters by message
+ ID, using the ``msgid`` query parameter. Don't include leading or trailing
+ angle brackets.