Re: [netconf] Call for Authors

Douglas Hubler <dhubler@gmail.com> Mon, 22 April 2024 22:32 UTC

Return-Path: <dhubler@gmail.com>
X-Original-To: netconf@ietfa.amsl.com
Delivered-To: netconf@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id CC390C1D4CC3 for <netconf@ietfa.amsl.com>; Mon, 22 Apr 2024 15:32:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.095
X-Spam-Level:
X-Spam-Status: No, score=-2.095 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id OiZZFjrL7oLq for <netconf@ietfa.amsl.com>; Mon, 22 Apr 2024 15:32:15 -0700 (PDT)
Received: from mail-lj1-x22f.google.com (mail-lj1-x22f.google.com [IPv6:2a00:1450:4864:20::22f]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id F0B58C19ECB9 for <netconf@ietf.org>; Mon, 22 Apr 2024 15:32:14 -0700 (PDT)
Received: by mail-lj1-x22f.google.com with SMTP id 38308e7fff4ca-2d8b2389e73so59308631fa.3 for <netconf@ietf.org>; Mon, 22 Apr 2024 15:32:14 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1713825133; x=1714429933; darn=ietf.org; h=cc:to:subject:message-id:date:from:reply-to:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=IW7jS/Sb/MRcP0Tx/LTsUeqX3ClxJ1WykNcxAk7WEyo=; b=mtsuwwE9Zl+EYttF3ICKB0ItfoeBZaCfYmNL8jHp0k6QdKLqIa9nZ68nTmKSe5SRHe 0cXB4PI9ZCAPqCqEg9Kgr9eAzEFDlbFrdTMCIChbGO0NwN5UeWmnNjYYXXAXLj+fikFK PlJfQ/wVIBKni/gQrkOvs8BzIF1kYMRzPfJwbN0Mbu73b2yjPWJdyyFv9F/WZ8w5Gf9b 7ekBChu4P26pnnBb9IBXdWCFKdaZ8gtSrR7uqtHcn02hz//Vs3FDINkDhFhugI0h8hpu 302xM//0uKrf8ji+CICA+STbh3114MHtBMTZfbbEkF5QOyQVoNg/OTqiG5UOX/QsP3tT v7Kw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713825133; x=1714429933; h=cc:to:subject:message-id:date:from:reply-to:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=IW7jS/Sb/MRcP0Tx/LTsUeqX3ClxJ1WykNcxAk7WEyo=; b=DBCKBiRkLwO8JZ4Nf7Ig7w23gtokgPSDbDYM4MJpkuEhl5t1KYmbuBZWLp542yLSAh EYWkN9Tj7rXscaej0+KvlWCp27/qCKYdr88Rn3QNnpAjKZd4Mqx6ONjb7/ZXqCAkVXEQ QxnbBoVqrGD+E0HFHRYmZtXwF2AP886bUe/NjdQuylnRTKKuIiaSPDkkVBDr3MK8Wq5U KuaR3TQrP3+2sQzam+QqPfy272lIj7mxeBIAOi4GckEuIShr+C+0grZcevEJcGA8beiP zJK3rWDUt0zvSu0DddlMvg9kDfpCSA9LQsDtRZynJiWMK1mP8euOshBQcSB9/p0xP8xB zoNQ==
X-Gm-Message-State: AOJu0YxCed36iDMuU8BSU4Hm5O52lJ04mroNDB7C8UmeGLBeaZnOYBaN HO5/AmNTreQS8vGMh10lCwz8Z5POMh8Gr87egSTmF8cq/BV+b1DUpnFDwCAG2qiRNgSbcYB8uI5 sENmf8hGxsrpFdqlXp1ma4cXYuDKZlWnY
X-Google-Smtp-Source: AGHT+IGKwdVL+oLfOKT7DpmuQEWcX8FvPcKydaZTBVABtXohQDzPh150fHkUo2jNJfnj03zYpZxzwtXXKMR/ZgdokVE=
X-Received: by 2002:a05:651c:446:b0:2da:38e:f809 with SMTP id g6-20020a05651c044600b002da038ef809mr6583726ljg.52.1713825132976; Mon, 22 Apr 2024 15:32:12 -0700 (PDT)
MIME-Version: 1.0
References: <0100018f07d2cb22-852f429d-19bd-4a08-9860-cc2132b14357-000000@email.amazonses.com> <CALAkb6d-tKYHx=w-r8z+_HEuRV2NVLXVzRzb-uaMAtKLAk9b3g@mail.gmail.com>
In-Reply-To: <CALAkb6d-tKYHx=w-r8z+_HEuRV2NVLXVzRzb-uaMAtKLAk9b3g@mail.gmail.com>
Reply-To: douglas@hubler.us
From: Douglas Hubler <dhubler@gmail.com>
Date: Mon, 22 Apr 2024 18:32:02 -0400
Message-ID: <CALAkb6eFm3NExKOcdt55_w-P2vO6ViEWrurGk3mkLSSNigbYeQ@mail.gmail.com>
To: Kent Watsen <kent+ietf@watsen.net>
Cc: "netconf@ietf.org" <netconf@ietf.org>
Content-Type: multipart/alternative; boundary="0000000000004223f20616b7029c"
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/68IxpX_n4v0HbsyminimtDMdfk8>
Subject: Re: [netconf] Call for Authors
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: NETCONF WG list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/netconf/>
List-Post: <mailto:netconf@ietf.org>
List-Help: <mailto:netconf-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 22 Apr 2024 22:32:18 -0000

6.3 Known Limitations

Seeing a lot of REST developers see RESTCONF APIs for the first time, the
module namespacing in JSON is a big struggle

version 1
     { "some-module:some-container" : {"prop":"value"} ...}

Obviously I know why it is there, but this is a big hurdle for folks that
traditionally use JSON.  Then when I explain how it can change as different
YANG modules are  introduced

version 2
     { "some-module:some-container" : {"some-new-lib:prop":"value"} ...}

Scripts that use traditional HTTP clients (i.e. ignore the YANG defs) can
break if they do not handle the fluid module prefix correctly.





On Mon, Apr 22, 2024 at 6:20 PM Douglas Hubler <dhubler@gmail.com> wrote:

>
> On Mon, Apr 22, 2024 at 6:00 PM Kent Watsen <kent+ietf@watsen.net> wrote:
> > Would anyone like to help me write an INFORMATIONAL document that
> evangelizes the use of RESTCONF for generic web applications?   Attached is
> what I have so far.
>
> As a huge fan of RESTCONF and also do a lot of swagger I would have some
> input  for section 5. RESTCONF, a Superior REST-ful API
>
> Adjustable data granularity
> Traditional REST APIs struggle with what level of information to return
> for each GET request and this is called granularity. Return too little data
> and scripts will need to make constant trips for more. Return too much data
> and the majority of it will likely be unused. Both situations cause delays
> and additional resource consumption.
>
> RESTCONF APIs do not have this issue. Clients can precisely control the
> data they want from depth, to list pagination. From selecting fields to
> excluding fields.
>
>
>
> On Mon, Apr 22, 2024 at 6:00 PM Kent Watsen <kent+ietf@watsen.net> wrote:
>
>> Would anyone like to help me write an INFORMATIONAL document that
>> evangelizes the use of RESTCONF for generic web applications?   Attached is
>> what I have so far.
>>
>> Cheers,
>> Kent
>>
>>
>> _______________________________________________
>> netconf mailing list
>> netconf@ietf.org
>> https://www.ietf.org/mailman/listinfo/netconf
>>
>