Resource Discovery in Constrained RESTful Environments (CoRE) using the Constrained RESTful Application Language (CoRAL)
draft-hartke-t2trg-coral-reef-03

Document Type Active Internet-Draft (individual)
Last updated 2019-11-04
Stream (None)
Intended RFC status (None)
Formats plain text pdf htmlized bibtex
Stream Stream state (No stream defined)
Consensus Boilerplate Unknown
RFC Editor Note (None)
IESG IESG state I-D Exists
Telechat date
Responsible AD (None)
Send notices to (None)
Thing-to-Thing Research Group                                  K. Hartke
Internet-Draft                                                  Ericsson
Intended status: Experimental                           November 4, 2019
Expires: May 7, 2020

     Resource Discovery in Constrained RESTful Environments (CoRE)
       using the Constrained RESTful Application Language (CoRAL)
                    draft-hartke-t2trg-coral-reef-03

Abstract

   This document explores how the Constrained RESTful Application
   Language (CoRAL) might be used for two use cases in Constrained
   RESTful Environments (CoRE): CoRE Resource Discovery, which allows a
   client to discover the resources of a server given a host name or IP
   address, and CoRE Resource Directory, which provides a directory of
   resources on many servers.

Status of This Memo

   This Internet-Draft is submitted in full conformance with the
   provisions of BCP 78 and BCP 79.

   Internet-Drafts are working documents of the Internet Engineering
   Task Force (IETF).  Note that other groups may also distribute
   working documents as Internet-Drafts.  The list of current Internet-
   Drafts is at https://datatracker.ietf.org/drafts/current/.

   Internet-Drafts are draft documents valid for a maximum of six months
   and may be updated, replaced, or obsoleted by other documents at any
   time.  It is inappropriate to use Internet-Drafts as reference
   material or to cite them other than as "work in progress."

   This Internet-Draft will expire on May 7, 2020.

Copyright Notice

   Copyright (c) 2019 IETF Trust and the persons identified as the
   document authors.  All rights reserved.

   This document is subject to BCP 78 and the IETF Trust's Legal
   Provisions Relating to IETF Documents
   (https://trustee.ietf.org/license-info) in effect on the date of
   publication of this document.  Please review these documents
   carefully, as they describe your rights and restrictions with respect
   to this document.  Code Components extracted from this document must
   include Simplified BSD License text as described in Section 4.e of

Hartke                     Expires May 7, 2020                  [Page 1]
Internet-Draft     CoRE Resource Discovery using CoRAL     November 2019

   the Trust Legal Provisions and are provided without warranty as
   described in the Simplified BSD License.

Table of Contents

   1.  Preamble  . . . . . . . . . . . . . . . . . . . . . . . . . .   3
   2.  Introduction  . . . . . . . . . . . . . . . . . . . . . . . .   3
     2.1.  Resource Discovery  . . . . . . . . . . . . . . . . . . .   4
     2.2.  Resource Directory  . . . . . . . . . . . . . . . . . . .   5
     2.3.  Notational Conventions  . . . . . . . . . . . . . . . . .   7
   3.  Resource Metadata . . . . . . . . . . . . . . . . . . . . . .   7
   4.  Resource Discovery  . . . . . . . . . . . . . . . . . . . . .   8
     4.1.  Well-known Resource . . . . . . . . . . . . . . . . . . .   9
       4.1.1.  Resource List Representation  . . . . . . . . . . . .   9
     4.2.  Interactions  . . . . . . . . . . . . . . . . . . . . . .  10
       4.2.1.  Getting All Resources . . . . . . . . . . . . . . . .  10
       4.2.2.  Getting Resources By Resource Type  . . . . . . . . .  11
       4.2.3.  Getting Resources By Interface Type . . . . . . . . .  12
   5.  Resource Directory  . . . . . . . . . . . . . . . . . . . . .  13
     5.1.  Resource Lookups  . . . . . . . . . . . . . . . . . . . .  13
       5.1.1.  Filter Query Representation . . . . . . . . . . . . .  13
     5.2.  Resource Registrations  . . . . . . . . . . . . . . . . .  13
       5.2.1.  Registration Unit Representation  . . . . . . . . . .  13
       5.2.2.  Registration Unit List Representation . . . . . . . .  14
     5.3.  Interactions  . . . . . . . . . . . . . . . . . . . . . .  15
       5.3.1.  Getting All Resources . . . . . . . . . . . . . . . .  15
       5.3.2.  Getting Resources By Resource Type  . . . . . . . . .  16
       5.3.3.  Getting Resources By Interface Type . . . . . . . . .  17
       5.3.4.  Getting Resources By Resource Metadata  . . . . . . .  18
       5.3.5.  Getting All Registration Units  . . . . . . . . . . .  19
       5.3.6.  Creating a Registration Unit  . . . . . . . . . . . .  20
       5.3.7.  Reading a Registration Unit . . . . . . . . . . . . .  21
       5.3.8.  Updating a Registration Unit  . . . . . . . . . . . .  22
       5.3.9.  Deleting a Registration Unit  . . . . . . . . . . . .  23
   6.  Security Considerations . . . . . . . . . . . . . . . . . . .  24
   7.  IANA Considerations . . . . . . . . . . . . . . . . . . . . .  24
     7.1.  CoRE Dictionary . . . . . . . . . . . . . . . . . . . . .  24
     7.2.  CoAP Content Format . . . . . . . . . . . . . . . . . . .  26
   8.  References  . . . . . . . . . . . . . . . . . . . . . . . . .  26
     8.1.  Normative References  . . . . . . . . . . . . . . . . . .  26
     8.2.  Informative References  . . . . . . . . . . . . . . . . .  27
Show full document text