From 8e53c03709060c1233239f4bda31103d4d4c68e2 Mon Sep 17 00:00:00 2001 From: Rahul Lanjewar Date: Wed, 1 Feb 2023 01:47:50 +0530 Subject: [PATCH 1/2] docs: removed maximum 50 objects cap from batch endpoint --- _includes/rest/objects.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_includes/rest/objects.md b/_includes/rest/objects.md index 3239da66..6f84c82f 100644 --- a/_includes/rest/objects.md +++ b/_includes/rest/objects.md @@ -501,7 +501,7 @@ print(result) ## Batch Operations -To reduce the amount of time spent on network round trips, you can create, update, or delete up to 50 objects in one call, using the batch endpoint. +To reduce the amount of time spent on network round trips, you can create, update, or delete using the batch endpoint. Each command in a batch has `method`, `path`, and `body` parameters that specify the HTTP command that would normally be used for that command. The commands are run in the order they are given. For example, to create a couple of `GameScore` objects: From 664c441643c4339ce5d0068b2d2686274fd75e6a Mon Sep 17 00:00:00 2001 From: Rahul Lanjewar Date: Sun, 5 Feb 2023 04:11:52 +0530 Subject: [PATCH 2/2] fix: added default batch size --- _includes/rest/objects.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_includes/rest/objects.md b/_includes/rest/objects.md index 6f84c82f..48960a48 100644 --- a/_includes/rest/objects.md +++ b/_includes/rest/objects.md @@ -501,7 +501,7 @@ print(result) ## Batch Operations -To reduce the amount of time spent on network round trips, you can create, update, or delete using the batch endpoint. +To reduce the amount of time spent on network round trips, you can create, update, or delete using the batch endpoint. The batch size can be customized, the default batch size is 20. Each command in a batch has `method`, `path`, and `body` parameters that specify the HTTP command that would normally be used for that command. The commands are run in the order they are given. For example, to create a couple of `GameScore` objects: