From 4499d478bfa4c1140a031b5b9cc5cc99bf139eb5 Mon Sep 17 00:00:00 2001 From: David Robertson Date: Thu, 30 Jun 2022 23:11:28 +0100 Subject: [PATCH] 404 on missing account data --- data/api/client-server/account-data.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/data/api/client-server/account-data.yaml b/data/api/client-server/account-data.yaml index 873f5c50..306bc3b5 100644 --- a/data/api/client-server/account-data.yaml +++ b/data/api/client-server/account-data.yaml @@ -114,6 +114,9 @@ paths: description: |- The access token provided is not authorized to retrieve this user's account data. + 404: + description: |- + No account data has been provided for this user with the given `type`. tags: - User data "/user/{userId}/rooms/{roomId}/account_data/{type}": @@ -217,5 +220,9 @@ paths: description: |- The access token provided is not authorized to retrieve this user's account data. + 404: + description: |- + No account data has been provided for this user and this room with the + given `type`. tags: - User data