Re: [core] ue of resource type in collections

Peter van der Stok <stokcons@bbhmail.nl> Fri, 20 July 2018 11:56 UTC

Return-Path: <stokcons@bbhmail.nl>
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 A7243130DC0 for <core@ietfa.amsl.com>; Fri, 20 Jul 2018 04:56:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.898
X-Spam-Level:
X-Spam-Status: No, score=-1.898 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, URIBL_BLOCKED=0.001] 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 sFxslWqQGb1d for <core@ietfa.amsl.com>; Fri, 20 Jul 2018 04:56:13 -0700 (PDT)
Received: from smtprelay.hostedemail.com (smtprelay0065.hostedemail.com [216.40.44.65]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E0DD3127AC2 for <core@ietf.org>; Fri, 20 Jul 2018 04:56:12 -0700 (PDT)
Received: from filter.hostedemail.com (clb03-v110.bra.tucows.net [216.40.38.60]) by smtprelay04.hostedemail.com (Postfix) with ESMTP id D0410180A8428; Fri, 20 Jul 2018 11:56:11 +0000 (UTC)
X-Session-Marker: 73746F6B636F6E73406262686D61696C2E6E6C
X-Spam-Summary: 2, 0, 0, , d41d8cd98f00b204, stokcons@bbhmail.nl, :::::, RULES_HIT:41:72:152:355:379:582:599:960:962:966:967:973:983:988:989:1152:1189:1208:1212:1221:1260:1313:1314:1345:1431:1436:1437:1516:1517:1518:1535:1542:1575:1588:1589:1592:1594:1711:1712:1730:1776:1792:2068:2069:2196:2198:2199:2200:2525:2528:2559:2566:2570:2682:2685:2693:2703:2859:2892:2902:2933:2937:2939:2942:2945:2947:2951:2954:3022:3352:3865:3866:3867:3868:3870:3871:3872:3873:3874:3934:3936:3938:3941:3944:3947:3950:3953:3956:3959:4250:4321:4362:4385:5007:6117:6119:6261:6298:7464:7875:7903:8603:9010:9025:9416:10004:10346:10400:11658:12740:13139:13161:13229:13237:30056, 0, RBL:216.40.42.5:@bbhmail.nl:.lbl8.mailshell.net-62.8.55.100 66.201.201.201, CacheIP:none, Bayesian:0.5, 0.5, 0.5, Netcheck:none, DomainCache:0, MSF:not bulk, SPF:fn, MSBL:0, DNSBL:neutral, Custom_rules:0:0:0, LFtime:25, LUA_SUMMARY:none
X-HE-Tag: lace64_703f3b45f9225
X-Filterd-Recvd-Size: 5053
Received: from mail.bbhmail.nl (imap-ext [216.40.42.5]) (Authenticated sender: webmail@stokcons@bbhmail.nl) by omf09.hostedemail.com (Postfix) with ESMTPA; Fri, 20 Jul 2018 11:56:11 +0000 (UTC)
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="=_47efd45355af39d1f92d1b49e060c6e1"
Date: Fri, 20 Jul 2018 08:56:10 -0300
From: Peter van der Stok <stokcons@bbhmail.nl>
To: Klaus Hartke <klaus.hartke@ericsson.com>
Cc: consultancy@vanderstok.org, Core <core@ietf.org>
Organization: vanderstok consultancy
Reply-To: consultancy@vanderstok.org
Mail-Reply-To: consultancy@vanderstok.org
In-Reply-To: <8a5f01b18f574ed6a6724dc49e4e47e6@ericsson.com>
References: <018f504348d7d168df65951dae5a44a4@bbhmail.nl> <8a5f01b18f574ed6a6724dc49e4e47e6@ericsson.com>
Message-ID: <041cdbf4a822a5879f8236a90eb13bc5@bbhmail.nl>
X-Sender: stokcons@bbhmail.nl
User-Agent: Roundcube Webmail/1.2.7
X-Originating-IP: [31.133.147.176]
Archived-At: <https://mailarchive.ietf.org/arch/msg/core/9q6qSHfegYQpB2iA8rJd1ZORzpo>
Subject: Re: [core] ue of resource type in collections
X-BeenThere: core@ietf.org
X-Mailman-Version: 2.1.27
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: Fri, 20 Jul 2018 11:56:16 -0000

Thanks Klaus for the comments.
The new resource types have to be registered, and can then be used in an
interoperable way for discovery.
That makes it difficult to not prescribe them in the draft.
Given that some of the resources in the collection are not compulsory to
have,
I will provide the more extensive example no 2 in est-coaps.

Greetings,

Peter
Klaus Hartke schreef op 2018-07-18 11:00:

> Peter van der Stok wrote: 
> 
>> The coaps-est server uses a collection of resources:
>> The collection resource has been assigned rt=ace.est
>> It is not clear what the resource types of the underlying resources should
>> be.
> 
> According to BCP 190 [1 [1]], the coaps-est draft should not mandate particular forms of URI substructure. So a server should be free to structure URIs as it sees fit, e.g.:
> 
> </a>;rt="ace.est"
> </b>;rt="ace.est"
> </c>;rt="ace.est"
> </d>;rt="ace.est"
> </e>;rt="ace.est"
> </f>;rt="ace.est"
> 
> If a client has trouble selecting the right link from the above list (and they all look interchangeable to me), then you'd need to provide more specific link information, e.g.:
> 
> </a>;rt="ace.est.skg"
> </b>;rt="ace.est.crts"
> </c>; rt="ace.est"
> </d>;rt="ace.est.att"
> </e>;rt="ace.est.sren"
> </f>;rt="ace.est.sen"
> 
> Klaus
> 
> [1] https://tools.ietf.org/html/bcp190
 

Links:
------
[1] https://tools.ietf.org/html/bcp190