From 904269660c584a12b1b568d84f2eaedba51c9a53 Mon Sep 17 00:00:00 2001 From: Ryan Quinn Date: Wed, 5 Feb 2025 11:05:13 -0600 Subject: [PATCH] docs: update readChanges startTime docs to reflect inclusion in body --- config/clients/go/template/README_calling_api.mustache | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/clients/go/template/README_calling_api.mustache b/config/clients/go/template/README_calling_api.mustache index 6a5553bb..2a121590 100644 --- a/config/clients/go/template/README_calling_api.mustache +++ b/config/clients/go/template/README_calling_api.mustache @@ -205,13 +205,13 @@ Reads the list of historical relationship tuple writes and deletes. ```golang body := ClientReadChangesRequest{ Type: "document", + StartTime: {{packageName}}.PtrString("2022-01-01T00:00:00Z"), } options := ClientReadChangesOptions{ PageSize: {{packageName}}.PtrInt32(10), ContinuationToken: {{packageName}}.PtrString("eyJwayI6IkxBVEVTVF9OU0NPTkZJR19hdXRoMHN0b3JlIiwic2siOiIxem1qbXF3MWZLZExTcUoyN01MdTdqTjh0cWgifQ=="), // You can rely on the store id set in the configuration or override it for this specific request StoreId: {{packageName}}.PtrString("01FQH7V8BEG3GPQW93KTRFR8JB"), - StartTime: {{packageName}}.PtrString("2022-01-01T00:00:00Z"), } data, err := fgaClient.ReadChanges(context.Background()).Body(body).Options(options).Execute()