Skip to content

Commit

Permalink
fix(specs): different summaries for saveObject/addOrUpdate methods (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
kai687 authored Dec 10, 2024
1 parent 9c4959e commit 866d859
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions specs/search/paths/objects/object.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ put:
If a record with the specified object ID exists, the existing record is replaced.
Otherwise, a new record is added to the index.
If you want to use auto-generated object IDs, use the [`saveObject` operation](#tag/Records/operation/saveObject).
To update _some_ attributes of an existing record, use the [`partial` operation](#tag/Records/operation/partialUpdateObject) instead.
To add, update, or replace multiple records, use the [`batch` operation](#tag/Records/operation/batch).
parameters:
Expand Down
4 changes: 2 additions & 2 deletions specs/search/paths/objects/objects.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ post:
x-acl:
- addObject
description: |
Adds a record to an index or replace it.
Adds a record to an index or replaces it.
- If the record doesn't have an object ID, a new record with an auto-generated object ID is added to your index.
- If a record with the specified object ID exists, the existing record is replaced.
Expand All @@ -16,7 +16,7 @@ post:
To add, update, or replace multiple records, use the [`batch` operation](#tag/Records/operation/batch).
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).
summary: Add or replace a record
summary: Add a new record (with auto-generated object ID)
parameters:
- $ref: '../../../common/parameters.yml#/IndexName'
requestBody:
Expand Down

0 comments on commit 866d859

Please sign in to comment.