METHOD OF PROCESSING APIs
AssigneeStrongLoop, Inc
InventorsZhaohui Feng, Ritchie Tyler Martori, Miroslav Bajtos
Life of this patent
Estimating the term…
Abstract
Some embodiments of the invention provide a novel server for processing application programming interface (API) requests. In some embodiments, the API server is written in JavaScript. For example, in some embodiments, the API-accessible objects of this server are each defined in terms of a JavaScript file and a JSON (JavaScript Object Notation) file. At runtime, a runtime processor instantiates each JavaScript object from its associated JavaScript and JSON files. Once instantiated, the JavaScript object can be used to process API requests that refer to the JavaScript object. Some embodiments use novel JSON file structures that allow these embodiments to define rich JavaScript models.
Claims30
A method of processing an application programming interface (API) request, the method comprising:
- receiving the API request;
- and
- directing a data object process the API request,
- said object instantiated from a JavaScript (JS) model description of the object,
- the JS model description including a JS file that stores a behavioral description of the object and a JS object notation (JSON) file that stores a property description of the object.
A non-transitory machine readable medium storing a program which, when executed by at least one processing unit of a device processes an application programming interface (API) request, the program comprising sets of instructions for:
- receiving the API request;
- and
- directing a data object process the API request,
- said object instantiated from a JavaScript (JS) model description of the object,
- the JS model description including a JS file that stores a behavioral description of the object and a JS object notation (JSON) file that stores a property description of the object.
Dependencies are inferred from the claim text.