# US 2020/0394082 A1 · System and method for supporting and negotiating multiple api versions across multiple products

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2020/0394082 A1
- Document ID: US20200394082A1
- Status: Published application
- Kind: A1
- Application number: 16/440,478
- Filed: 2019-06-13
- Published: 2020-12-17
- Earliest claimed: 2019-06-13
- Assignees: Microsoft Technology Licensing, LLC
- Applicants: Microsoft Technology Licensing, LLC
- Inventors: Tony E. Schreiner; Michael J. Ens; Clifton J. Hebert; Corey M. Bloodstein; Christian Fortini
- Web page: https://patentgrep.com/patent/US20200394082A1

## CPC

- G06F 9/44536: {Selecting among different versions}
- G06F 9/541: {via adapters, e.g. between incompatible applications}
- G06F 8/71: Version control (security arrangements therefor G06F21/57); Configuration management
- G06F 9/44526: {Plug-ins; Add-ons}
- G06F 16/958: Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Methods, systems, and computer program products are described herein for supporting and negotiating multiple (e.g. static) application programming interface (API) versions across multiple products. Interoperable programs, such as different web browser applications, may provide simultaneous support for multiple versions of an API. An API and program-API adapters may be versioned to manage compatibility for asynchronously developed programs and APIs that may be asynchronously installed and updated in many computing environments. An adapter may comprise a versioned portion of program source code. In-development program code and APIs may be forked to create versioned snapshots of stable interfaces. An “in-development” version of an API and adapters may coexist with versioned APIs and adapters. Compatible version negotiation may occur, for example, during process launch. Negotiation may activate the highest API version supported by both programs.

## Claims

### Claim 1

A method performed by at least one computing device, comprising:
configuring a first program to interact with a second program via an application programming interface (API), by:
selecting compatible versions of a first API adapter and a second API adapter from among M versions of the first API adapter that adapts the first program to the API and from among N versions of the second API adapter that adapts the second program to the API; and
activating the API with the compatible versions of the first and second API adapters.

### Claim 2 (depends on 1)

The method of claim 1, wherein activating the API comprises activating one of Q versions of the API with the compatible versions of the first and second API adapters.

### Claim 3 (depends on 1)

The method of claim 1, wherein the selection comprises a negotiation performed over an unversioned API between the first and second programs or between the first and second API adapters.

### Claim 4 (depends on 1)

The method of claim 1, wherein:
the first API adapter comprises a versioned portion of code of the first program interfaced with an unversioned portion of code of the first program; and
the second API adapter comprises a versioned portion of code of the second program interfaced with an unversioned portion of code of the second program.

### Claim 5 (depends on 1)

The method of claim 1, wherein the first API adapter comprises a first application binary interface (ABI) and the second API adapter comprises a second ABI.

### Claim 6 (depends on 1)

The method of claim 1, wherein the second program is integrated with an operating system.

### Claim 7 (depends on 1)

The method of claim 1, further comprising:
instantiating, by the first program, the second program.

### Claim 8 (depends on 7)

The method of claim 7, further comprising:
loading, by the second program, the first API adapter in the second program.

### Claim 9 (depends on 8)

The method of claim 8, wherein the first program comprises a first web browser application and the second program comprises a second web browser application.

### Claim 10 (depends on 9)

The method of claim 9, further comprising:
navigating, by the first web browser application, to a webpage that is incompatible with the first web browser application and compatible with the second web browser application;
processing the webpage with the second web browser application; and
presenting the webpage in a user interface of the first web browser application.

### Claim 11 (depends on 1)

The method of claim 1, further comprising:
creating each of the M versions of the first API adapter by forking an in-development version of the first API adapter at different stages of development; and
creating each of the N versions of the second API adapter by forking an in-development version of the second API adapter at different stages of development.

### Claim 12 (depends on 11)

The method of claim 11, wherein the selecting compatible versions of a first API adapter and a second API adapter comprises selecting the in-development versions of the first and second API adapters.

### Claim 13

A system, comprising:
a computing environment configured to:
configure a first program to interact with a second program via an application programming interface (API), by:
selecting compatible versions of a first API adapter and a second API adapter from among M versions of the first API adapter that adapts the first program to the API and from among N versions of the second API adapter that adapts the second program to the API; and
activating one of Q versions of the API with the compatible versions of the first and second API adapters.

### Claim 14 (depends on 13)

The system of claim 13, wherein:
the first API adapter comprises a versioned portion of code of the first program interfaced with an unversioned portion of code of the first program; and
the second API adapter comprises a versioned portion of code of the second program interfaced with an unversioned portion of code of the second program.

### Claim 15 (depends on 13)

The system of claim 13, wherein the first program comprises a first web browser application and the second program comprises a second web browser application.

### Claim 16 (depends on 15)

The system of claim 15, the computing environment further configured to:
navigate, by the first web browser application, to a webpage that is incompatible with the first web browser application and compatible with the second web browser application;
process the webpage with the second web browser application; and
present the webpage in a user interface of the first web browser application.

### Claim 17

A computer-readable storage medium having program instructions recorded thereon that, when executed by at least one processing circuit, perform a method, the method comprising:
configuring a first program to interact with a second program with an application programming interface (API), by:
selecting compatible versions of a first API adapter and a second API adapter from among M versions of the first API adapter that adapts the first program to the API and from among N versions of the second API adapter that adapts the second program to the API;
activating the API with the compatible versions of the first and second API adapters; and
communicating between the first and second programs using the activated API and the compatible versions of the first and second API adapters.

### Claim 18 (depends on 17)

The computer-readable storage medium of claim 17, wherein:
the first API adapter comprises a versioned portion of code of the first program interfaced with an unversioned portion of code of the first program; and
the second API adapter comprises a versioned portion of code of the second program interfaced with an unversioned portion of code of the second program.

### Claim 19 (depends on 17)

The computer-readable storage medium of claim 17, wherein:
each of the M versions of the first API adapter comprises a fork of an in-development version of the first API adapter at different stages of development; and
each of the N versions of the second API adapter comprises a fork of an in-development version of the second API adapter at different stages of development.

### Claim 20 (depends on 19)

The computer-readable storage medium of claim 19, further comprising:
instantiating, by the first program, the second program.
