admin_api.md: Put data-type info as the values
authorHaelwenn (lanodan) Monnier <contact@hacktivis.me>
Sun, 29 Sep 2019 00:14:53 +0000 (02:14 +0200)
committerHaelwenn (lanodan) Monnier <contact@hacktivis.me>
Sun, 29 Sep 2019 00:14:53 +0000 (02:14 +0200)
Similar to how the other responses examples are done,
this also makes it proper JSON (as it doesn’t have comments).

docs/api/admin_api.md

index 8795c2628404904f8ddc6359388cf19cb9893e5f..ee9e68cb1456c79c3231fa9a259e9dddbdfbbacb 100644 (file)
@@ -312,8 +312,8 @@ Note: Available `:permission_group` is currently moderator and admin. 404 is ret
 
 ```json
 {
-  "token": "U13DX6muOvpRsj35_ij9wLxUbkU-eFvfKttxs6gIajo=", // password reset token (base64 string)
-  "link": "https://pleroma.social/api/pleroma/password_reset/U13DX6muOvpRsj35_ij9wLxUbkU-eFvfKttxs6gIajo%3D"
+  "token": "base64 reset token",
+  "link": "https://pleroma.social/api/pleroma/password_reset/url-encoded-base64-token"
 }
 ```