Skip to content

Commit 33f70e2

Browse files
algolia-botkai687
andcommitted
fix(specs): fix batchWriteParams example (#4417) (generated) [skip ci]
Co-authored-by: Kai Welke <[email protected]>
1 parent 8f39af9 commit 33f70e2

File tree

2 files changed

+23
-29
lines changed

2 files changed

+23
-29
lines changed

Diff for: docs/bundled/search.yml

+12-15
Original file line numberDiff line numberDiff line change
@@ -4792,7 +4792,7 @@ paths:
47924792
--header 'content-type: application/json' \
47934793
--header 'x-algolia-api-key: ALGOLIA_API_KEY' \
47944794
--header 'x-algolia-application-id: ALGOLIA_APPLICATION_ID' \
4795-
--data '{"batch":{"summary":"Batch indexing request","value":{"requests":[{"action":"addObject","body":{"name":"Betty Jane McCamey","company":"Vita Foods Inc.","email":"[email protected]"}},{"action":"addObject","body":{"name":"Gayla geimer","company":"Ortman McCain Co.","email":"[email protected]"}}]}}}'
4795+
--data '{"requests":[{"action":"addObject","body":{"name":"Betty Jane McCamey","company":"Vita Foods Inc.","email":"[email protected]"}},{"action":"addObject","body":{"name":"Gayla geimer","company":"Ortman McCain Co.","email":"[email protected]"}}]}'
47964796
/1/indexes/*/batch:
47974797
post:
47984798
tags:
@@ -19262,20 +19262,17 @@ components:
1926219262
required:
1926319263
- requests
1926419264
example:
19265-
batch:
19266-
summary: Batch indexing request
19267-
value:
19268-
requests:
19269-
- action: addObject
19270-
body:
19271-
name: Betty Jane McCamey
19272-
company: Vita Foods Inc.
19273-
19274-
- action: addObject
19275-
body:
19276-
name: Gayla geimer
19277-
company: Ortman McCain Co.
19278-
19265+
requests:
19266+
- action: addObject
19267+
body:
19268+
name: Betty Jane McCamey
19269+
company: Vita Foods Inc.
19270+
19271+
- action: addObject
19272+
body:
19273+
name: Gayla geimer
19274+
company: Ortman McCain Co.
19275+
1927919276
objectIDs:
1928019277
type: array
1928119278
items:

Diff for: specs/bundled/search.yml

+11-14
Original file line numberDiff line numberDiff line change
@@ -6388,20 +6388,17 @@ components:
63886388
required:
63896389
- requests
63906390
example:
6391-
batch:
6392-
summary: Batch indexing request
6393-
value:
6394-
requests:
6395-
- action: addObject
6396-
body:
6397-
name: Betty Jane McCamey
6398-
company: Vita Foods Inc.
6399-
6400-
- action: addObject
6401-
body:
6402-
name: Gayla geimer
6403-
company: Ortman McCain Co.
6404-
6391+
requests:
6392+
- action: addObject
6393+
body:
6394+
name: Betty Jane McCamey
6395+
company: Vita Foods Inc.
6396+
6397+
- action: addObject
6398+
body:
6399+
name: Gayla geimer
6400+
company: Ortman McCain Co.
6401+
64056402
objectIDs:
64066403
type: array
64076404
items:

0 commit comments

Comments
 (0)