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

Michael Koster <michaeljohnkoster@gmail.com> Mon, 27 February 2017 21:54 UTC

Return-Path: <michaeljohnkoster@gmail.com>
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 ABA24129401 for <core@ietfa.amsl.com>; Mon, 27 Feb 2017 13:54:37 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level:
X-Spam-Status: No, score=-1.999 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=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 ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 7s6CiL6a20qX for <core@ietfa.amsl.com>; Mon, 27 Feb 2017 13:54:36 -0800 (PST)
Received: from mail-pg0-x22e.google.com (mail-pg0-x22e.google.com [IPv6:2607:f8b0:400e:c05::22e]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 724141279EB for <core@ietf.org>; Mon, 27 Feb 2017 13:54:36 -0800 (PST)
Received: by mail-pg0-x22e.google.com with SMTP id p5so25189612pga.1 for <core@ietf.org>; Mon, 27 Feb 2017 13:54:36 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=ssXqnmmnXB72PvftyF14zKjD7bQNn0pW1C8/puYpcn4=; b=GXqJsABrI+0KEKWJwhciYwAhhwRcvpNJd/b+GJ6YvoDjxjMwN4fj6HAJSFwwwOYlqX /w5NJIRCQJPgx8Otcxhu2EyAHeSGR9WeFYBYbF2J27cd+Hac6X/kCKfIb9p5omOFnct/ rrHzV9vwQm+N6k9Ya8/exX8KQ7Mm63DWUXusRFV2lSc3tkzHa01smpwPEfT2rqcVgCwa remDrikFmFfg6o9z9Qz0aYmfubGYOYcAPdA6vMH5NfhyZrrkCb2JxcwyC5V9J0FluAnE v3xy4PPLqC8jkR65K37OndZazamyI2Qf5QMnYJ2xjiW4noz5O3GpQtf59CW7IsVDnPQH 4COQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=ssXqnmmnXB72PvftyF14zKjD7bQNn0pW1C8/puYpcn4=; b=dV/9LrAhZa+18lP6JK9wjHko6P8/cpnhR4UKigIFT55Lhz/ZqUY/OBpMN/GAn2vv4y yItj3vGBHfIh5mTIsq7DNYY1b6QvCiYKH4eeSJiZT2ZEt+weYoXSBNXeDsxFguaAvVT2 YMqeejRK1CZlZftTK03hzXUfl1O1L1xLMaXm+Os11owyxYA6xoWNc4MRRfzwGdQKaXJf MqQ/TxBXWL4Zi4icWg5iII78KD+tFjgtIIc2yGtPUAZGJ/o0jAPt4hDCsWINPwPr0hC6 kgLkZp8lPuwBuzfJk9QnmkJ+xB0jbNvjDzxse5RbBGw6QJmNSzHKyaKqDSC6Z8vZ/l2G 1Bjg==
X-Gm-Message-State: AMke39nfYgMpsQlxbelegs8X5K3LtEB709VFGBQ4sKs5U67Yfb50Re7/bvUUD4roLRTmuw==
X-Received: by 10.84.231.134 with SMTP id g6mr27595712plk.110.1488232476043; Mon, 27 Feb 2017 13:54:36 -0800 (PST)
Received: from [172.18.40.215] ([50.225.220.36]) by smtp.gmail.com with ESMTPSA id n73sm32334470pfa.9.2017.02.27.13.54.34 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 27 Feb 2017 13:54:35 -0800 (PST)
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\))
From: Michael Koster <michaeljohnkoster@gmail.com>
In-Reply-To: <6B284358-61A7-4E73-A54D-298B466E0E8F@tzi.org>
Date: Mon, 27 Feb 2017 13:54:33 -0800
Content-Transfer-Encoding: quoted-printable
Message-Id: <B2B56BEA-07BB-4744-BDA6-A1B498E019C0@gmail.com>
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> <6B284358-61A7-4E73-A54D-298B466E0E8F@tzi.org>
To: Carsten Bormann <cabo@tzi.org>
X-Mailer: Apple Mail (2.2104)
Archived-At: <https://mailarchive.ietf.org/arch/msg/core/8L3_qdXmHIi_hTpB_p-dGy5boIw>
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:54:37 -0000

Yes, we MUST NOT require JSON... 

I will create some examples of query selection and merge-patch updates, and further explanation, as we will need it in RD anyway.

Best regards,

MIchael


> On Feb 27, 2017, at 1:12 PM, Carsten Bormann <cabo@tzi.org> wrote:
> 
> 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
>