[netconf] Is it legal to POST/PUT/PATCH list and leaf-list in RESTCONF?

li zongliang <lizongliang111@hotmail.com> Mon, 24 June 2019 09:42 UTC

Return-Path: <lizongliang111@hotmail.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 0FE4A120033 for <netconf@ietfa.amsl.com>; Mon, 24 Jun 2019 02:42:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.865
X-Spam-Level:
X-Spam-Status: No, score=-0.865 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FORGED_HOTMAIL_RCVD2=0.874, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, T_REMOTE_IMAGE=0.01] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=hotmail.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 xjhNydt0Sbx1 for <netconf@ietfa.amsl.com>; Mon, 24 Jun 2019 02:42:32 -0700 (PDT)
Received: from APC01-PU1-obe.outbound.protection.outlook.com (mail-oln040092254036.outbound.protection.outlook.com [40.92.254.36]) (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 68A7A120114 for <netconf@ietf.org>; Mon, 24 Jun 2019 02:42:32 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=JDNhEDCTOd8WfL0Iu+/jiBDLvhE/4Yxa8jdqldA9TVA=; b=nTpQ2M7CMycKViByQn1T3zmvye3IZ9gsJB5KEZjL1/hcRSHd4RQ5nJCjhUZ/miQFGfi4HG1atRGWPaTLPUyHsCxy48DwOdFOExPhTMOfhfq6vzp5qapAOGMDpS5FhvPbyWaLA6uzv72odTc3lJROZivA97Ckx6vsup0Opq9Q9nSkHxjeSRz1wlZOSUcZKEyvEo8ztnammHJlWav9M2gBG7YQAKEFg5TNutt3TlrccTo9ooxaAHAKn3IWL8X9DHfPtMbb3mifwPVDex8XjTtIafmOf0rAz+T6m2U2Z5L2ozszKOL0pJJOfnxeQP1FOwTzeY10hVY/e2+bnKRwm1yIyA==
Received: from PU1APC01FT013.eop-APC01.prod.protection.outlook.com (10.152.252.59) by PU1APC01HT240.eop-APC01.prod.protection.outlook.com (10.152.252.254) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.2008.13; Mon, 24 Jun 2019 09:42:30 +0000
Received: from HK0PR01MB2546.apcprd01.prod.exchangelabs.com (10.152.252.57) by PU1APC01FT013.mail.protection.outlook.com (10.152.252.78) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2008.13 via Frontend Transport; Mon, 24 Jun 2019 09:42:30 +0000
Received: from HK0PR01MB2546.apcprd01.prod.exchangelabs.com ([fe80::ac68:317e:3bd0:3601]) by HK0PR01MB2546.apcprd01.prod.exchangelabs.com ([fe80::ac68:317e:3bd0:3601%3]) with mapi id 15.20.2008.007; Mon, 24 Jun 2019 09:42:30 +0000
From: li zongliang <lizongliang111@hotmail.com>
To: "netconf@ietf.org" <netconf@ietf.org>
Thread-Topic: Is it legal to POST/PUT/PATCH list and leaf-list in RESTCONF?
Thread-Index: AQHVKnDTdXWN+7vczUCp+x7YdNisrg==
Date: Mon, 24 Jun 2019 09:42:30 +0000
Message-ID: <HK0PR01MB254667FB593B03A7B114AB078AE00@HK0PR01MB2546.apcprd01.prod.exchangelabs.com>
Accept-Language: zh-CN, en-US
Content-Language: zh-CN
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-incomingtopheadermarker: OriginalChecksum:A316C728748AB2ECA1C0549E77FF5F4E88B13CC67D8DB2DCCE387D9CC69F396A; UpperCasedChecksum:9B8E9E57C1AB515CD069DC1021DF9CAA677398962C9C25A51EC325FA1C2310DF; SizeAsReceived:6637; Count:41
x-ms-exchange-messagesentrepresentingtype: 1
x-tmn: [EDzUXfZxS/k6t2dqtKx2nive1bM7epkL]
x-ms-publictraffictype: Email
x-incomingheadercount: 41
x-eopattributedmessage: 0
x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(5050001)(7020095)(20181119110)(201702061078)(5061506573)(5061507331)(1603103135)(2017031320274)(2017031322404)(2017031323274)(2017031324274)(1601125500)(1603101475)(1701031045); SRVR:PU1APC01HT240;
x-ms-traffictypediagnostic: PU1APC01HT240:
x-ms-exchange-purlcount: 1
x-microsoft-antispam-message-info: qxK7xMtMUWlcePAAXe8YujFpkaUMPo1hDxIpK56aHxlGYrxSOD5KMfkeg6txqgdlJSXCQCX6ZHU6busAk8jdQGCgXP8fhIa/mlGvGxUhktVH2T+b3zrBWpsawu3KZPfQTmi6OTzUnf4Swg9Y5nY5MPGAjW9FLhH8aB3ZxrA8AcaQf71vhwyGQJNTMfa/B95T
Content-Type: multipart/alternative; boundary="_000_HK0PR01MB254667FB593B03A7B114AB078AE00HK0PR01MB2546apcp_"
MIME-Version: 1.0
X-OriginatorOrg: hotmail.com
X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000
X-MS-Exchange-CrossTenant-Network-Message-Id: f80befca-dd78-4884-e737-08d6f8884672
X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 00000000-0000-0000-0000-000000000000
X-MS-Exchange-CrossTenant-originalarrivaltime: 24 Jun 2019 09:42:30.0280 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Internet
X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa
X-MS-Exchange-Transport-CrossTenantHeadersStamped: PU1APC01HT240
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/dQnJm5dLUxEuZpJ-zmsrMkuvSmQ>
Subject: [netconf] Is it legal to POST/PUT/PATCH list and leaf-list in RESTCONF?
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.29
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, 24 Jun 2019 09:42:34 -0000

Hi,

I asked the question on StackOverflow and got no answer. One told me that I should ask in the mailing list.
Can anyone take a look at this post https://stackoverflow.com/questions/56174498/is-it-legal-to-post-put-patch-list-and-leaf-list-in-restconf?
[https://cdn.sstatic.net/Sites/stackoverflow/img/apple-touch-icon@2.png?v=73d79a89bded]<https://stackoverflow.com/questions/56174498/is-it-legal-to-post-put-patch-list-and-leaf-list-in-restconf>
rest - Is it legal to POST/PUT/PATCH list and leaf-list in RESTCONF? - Stack Overflow<https://stackoverflow.com/questions/56174498/is-it-legal-to-post-put-patch-list-and-leaf-list-in-restconf>
This is a follow-up question of this post. From @predi's answer I know that it is legal to GET a URL whose target resource is a list or leaf-list and DELETE can't use such URL. That is to say, give...
stackoverflow.com



Thanks,