Re: [core] Adding CRUD to the core.ll interface; was Re: draft-groves-core-dynlink-02

Carsten Bormann <cabo@tzi.org> Mon, 27 February 2017 21:13 UTC

Return-Path: <cabo@tzi.org>
X-Original-To: core@ietfa.amsl.com
Delivered-To: core@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C11C412A343 for <core@ietfa.amsl.com>; Mon, 27 Feb 2017 13:13:00 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.2
X-Spam-Level:
X-Spam-Status: No, score=-4.2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3] autolearn=ham autolearn_force=no
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 iiZd2ApJdkj9 for <core@ietfa.amsl.com>; Mon, 27 Feb 2017 13:12:59 -0800 (PST)
Received: from mailhost.informatik.uni-bremen.de (mailhost.informatik.uni-bremen.de [IPv6:2001:638:708:30c9::12]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id C634512A0CF for <core@ietf.org>; Mon, 27 Feb 2017 13:12:58 -0800 (PST)
X-Virus-Scanned: amavisd-new at informatik.uni-bremen.de
Received: from submithost.informatik.uni-bremen.de (submithost.informatik.uni-bremen.de [134.102.201.11]) by mailhost.informatik.uni-bremen.de (8.14.5/8.14.5) with ESMTP id v1RLCoTg026520; Mon, 27 Feb 2017 22:12:50 +0100 (CET)
Received: from [192.168.217.124] (p5DCCCDC2.dip0.t-ipconnect.de [93.204.205.194]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by submithost.informatik.uni-bremen.de (Postfix) with ESMTPSA id 3vXDv635T0zDHsY; Mon, 27 Feb 2017 22:12:50 +0100 (CET)
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 10.2 \(3259\))
From: Carsten Bormann <cabo@tzi.org>
In-Reply-To: <2FEB83DB-873A-42BE-BADF-51AE72104205@gmail.com>
Date: Mon, 27 Feb 2017 22:12:49 +0100
X-Mao-Original-Outgoing-Id: 509922768.645738-cd72769a0c5a42e4d24b2e01b5c3eb81
Content-Transfer-Encoding: quoted-printable
Message-Id: <6B284358-61A7-4E73-A54D-298B466E0E8F@tzi.org>
References: <AAC41ACC-476B-4D5E-83C1-1D76D45ACF70@gmail.com> <0d67976c-c566-ae89-cdcc-ed0828abe3d6@gmail.com> <58FEF934-CB65-4229-919F-508DE261EA1D@gmail.com> <2FEB83DB-873A-42BE-BADF-51AE72104205@gmail.com>
To: Michael Koster <michaeljohnkoster@gmail.com>
X-Mailer: Apple Mail (2.3259)
Archived-At: <https://mailarchive.ietf.org/arch/msg/core/0WpZGGkCOMYqBSJBk1z0W_w_soA>
Cc: "core@ietf.org WG" <core@ietf.org>
Subject: Re: [core] Adding CRUD to the core.ll interface; was Re: draft-groves-core-dynlink-02
X-BeenThere: core@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: "Constrained RESTful Environments \(CoRE\) Working Group list" <core.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/core>, <mailto:core-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/core/>
List-Post: <mailto:core@ietf.org>
List-Help: <mailto:core-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/core>, <mailto:core-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 27 Feb 2017 21:13:01 -0000

On 27 Feb 2017, at 21:45, Michael Koster <michaeljohnkoster@gmail.com> wrote:
> 
> The PATCH method on links
>    MUST use the JSON Merge-Patch Content-Format (application/merge-
>    patch+json) specified in [RFC7396].

I’m not a big fan of requiring constrained nodes to do JSON.
(Time for Peter and me to finish the CBOR merge-patch…)

The way merge-patch and query parameters work together probably needs some explanation and some examples.

Grüße, Carsten