Skip to content

Commit c34ca8b

Browse files
authored
Merge 75bc3fd into 9c4959e
2 parents 9c4959e + 75bc3fd commit c34ca8b

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

specs/search/paths/objects/object.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ put:
5555
If a record with the specified object ID exists, the existing record is replaced.
5656
Otherwise, a new record is added to the index.
5757
58+
If you want to use auto-generated object IDs, use the [`saveObject` operation](#tag/Records/operation/saveObject).
5859
To update _some_ attributes of an existing record, use the [`partial` operation](#tag/Records/operation/partialUpdateObject) instead.
5960
To add, update, or replace multiple records, use the [`batch` operation](#tag/Records/operation/batch).
6061
parameters:

specs/search/paths/objects/objects.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ post:
55
x-acl:
66
- addObject
77
description: |
8-
Adds a record to an index or replace it.
8+
Adds a record to an index or replaces it.
99
1010
- If the record doesn't have an object ID, a new record with an auto-generated object ID is added to your index.
1111
- If a record with the specified object ID exists, the existing record is replaced.
@@ -16,7 +16,7 @@ post:
1616
To add, update, or replace multiple records, use the [`batch` operation](#tag/Records/operation/batch).
1717
1818
This operation is subject to [indexing rate limits](https://support.algolia.com/hc/en-us/articles/4406975251089-Is-there-a-rate-limit-for-indexing-on-Algolia).
19-
summary: Add or replace a record
19+
summary: Add a new record (with auto-generated object ID)
2020
parameters:
2121
- $ref: '../../../common/parameters.yml#/IndexName'
2222
requestBody:

0 commit comments

Comments
 (0)