From 6c9b25a3973b20370dc89e91c9a8828934a408e7 Mon Sep 17 00:00:00 2001 From: Will Date: Wed, 7 Oct 2020 09:38:03 -0700 Subject: [PATCH 1/2] Make score and reason parameters optional in content reporting API (MSC2414) --- api/client-server/report_content.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/api/client-server/report_content.yaml b/api/client-server/report_content.yaml index 42a64b8e8a5..380995ead93 100644 --- a/api/client-server/report_content.yaml +++ b/api/client-server/report_content.yaml @@ -55,7 +55,6 @@ paths: "score": -100, "reason": "this makes me sad" } - required: ['score', 'reason'] properties: score: type: integer From 89d53fd688cafd1305acea08566b17661291fec9 Mon Sep 17 00:00:00 2001 From: Will Date: Wed, 7 Oct 2020 09:42:46 -0700 Subject: [PATCH 2/2] Add changelog entry --- changelogs/client_server/newsfragments/2807.feature | 1 + 1 file changed, 1 insertion(+) create mode 100644 changelogs/client_server/newsfragments/2807.feature diff --git a/changelogs/client_server/newsfragments/2807.feature b/changelogs/client_server/newsfragments/2807.feature new file mode 100644 index 00000000000..e011cde602b --- /dev/null +++ b/changelogs/client_server/newsfragments/2807.feature @@ -0,0 +1 @@ +Make ``reason`` and ``score`` parameters optional in the content reporting API (MSC2414).