Re: [rfc-i] rfcXXXX.json

Julian Reschke <julian.reschke@gmx.de> Wed, 25 September 2019 07:58 UTC

Return-Path: <rfc-interest-bounces@rfc-editor.org>
X-Original-To: ietfarch-rfc-interest-archive@ietfa.amsl.com
Delivered-To: ietfarch-rfc-interest-archive@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id CF587120104 for <ietfarch-rfc-interest-archive@ietfa.amsl.com>; Wed, 25 Sep 2019 00:58:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.998
X-Spam-Level:
X-Spam-Status: No, score=-4.998 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_INVALID=0.1, DKIM_SIGNED=0.1, FREEMAIL_FORGED_FROMDOMAIN=0.001, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.001, MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=fail (1024-bit key) reason="fail (body has been altered)" header.d=gmx.net
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id tt6HRBlS086n for <ietfarch-rfc-interest-archive@ietfa.amsl.com>; Wed, 25 Sep 2019 00:58:01 -0700 (PDT)
Received: from rfc-editor.org (rfc-editor.org [4.31.198.49]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A57E8120100 for <rfc-interest-archive-eekabaiReiB1@ietf.org>; Wed, 25 Sep 2019 00:58:01 -0700 (PDT)
Received: from rfcpa.amsl.com (localhost [IPv6:::1]) by rfc-editor.org (Postfix) with ESMTP id EE4D8B81786; Wed, 25 Sep 2019 00:57:39 -0700 (PDT)
X-Original-To: rfc-interest@rfc-editor.org
Delivered-To: rfc-interest@rfc-editor.org
Received: from localhost (localhost [127.0.0.1]) by rfc-editor.org (Postfix) with ESMTP id 8A692B81786 for <rfc-interest@rfc-editor.org>; Wed, 25 Sep 2019 00:57:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at rfc-editor.org
Authentication-Results: rfcpa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=gmx.net
Received: from rfc-editor.org ([127.0.0.1]) by localhost (rfcpa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id zrA2aR3QLtB5 for <rfc-interest@rfc-editor.org>; Wed, 25 Sep 2019 00:57:36 -0700 (PDT)
Received: from mout.gmx.net (mout.gmx.net [212.227.15.15]) by rfc-editor.org (Postfix) with ESMTPS id A1CEDB81785 for <rfc-interest@rfc-editor.org>; Wed, 25 Sep 2019 00:57:35 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1569398247; bh=CgsO0aU5OxddGL79+akIJAhp+EQyHR6F08yOLtdpJvE=; h=X-UI-Sender-Class:Subject:From:To:Cc:References:Date:In-Reply-To; b=lHCevVHKRF7j75gXcKJ+h20cxuIdjX9uFOb31YD3JQX0P8ywIpCz0O/gW/7+nfDyS HHGcT+IZ5jg22LVdRo3SeWsfdtkDIJpGB+0JBTL/9xIwP5zrNdZCKnycBo+bxU08dE EWnLkbOBuNyHwoBF4so0OAbrSDCcg/0n/yL7MQ/4=
X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c
Received: from [192.168.178.124] ([217.251.139.135]) by mail.gmx.com (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MpDJd-1hpFk02FN1-00qmxH; Wed, 25 Sep 2019 09:57:27 +0200
From: Julian Reschke <julian.reschke@gmx.de>
To: Alice Russo <arusso@amsl.com>, Russ Housley <housley@vigilsec.com>, Carsten Bormann <cabo@tzi.org>
References: <FC03E7D6-F45C-4044-88C7-0F91208C6149@vigilsec.com> <A5225355-4CFA-432A-ABD8-33F14AAFBCA7@amsl.com> <8108c318-e4f3-a42e-7ba2-e3c52e8e47f2@gmx.de>
Message-ID: <72b80ffd-4aee-7478-c77b-0f7b6cd9ea39@gmx.de>
Date: Wed, 25 Sep 2019 09:57:23 +0200
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0
MIME-Version: 1.0
In-Reply-To: <8108c318-e4f3-a42e-7ba2-e3c52e8e47f2@gmx.de>
Content-Language: en-US
X-Provags-ID: V03:K1:LFMU+LVb+Ri4R4tII+cnJlsAlUmbLlFrGT9H+8pV/BWBpjludr0 tMwom9+b7B+Ew10u/Ou32Eb6Pn9JbLcaMoIAk/q/PPajYg5mcV7OewQxHSSOxM8P3u2Efn5 vru5IT4L2jGLZiO8iqViOzbG5jaPi/38ANjqcPAJygDFOAmz51SA6LQlIfSimr39LeSwSXV +NOKn1blT7YlLjTJXyWNw==
X-UI-Out-Filterresults: notjunk:1;V03:K0:gZd+U4KhZDE=:l2jKzN+42KohtioyAK4rDh e2Q+0mkyqMACHQ16cFNll58Tnfl4LpIMlvqlyUiJ8vyWBGvhKWk4RNGm/w6QJ5DUl7n7/Fqaa r0ZW3FFaic2akLk1i2Xe+WeN+UcZjtbD1V4BOdahLHCMtv+9aey2qDCnd8fh/MDQXPsYr3SES mmSm63qR1wMq8GKfafEyAcEluM6cX42kHSV1HktRqXhQelg3TuQ8fFdONidc/Pq/uFTKFoje1 1eq4126wRddaq2J3JbxgQ4Tu2WMUAUXScO1zTac4U/oL+qHExIfd4E/BSQgzbkLYkZkeVvw0M ZMsIIn2ntN1WSKfkL0hbvfmtvgCqo4LLlZ8YC/FOlSmWHMF8HLQlJtB/pvaiXrPoxeGiMpp+H KigAFuytxgXlL1nLqoUY+Rd05VCPy0s488HZcOq/gFoUIyzNAzI1RGjJOYRzJ5JUz582T86s1 TzmhYFCjA41e6tQnBx5mwOui5pnFqPz8oEciAU4lF0rWLdezRroJLH4kbnDM4eRCJnwokINxI wR88Y743p2Zs1Sam6qMnalbfeHw2nUeqU8cEvRYob0Ns12c0kMzfFNE44sc78u4q46b/8yjbl anr0wVuAhEZRFK7Xpu0XV2063lzsqIdgVT3SrbY86+kvS2uUyPHWLu2yw6zQ1EuZ/viPJTpVr Vf/OrLxvVHF/heZVAjnw4+5Di5WeTRUDlFaJ7iPNGo+c8b2m0Mr7rw9BWbBc1BM6txDJuEqDI s0tB2Z5yv7J5I+7lgDMLjCGPK+Kg1vbK+iEvqJZf/8+Yg/PdGiyY+PfTQEPPWPij+2boQ8ASq kZ2pK/p4fsfDvxi6zXzFBtQ7nYK5txssGqt8vbSMa7bUkNgpqLunjLXgw0S/+GrwX9QUMbijo 6cjMSmBqw7Gw8+2cpCmkWepBKqVVUiVaSG+/WXmRmogiVxFL4aMoZUb9BecTUTvr8KJHb2BPf 8R/mp04s7D9FZGT7twaLchoS70gT3YSk+uHww1xBySWUPtROQwlcGhscDTeum3ec2W03WGeL1 bp0C+vN94KKpIiMmzQb4cRSbCOldQ9Z3dflvsV4UkdWj2PndOyj2IhH6vDXpsynTD/ncDfybF nk8T/hE8hYC3l3W2XoxqTaqfG8hJC9WLtlKq/+Btej4aSYvy7dBdLV0EWHdUP9VuCIYpyRUWg mq8vYfwZI6bR4JIh+TXmKIlM1SQbd0zS/e6l/0Jmvj2SGf2on2dKDMIbnNLQq56DH0yp+NXLe w3hqEaRCgSV6UxoPJEjtZNr8IAUubUhyXu/2V+WLRElw2MKEfoXZ7ovwvYJ0=
Subject: Re: [rfc-i] rfcXXXX.json
X-BeenThere: rfc-interest@rfc-editor.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "A list for discussion of the RFC series and RFC Editor functions." <rfc-interest.rfc-editor.org>
List-Unsubscribe: <https://www.rfc-editor.org/mailman/options/rfc-interest>, <mailto:rfc-interest-request@rfc-editor.org?subject=unsubscribe>
List-Archive: <http://www.rfc-editor.org/pipermail/rfc-interest/>
List-Post: <mailto:rfc-interest@rfc-editor.org>
List-Help: <mailto:rfc-interest-request@rfc-editor.org?subject=help>
List-Subscribe: <https://www.rfc-editor.org/mailman/listinfo/rfc-interest>, <mailto:rfc-interest-request@rfc-editor.org?subject=subscribe>
Cc: RFC Interest <rfc-interest@rfc-editor.org>
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="us-ascii"; Format="flowed"
Errors-To: rfc-interest-bounces@rfc-editor.org
Sender: rfc-interest <rfc-interest-bounces@rfc-editor.org>

On 25.09.2019 06:18, Julian Reschke wrote:
> ...
>> Julian,
>> They are available for use and fairly stable after an update that was
>> completed today. And, we may continue to iron things out. Feedback
>> welcome.
>> ...
>
> Thanks so far. Will have a look.
> ...

OK, had a look, and did a test implementation in the JS used by
rfc2629.xslt (which currently goes to tools.ietf.org for that kind of
information).

I'm currently looking at <https://www.rfc-editor.org/rfc/rfc2617.json>
as example.

Question: why is the data coming back as JSON array? It currently
contains one object, but what would it mean if it contains zero, or more
than one?

Question: I note that apparently a four-digit RFC number is expected in
the URL. That probably should be documented (with a plan for RFC >=
10000 of course).

Bug: when the RFC is not updated by anything, the "updated_by" member
comes back as array with *one* item, and that item is *null*. Easy to
work around, but should be fixed to return an empty array instead. The
same issue probably applies to other multi-valued fields.

Suggestion: later on, it would be great not to only get the errata URL,
but also some basic information (individual errata IDs with status and
section numbers, if available).

Best regards, Julian
_______________________________________________
rfc-interest mailing list
rfc-interest@rfc-editor.org
https://www.rfc-editor.org/mailman/listinfo/rfc-interest