W3C home > Mailing lists > Public > public-automotive@w3.org > March 2016

Endpoint propsals for RESTful style API

From: 이원석 <wonsuk.lee@etri.re.kr>
Date: Fri, 18 Mar 2016 01:08:57 +0000
To: public-automotive <public-automotive@w3.org>
Message-ID: <927A86A7956B074D9C861431DA4BA53521B4659B@SMTP4.etri.info>
Hi. All.
For making automotive specs with REST-ful model, one of important thing is to define the endpoints for resources of vehicle.
Definition of endpoint is below from Principles of good RESTful API Design<https://codeplanet.io/principles-good-restful-api-design/>
Endpoint: An API URL on a Server which represents either a Resource or an entire Collection.

As a first step I suggest endpoints for chapter 5. Configuration and Identification Interfaces<http://rawgit.com/w3c/automotive/master/vehicle_data/data_spec.html#configuration-identification-interfaces> and chapter 6. Running Status Interfaces<http://rawgit.com/w3c/automotive/master/vehicle_data/data_spec.html#runningstatus-interfaces> of the vehicle data spec in github as a new issue(refer below links). I made this with the mapping between each attribute of interface to endpoint as a resource in RESTful model. If you have any opinion or comment, it’s more than welcome.

https://github.com/w3c/automotive/issues/82


https://github.com/w3c/automotive/issues/83


KR,
Wonsuk.
=========================================
이 원 석 (Wonsuk, Lee) / Senior Researcher, Ph.D
한국전자통신연구원 표준연구센터(Protocol Engineering Center, ETRI)
Mobile: +82-10-5800-3997   Office: +82-42-860-6104
E-mail: wonsuk.lee@etri.re.kr
http://www.wonsuk73.com/, twitter: @wonsuk73
=========================================

Received on Friday, 18 March 2016 01:09:35 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:05:47 UTC