From 0fea3806255172154c1047464ca195b8874bce7f Mon Sep 17 00:00:00 2001 From: Maxime Dor Date: Sun, 29 Oct 2017 12:20:22 +0100 Subject: [PATCH 1/2] Add status for unknown user's filter ID --- api/client-server/filter.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/api/client-server/filter.yaml b/api/client-server/filter.yaml index ac8e04f5799..185f53122fd 100644 --- a/api/client-server/filter.yaml +++ b/api/client-server/filter.yaml @@ -147,5 +147,7 @@ paths: type: object allOf: - $ref: "definitions/sync_filter.yaml" + 400: + description: "Unknown filter." tags: - Room participation From 099a7e90aebb2679e695bfd839360d5420c5f031 Mon Sep 17 00:00:00 2001 From: Maxime Dor Date: Thu, 9 Nov 2017 15:32:32 +0100 Subject: [PATCH 2/2] Change return code following feedback --- api/client-server/filter.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/client-server/filter.yaml b/api/client-server/filter.yaml index 185f53122fd..68db7a94da9 100644 --- a/api/client-server/filter.yaml +++ b/api/client-server/filter.yaml @@ -147,7 +147,7 @@ paths: type: object allOf: - $ref: "definitions/sync_filter.yaml" - 400: + 404: description: "Unknown filter." tags: - Room participation