Title :
Extending Collection+JSON and Automatic CRUD Interfaces
Author :
Barnard, Bryan ; Di Pierro, Massimo
Author_Institution :
Sch. of Comput., DePaul Univ., Chicago, IL, USA
Abstract :
In this paper we discuss the Collection+JSON protocol for implementing Restful self-documenting API known as Hypermedia API. We present a minimal extension to the protocol that allows consumers of the service to automatically generate a rich client interface to search the collection, create, read, delete, and update (CRUD) items. We provide a working example of a Python library that, based on a web2py database model, exposes the API to access the data described by the mode using our extended Collection+JSON protocol, along with a working client that can consume the API and automatically generate the CRUD interface without coding.
Keywords :
Java; application program interfaces; hypermedia; Collection+JSON protocol; Python library; RESTful self-documenting API; automatic CRUD interface; create-read-delete-and-update item; hypermedia API; representational state transfer; web2py database model; Conferences; Databases; Media; Protocols; Resource description framework; Servers; Uniform resource locators; json; python; rest; web2py;
Conference_Titel :
Computational Science and Engineering (CSE), 2014 IEEE 17th International Conference on
Conference_Location :
Chengdu
Print_ISBN :
978-1-4799-7980-6
DOI :
10.1109/CSE.2014.311