From 2a08a308f34f7583534e3e9009f390471d1faf07 Mon Sep 17 00:00:00 2001 From: Travis Ralston Date: Thu, 30 Aug 2018 16:29:24 -0600 Subject: [PATCH] device_keys are required --- api/server-server/user_keys.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/api/server-server/user_keys.yaml b/api/server-server/user_keys.yaml index 86993433..63c74d20 100644 --- a/api/server-server/user_keys.yaml +++ b/api/server-server/user_keys.yaml @@ -55,7 +55,7 @@ paths: description: algorithm example: "signed_curve25519" example: { - "@alice:example.com": { + "@alice:example.com": { "JLAFKJWSCS": "signed_curve25519" } } @@ -126,6 +126,7 @@ paths: example: { "@alice:example.com": [] } + required: ['device_keys'] responses: 200: description: The device information. @@ -178,7 +179,7 @@ paths: "@alice:example.com": { "ed25519:JLAFKJWSCS": "dSO80A01XiigH3uBiDVx/EjzaoycHcjq9lfQX0uWsqxl2giMIiSPR8a4d291W1ihKJL/a+myXS367WT6NAIcBA" } - }, + }, "unsigned": { "device_display_name": "Alice's mobile phone" }