Page Summary
-
Discovery documents describe the surface, access methods, and structure of API requests and responses for specific API versions.
-
These documents provide API-level details including descriptions, resource schemas, authentication scopes, and methods, focusing on the RESTful invocation method.
-
The
discovery.apis.listmethod can be used to retrieve a list of all supported APIs and their REST-based discovery document URLs.
Methods
The Discovery document focuses on the RESTful method of invoking an API. The discovery.apis.list method returns the list of all APIs supported by the Google APIs Discovery Service including the urls for retrieving the REST-based discovery documents.
- list
- Retrieve the list of APIs supported at this endpoint.
Resource Representations
{
"kind": "discovery#restDescription",
"discoveryVersion": "v1",
"id": string,
"name": string,
"canonicalName": string,
"version": string,
"revision": string,
"title": string,
"description": string,
"icons": {
"x16": string,
"x32": string
},
"documentationLink": string,
"labels": [
string
],
"protocol": "rest",
"baseUrl": string,
"basePath": string,
"rootUrl": string,
"servicePath": string,
"batchPath": "batch",
"endpoints": [
{
"endpointUrl": string,
"location": string,
"deprecated": boolean,
"description": string
}
],
"parameters": {
(key): {
"id": string,
"type": string,
"$ref": string,
"description": string,
"default": string,
"required": boolean,
"format": string,
"pattern": string,
"minimum": string,
"maximum": string,
"enum": [
string
],
"enumDescriptions": [
string
],
"repeated": boolean,
"location": string,
"properties": {
(key): (JsonSchema)
},
"additionalProperties": (JsonSchema),
"items": (JsonSchema),
"annotations": {
"required": [
string
]
}
}
},
"auth": {
"oauth2": {
"scopes": {
(key): {
"description": string
}
}
}
},
"features": [
string
],
"schemas": {
(key): {
"id": string,
"type": string,
"$ref": string,
"description": string,
"default": string,
"required": boolean,
"deprecated": boolean,
"format": string,
"pattern": string,
"minimum": string,
"maximum": string,
"enum":