From 8847cb0765f73505c31d54c0f0534a0ca75345e0 Mon Sep 17 00:00:00 2001 From: farisbasha Date: Wed, 18 Nov 2026 03:15:30 +0530 Subject: [PATCH] docs: fix dead epydoc links in the start and batch guides The API reference is published on googleapis.github.io; the google.github.io copies of the HttpRequest and BatchHttpRequest pages return 404. --- docs/batch.md | 4 ++-- docs/start.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/batch.md b/docs/batch.md index 260c128d628..0d5844c51a2 100644 --- a/docs/batch.md +++ b/docs/batch.md @@ -19,7 +19,7 @@ object in a batch request. ## Details You create batch requests by calling `new_batch_http_request()` on your service object, which returns a -[BatchHttpRequest](https://google.github.io/google-api-python-client/docs/epy/googleapiclient.http.BatchHttpRequest-class.html) +[BatchHttpRequest](https://googleapis.github.io/google-api-python-client/docs/epy/googleapiclient.http.BatchHttpRequest-class.html) object, and then calling `add()` for each request you want to execute. You may pass in a callback with each request that is called with the response to that request. The callback function arguments are: @@ -39,7 +39,7 @@ You can also supply a single callback that gets called for each response:
See below
The -[add()](https://google.github.io/google-api-python-client/docs/epy/googleapiclient.http.BatchHttpRequest-class.html#add) +[add()](https://googleapis.github.io/google-api-python-client/docs/epy/googleapiclient.http.BatchHttpRequest-class.html#add) method also allows you to supply a request_id parameter for each request. These IDs are provided to the callbacks. If you don't supply one, the library creates one for you. diff --git a/docs/start.md b/docs/start.md index 700b7684162..ffc1a656f68 100644 --- a/docs/start.md +++ b/docs/start.md @@ -85,7 +85,7 @@ nested_collection = service.featured().stamps() ### Methods and requests -Every collection has a list of methods defined by the API. Calling a collection's method returns an [HttpRequest](http://google.github.io/google-api-python-client/docs/epy/googleapiclient.http.HttpRequest-class.html) object. If the given API collection has a method named `list` that takes an argument called `cents`, you create a request object for that method like this: +Every collection has a list of methods defined by the API. Calling a collection's method returns an [HttpRequest](https://googleapis.github.io/google-api-python-client/docs/epy/googleapiclient.http.HttpRequest-class.html) object. If the given API collection has a method named `list` that takes an argument called `cents`, you create a request object for that method like this: ```python request = collection.list(cents=5)