From 3c5aaac30a77a7d1748fae647abdbb0083d567c6 Mon Sep 17 00:00:00 2001 From: Sirn Thanabulpong Date: Sun, 14 Aug 2022 07:26:30 +0900 Subject: [PATCH] Mention ident_v6 in API documentation And the reason why IPv6 has ident_v6 instead of reusing standard ident type --- fanboi2/templates/api/_posts.mako | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/fanboi2/templates/api/_posts.mako b/fanboi2/templates/api/_posts.mako index aabbb22..61ccabc 100644 --- a/fanboi2/templates/api/_posts.mako +++ b/fanboi2/templates/api/_posts.mako @@ -141,9 +141,11 @@ ident_type String -

The type of the user ident to distinguish user info.

+

The type of the user ident.

+

IPv6 idents are normalized to /64 CIDR by default which may be shared between multiple users in some network configuration (such as mobile network) and thus are distinguised by a separate ident_type.

"ident_type":"ident"
-- 2.45.2