The Constrained RESTful Application Language (CoRAL)
draft-hartke-t2trg-coral-02

Document Type Active Internet-Draft (individual)
Last updated 2017-03-13
Stream (None)
Intended RFC status (None)
Formats plain text pdf html 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                                   Universitaet Bremen TZI
Intended status: Experimental                             March 13, 2017
Expires: September 14, 2017

          The Constrained RESTful Application Language (CoRAL)
                      draft-hartke-t2trg-coral-02

Abstract

   The Constrained RESTful Application Language (CoRAL) is a compact,
   binary representation format for building RESTful, hypermedia-driven
   applications that run in constrained environments.

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 http://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 September 14, 2017.

Copyright Notice

   Copyright (c) 2017 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
   (http://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
   the Trust Legal Provisions and are provided without warranty as
   described in the Simplified BSD License.

Hartke                 Expires September 14, 2017               [Page 1]
Internet-Draft                    CoRAL                       March 2017

Table of Contents

   1.  Introduction  . . . . . . . . . . . . . . . . . . . . . . . .   2
     1.1.  Terminology . . . . . . . . . . . . . . . . . . . . . . .   3
   2.  Model . . . . . . . . . . . . . . . . . . . . . . . . . . . .   3
   3.  Format  . . . . . . . . . . . . . . . . . . . . . . . . . . .   5
   4.  Options . . . . . . . . . . . . . . . . . . . . . . . . . . .   7
     4.1.  Accept  . . . . . . . . . . . . . . . . . . . . . . . . .   8
     4.2.  Deletable . . . . . . . . . . . . . . . . . . . . . . . .   8
     4.3.  Format  . . . . . . . . . . . . . . . . . . . . . . . . .   8
     4.4.  Href.*  . . . . . . . . . . . . . . . . . . . . . . . . .   8
     4.5.  Method  . . . . . . . . . . . . . . . . . . . . . . . . .  10
     4.6.  Relation  . . . . . . . . . . . . . . . . . . . . . . . .  10
     4.7.  Title . . . . . . . . . . . . . . . . . . . . . . . . . .  10
     4.8.  Updatable . . . . . . . . . . . . . . . . . . . . . . . .  10
   5.  Reference Resolution  . . . . . . . . . . . . . . . . . . . .  10
     5.1.  Establish a Base URI  . . . . . . . . . . . . . . . . . .  11
     5.2.  Transform References  . . . . . . . . . . . . . . . . . .  11
     5.3.  Remove Dot Segments . . . . . . . . . . . . . . . . . . .  12
   6.  Profiles  . . . . . . . . . . . . . . . . . . . . . . . . . .  12
   7.  Security Considerations . . . . . . . . . . . . . . . . . . .  14
   8.  IANA Considerations . . . . . . . . . . . . . . . . . . . . .  14
     8.1.  Media Type  . . . . . . . . . . . . . . . . . . . . . . .  14
     8.2.  Content Format  . . . . . . . . . . . . . . . . . . . . .  15
   9.  References  . . . . . . . . . . . . . . . . . . . . . . . . .  16
     9.1.  Normative References  . . . . . . . . . . . . . . . . . .  16
     9.2.  Informative References  . . . . . . . . . . . . . . . . .  16
   Appendix A.  Examples . . . . . . . . . . . . . . . . . . . . . .  18
     A.1.  Overview  . . . . . . . . . . . . . . . . . . . . . . . .  18
     A.2.  CoRE Lighting . . . . . . . . . . . . . . . . . . . . . .  23
     A.3.  CoRE Link Format  . . . . . . . . . . . . . . . . . . . .  24
     A.4.  CoRE Interfaces . . . . . . . . . . . . . . . . . . . . .  25
   Acknowledgements  . . . . . . . . . . . . . . . . . . . . . . . .  26
   Author's Address  . . . . . . . . . . . . . . . . . . . . . . . .  26

1.  Introduction

   Constrained RESTful Environments (CoRE) realize the Web architecture
   [W3C.REC-webarch-20041215] in a suitable form for constrained nodes
   and networks [RFC7228].

   In the Web, hypertext documents contain links and forms that allow a
   user to navigate between resources and submit information to a server
Show full document text