From 66dc4252cacb22e570002455c55f5e844f3f61bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Wieczorek?= Date: Thu, 20 Jul 2023 19:27:54 +0200 Subject: [PATCH] doc: update /whoami endpoint "id" response field MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Name of the field has changed from "_id" to "id" as a part of PR #280. Signed-off-by: Paweł Wieczorek --- doc/getting-started.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/getting-started.md b/doc/getting-started.md index 62b7afe8..e529ccae 100644 --- a/doc/getting-started.md +++ b/doc/getting-started.md @@ -128,7 +128,7 @@ $ curl -X 'GET' \ 'http://localhost:8001/latest/whoami' \ -H 'accept: application/json' \ -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJib2IifQ.KHkILtsJaCmueOfFCj79HGr6kHamuZFdB1Yz_5GqcC4' -{"_id":"615f30020eb7c3c6616e5ac3","username":"bob","hashed_password":"$2b$12$VtfVij6zz20F/Qr0Ri18O.11.0LJMMXyJxAJAHQbKU0jC96eo2fr.","active":true} +{"id":"615f30020eb7c3c6616e5ac3","username":"bob","hashed_password":"$2b$12$VtfVij6zz20F/Qr0Ri18O.11.0LJMMXyJxAJAHQbKU0jC96eo2fr.","active":true} ``` ### Setup SSH keys