IP Library Granted Patent US 9,760,384
Granted Patent B1
US 9,760,384 · App. 15/414,670 · Granted Sep 12, 2017

Method to support multiple versions of APIs and to control run-time execution of an API

Inventors: Keerti S. Chauhan (Bangalore, IN); Pawan K. Chawdhary (Bangalore, IN); Shunmuga Raja Periadurai (Chennai, IN)
Assignee: International Business Machines Corporation
G06F9/44536G06F9/541
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 9,760,384
App. No.
15/414,670
Granted
Sep 12, 2017
Kind
B1
Abstract

In an approach to API versioning, annotations are provided to differentiate among two or more versions of an API. Statistics associated with the two or more versions of the API are collected. A call from a client to access one of the two or more versions of the API is intercepted. A best-fit version for the client is identified based on employing analytical elements on the collected statistics. API execution is re-routed to the identified best-fit version during run-time.

Claims (11)

1. A computer-implemented method for Application Programming Interface (API) versioning, the method comprising:

providing, by one or more computer processors, annotations differentiating two or more versions of an API wherein the annotations are implemented in the form of a programming language extension;

collecting, by the one or more computer processors, statistics associated with the two or more versions of the API wherein the collected statistics comprise version-specific information related to one or more of stability, execution time, and accuracy experienced by customers using the API;

intercepting, by the one or more computer processors, a call from a client to access one of the two or more versions of the API wherein the call from the client comprises a call to access a previously selected default version and the call is intercepted responsive to detection of a performance problem comprising:

receiving, by the one or more computer processors, a user selection prioritizing a parameter;

analyzing, by the one or more computer processors, the collected statistics; and

determining, by the one or more computer processors, that performance is poor with respect to the prioritized parameter; and

identifying, by the one or more computer processors, a best-fit version for the client based on employing analytical elements on the collected statistics comprising:

receiving, by the one or more computer processors, from the client, a selected parameter; and

searching, by the one or more computer processors, for the selected parameter in a statistics repository; and

re-routing, by one or more computer processors, API execution to the identified best-fit version during run-time.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jan 25, 2017
From: CHAUHAN, KEERTI S.; CHAWDHARY, PAWAN K.; PERIADURAI, SHUNMUGA RAJA
To: INTERNATIONAL BUSINESS MACHINES CORPORATION
Reel/Frame 041474/0677 →
Continuity (1)
Continuation 15185055 · Jun 17, 2016