# US 8,577,914 B2 · APIS discovery service

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

- Number: US 8,577,914 B2
- Document ID: US8577914B2
- Status: Granted
- Kind: B2
- Application number: 13/110,866
- Filed: 2011-05-18
- Published: 2012-11-22
- Granted: 2013-11-05
- Earliest claimed: 2011-05-18
- Assignees: Google Inc.
- Applicants: Monsur Hossain; Joseph Gregorio; Anton Lopyrev; Mark Edward Stahl
- Inventors: Monsur Hossain; Joseph Gregorio; Anton Lopyrev; Mark Edward Stahl
- Web page: https://patentgrep.com/patent/US8577914B2

## CPC

- G06F 16/951: Indexing; Web crawling techniques
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

The APIs Discovery Service is a service that exposes machine readable metadata about APIs, enabling users to build client libraries, IDE plugins, and other tools that interact with these APIs.

## Claims

### Claim 1

A computer-implemented method for managing access to metadata related to application programming interfaces (APIs), the method comprising:
receiving, by a server, a request for metadata related to one or more APIs from an API client;
searching, by the server, an API directory based on the request, the API directory having a plurality of APIs each of which have a respective directory entry and a respective discovery document, to find a directory entry corresponding with the request, the directory entry having a link to a location of a discovery document;
parsing the directory entry to obtain the link to the location of the discovery document; and
retrieving, by the server, the discovery document from the API directory based on the link in the directory entry, that contains machine-readable metadata related to one or more functions of the one or more APIs.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1, wherein the directory entry and discovery document are transferred in JavaScript Object Notation (JSON) format.

### Claim 3 (depends on 1)

The computer-implemented method of claim 1, wherein the directory and the discovery document are each accessed using HTTPS.

### Claim 4 (depends on 1)

The computer-implemented method of claim 1, wherein the discovery document comprises a list of API-specific properties.

### Claim 5 (depends on 1)

The computer-implemented method of claim 1, wherein the discovery document comprises authentication information for the API.

### Claim 6 (depends on 1)

The computer-implemented method of claim 1, wherein the discovery document comprises information about the resources provided by the API.

### Claim 7 (depends on 1)

The computer-implemented method of claim 1, wherein the discovery document comprises information about the methods provided by the API.

### Claim 8 (depends on 7)

The computer-implemented method of claim 7, wherein the information about the methods is stored in key-value format.

### Claim 9 (depends on 1)

The computer-implemented method of claim 1, further comprising: building a custom client library based on the discovery document.

### Claim 10

A system for managing access to metadata related to application programming interfaces (APIs), the system comprising:
one or more processors, configured to receive a request for metadata at a server related to one or more APIs from an API client;
a directory data repository, configured to store directory entries and discovery documents corresponding to a plurality of APIs;
a directory data searching unit, configured to search the directory data repository based on the request to find a directory entry corresponding with the request, the directory entry having a link to a location of a discovery document; and
a discovery document retrieval unit, configured to:
parse the directory entry to obtain the link to the location of the discovery document;
retrieve the discovery document from the directory data repository, based on the link in the directory entry, that contains machine-readable metadata related to one or more functions of the one or more API.

### Claim 11 (depends on 10)

The system of claim 10, wherein the directory entry and discovery document are transferred in JSON format.

### Claim 12 (depends on 10)

The system of claim 10, wherein the directory and the discovery document are each accessed using HTTPS.

### Claim 13 (depends on 10)

The system of claim 10, wherein the discovery document comprises a list of API-specific properties.

### Claim 14 (depends on 10)

The system of claim 10, wherein the discovery document comprises authentication information for the API.

### Claim 15 (depends on 10)

The system of claim 10, wherein the discovery document comprises information about the resources provided by the API.

### Claim 16 (depends on 10)

The system of claim 10, wherein the discovery document comprises information about the methods provided by the API.

### Claim 17 (depends on 16)

The system of claim 16, wherein the information about the methods is stored in key-value format.

### Claim 18 (depends on 10)

The system of claim 10, further comprising:
a client library building unit configured to build a custom client library based on the discovery document.

### Claim 19

A computer readable storage medium having instructions stored thereon that, when executed by one or more processors, cause the processors to execute a method for managing access to metadata related to application programming interfaces (APIs), the method comprising:
receiving, by a server, a request for metadata related to one or more APIs from an API client;
searching, by the server, an API directory based on the request, the API directory having a plurality of APIs each of which have a respective directory entry and a respective discovery document, to find a directory entry corresponding with the request, the directory entry having a link to a location of a discovery document;
parsing the directory entry to obtain the link to the location of the discovery document; and
retrieving, by the server, the discovery document from the API directory based on the link in the directory entry, that contains machine-readable metadata related to one or more functions of the one or more APIs.
