All Downloads are FREE. Search and download functionalities are using the official Maven repository.

resources.indexing.v3.json Maven / Gradle / Ivy

There is a newer version: v3-rev20230927-2.0.0
Show newest version
{
  "icons": {
    "x32": "http://www.google.com/images/icons/product/search-32.gif",
    "x16": "http://www.google.com/images/icons/product/search-16.gif"
  },
  "documentationLink": "https://developers.google.com/search/apis/indexing-api/",
  "ownerDomain": "google.com",
  "rootUrl": "https://indexing.googleapis.com/",
  "schemas": {
    "UrlNotification": {
      "properties": {
        "url": {
          "type": "string",
          "description": "The object of this notification. The URL must be owned by the publisher of this notification and, in case of `URL_UPDATED` notifications, it _must_ be crawlable by Google."
        },
        "type": {
          "description": "The URL life cycle event that Google is being notified about.",
          "type": "string",
          "enumDescriptions": [
            "Unspecified.",
            "The given URL (Web document) has been updated.",
            "The given URL (Web document) has been deleted."
          ],
          "enum": [
            "URL_NOTIFICATION_TYPE_UNSPECIFIED",
            "URL_UPDATED",
            "URL_DELETED"
          ]
        },
        "notifyTime": {
          "description": "Creation timestamp for this notification. Users should _not_ specify it, the field is ignored at the request time.",
          "type": "string",
          "format": "google-datetime"
        }
      },
      "type": "object",
      "id": "UrlNotification",
      "description": "`UrlNotification` is the resource used in all Indexing API calls. It describes one event in the life cycle of a Web Document."
    },
    "UrlNotificationMetadata": {
      "type": "object",
      "id": "UrlNotificationMetadata",
      "description": "Summary of the most recent Indexing API notifications successfully received, for a given URL.",
      "properties": {
        "latestUpdate": {
          "$ref": "UrlNotification",
          "description": "Latest notification received with type `URL_UPDATED`."
        },
        "url": {
          "type": "string",
          "description": "URL to which this metadata refers."
        },
        "latestRemove": {
          "$ref": "UrlNotification",
          "description": "Latest notification received with type `URL_REMOVED`."
        }
      }
    },
    "PublishUrlNotificationResponse": {
      "id": "PublishUrlNotificationResponse",
      "properties": {
        "urlNotificationMetadata": {
          "description": "Description of the notification events received for this URL.",
          "$ref": "UrlNotificationMetadata"
        }
      },
      "description": "Output for PublishUrlNotification",
      "type": "object"
    }
  },
  "discoveryVersion": "v1",
  "canonicalName": "Indexing",
  "version_module": true,
  "name": "indexing",
  "version": "v3",
  "auth": {
    "oauth2": {
      "scopes": {
        "https://www.googleapis.com/auth/indexing": {
          "description": "Submit data to Google for indexing"
        }
      }
    }
  },
  "basePath": "",
  "baseUrl": "https://indexing.googleapis.com/",
  "id": "indexing:v3",
  "batchPath": "batch",
  "fullyEncodeReservedExpansion": true,
  "mtlsRootUrl": "https://indexing.mtls.googleapis.com/",
  "resources": {
    "urlNotifications": {
      "methods": {
        "publish": {
          "response": {
            "$ref": "PublishUrlNotificationResponse"
          },
          "path": "v3/urlNotifications:publish",
          "parameters": {},
          "description": "Notifies that a URL has been updated or deleted.",
          "flatPath": "v3/urlNotifications:publish",
          "scopes": [
            "https://www.googleapis.com/auth/indexing"
          ],
          "request": {
            "$ref": "UrlNotification"
          },
          "parameterOrder": [],
          "httpMethod": "POST",
          "id": "indexing.urlNotifications.publish"
        },
        "getMetadata": {
          "parameters": {
            "url": {
              "description": "URL that is being queried.",
              "type": "string",
              "location": "query"
            }
          },
          "parameterOrder": [],
          "scopes": [
            "https://www.googleapis.com/auth/indexing"
          ],
          "id": "indexing.urlNotifications.getMetadata",
          "httpMethod": "GET",
          "path": "v3/urlNotifications/metadata",
          "flatPath": "v3/urlNotifications/metadata",
          "description": "Gets metadata about a Web Document. This method can _only_ be used to query URLs that were previously seen in successful Indexing API notifications. Includes the latest `UrlNotification` received via this API.",
          "response": {
            "$ref": "UrlNotificationMetadata"
          }
        }
      }
    }
  },
  "ownerName": "Google",
  "description": "Notifies Google when your web pages change.",
  "revision": "20200804",
  "servicePath": "",
  "title": "Indexing API",
  "parameters": {
    "prettyPrint": {
      "description": "Returns response with indentations and line breaks.",
      "type": "boolean",
      "default": "true",
      "location": "query"
    },
    "access_token": {
      "description": "OAuth access token.",
      "location": "query",
      "type": "string"
    },
    "oauth_token": {
      "description": "OAuth 2.0 token for the current user.",
      "location": "query",
      "type": "string"
    },
    "uploadType": {
      "type": "string",
      "location": "query",
      "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\")."
    },
    "alt": {
      "default": "json",
      "location": "query",
      "description": "Data format for response.",
      "enum": [
        "json",
        "media",
        "proto"
      ],
      "enumDescriptions": [
        "Responses with Content-Type of application/json",
        "Media download with context-dependent Content-Type",
        "Responses with Content-Type of application/x-protobuf"
      ],
      "type": "string"
    },
    "upload_protocol": {
      "location": "query",
      "type": "string",
      "description": "Upload protocol for media (e.g. \"raw\", \"multipart\")."
    },
    "fields": {
      "type": "string",
      "description": "Selector specifying which fields to include in a partial response.",
      "location": "query"
    },
    "quotaUser": {
      "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.",
      "type": "string",
      "location": "query"
    },
    "key": {
      "type": "string",
      "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.",
      "location": "query"
    },
    "$.xgafv": {
      "enumDescriptions": [
        "v1 error format",
        "v2 error format"
      ],
      "description": "V1 error format.",
      "type": "string",
      "location": "query",
      "enum": [
        "1",
        "2"
      ]
    },
    "callback": {
      "location": "query",
      "description": "JSONP",
      "type": "string"
    }
  },
  "protocol": "rest",
  "kind": "discovery#restDescription"
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy