Skip to content

Commit b2d7a62

Browse files
committed
fix(specs): update links and descriptions
1 parent 1c9d774 commit b2d7a62

File tree

14 files changed

+39
-34
lines changed

14 files changed

+39
-34
lines changed

specs/analytics/paths/search/getTopFiltersNoResults.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ get:
88
description: |
99
Retrieves the 1,000 most frequently used filters for a search that didn't return any results.
1010
11-
To get the most frequent searches without results, use the [Retrieve searches without results](#tag/search/operation/getSearchesNoResults) operation.
11+
To get the most frequent searches without results, use the [Retrieve searches without results](https://www.algolia.com/doc/rest-api/analytics/get-searches-no-results) operation.
1212
parameters:
1313
- $ref: '../../../common/parameters.yml#/Index'
1414
- $ref: '../../common/parameters.yml#/Search'

specs/common/responses/common.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,9 @@ taskID:
55
description: |
66
Unique identifier of a task.
77
8-
A successful API response means that a task was added to a queue. It might not run immediately. You can check the task's progress with the [`task` operation](#tag/Indices/operation/getTask) and this `taskID`.
9-
8+
A successful API response means that a task was added to a queue.
9+
It might not run immediately.
10+
You can check the task's progress with the [`task` operation](https://www.algolia.com/doc/rest-api/search/get-task) and this task ID.
1011
objectIDs:
1112
type: array
1213
items:

specs/composition/paths/rules/rule.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ get:
88
summary: Retrieve a rule
99
description: |
1010
Retrieves a rule by its ID.
11-
To find the object ID of rules, use the [`search` operation](#tag/Rules/operation/searchRules).
1211
12+
To find the object ID of a rule, use the [`search` operation](https://www.algolia.com/doc/rest-api/composition/search-composition-rules).
1313
parameters:
1414
- $ref: '../urlParams.yml#/compositionID'
1515
- $ref: './parameters.yml#/ObjectIDRule'
@@ -35,9 +35,10 @@ put:
3535
operationId: putCompositionRule
3636
x-acl:
3737
- editSettings
38-
summary: Upsert a composition rule
38+
summary: Add or update a composition rule
3939
description: |
40-
Upsert a Composition Rule for the specified composition ID.
40+
If a composition rule with the provided ID already exists,
41+
it's replaced. Otherwise, a new one is added.
4142
parameters:
4243
- $ref: '../urlParams.yml#/compositionID'
4344
- $ref: './parameters.yml#/ObjectIDRule'

specs/crawler/common/schemas/getCrawlerResponse.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ BaseResponse:
2626
Whether this crawler is currently blocked.
2727
2828
If `true`, you can unblock it from the [Crawler page](https://dashboard.algolia.com/crawler) in the Algolia dashboard
29-
or by [cancelling the blocking task](#tag/tasks/operation/cancelBlockingAction).
29+
or by [cancelling the blocking task](https://www.algolia.com/doc/rest-api/crawler/cancel-blocking-action).
3030
blockingError:
3131
type: string
3232
description: Reason why the crawler is blocked.

specs/crawler/paths/crawler.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,19 @@ get:
2727
$ref: '../common/schemas/responses.yml#/NoRightsOnCrawler'
2828
patch:
2929
operationId: patchCrawler
30-
summary: Change crawler name
30+
summary: Replace crawler configuration
3131
description: |
32-
Change the crawler's name.
32+
Replaces the crawler configuration with a new one.
3333
34-
While you _could_ use this endpoint to replace the crawler configuration,
35-
you should [update it](#tag/config/operation/patchConfig) instead since configuration changes made here aren't [versioned](#tag/config/operation/listConfigVersions).
34+
If you only want to change the crawler's name, you can use this operation.
35+
For other configuration changes, use the "Update configuration" endpoint instead instead,
36+
because changes made here aren't versioned.
3637
37-
If you replace the configuration, you must provide the full configuration,
38+
When replacing the configuration, you must provide the full configuration,
3839
including any settings you want to keep.
40+
externalDocs:
41+
url: https://www.algolia.com/doc/rest-api/crawler/patch-config
42+
description: Update configuration.
3943
tags:
4044
- crawlers
4145
parameters:

specs/crawler/paths/crawlerConfigVersions.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@ get:
33
summary: List configuration versions
44
description: |
55
Lists previous versions of the specified crawler's configuration, including who authored the change.
6-
Every time you update a crawler's [configuration](#tag/config/operation/patchConfig),
7-
a new version is added.
6+
Every time you update a crawler's configuration, a new version is added.
87
tags:
98
- config
109
parameters:

specs/crawler/spec.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ tags:
7878
- name: crawlers
7979
x-displayName: Manage
8080
description: |
81-
A crawler is an object with a name and a [configuration](#tag/config).
81+
A crawler is an object with a name and a configuration.
8282
Use these endpoints to create, rename, and delete crawlers.
8383
- name: domains
8484
x-displayName: Domains

specs/monitoring/spec.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ info:
1414
1515
## Availability and authentication
1616
17-
Access to the [Infrastructure](#tag/infrastructure) endpoints
17+
Access to the Infrastructure endpoints
1818
is available as part of the [Premium or Elevate plans](https://www.algolia.com/pricing).
1919
2020
To authenticate requests to the Infrastructure endpoints, add these headers:

specs/search/paths/objects/deleteBy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ post:
1111
1212
This operation is resource-intensive.
1313
You should only use it if you can't get the object IDs of the records you want to delete.
14-
It's more efficient to get a list of object IDs with the [`browse` operation](#tag/Search/operation/browse),
15-
and then delete the records using the [`batch` operation](#tag/Records/operation/batch).
14+
It's more efficient to get a list of object IDs with the [`browse` operation](https://www.algolia.com/doc/rest-api/search/browse),
15+
and then delete the records using the [`batch` operation](https://www.algolia.com/doc/rest-api/search/batch).
1616
1717
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).
1818
externalDocs:

specs/search/paths/objects/object.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ get:
88
description: |
99
Retrieves one record by its object ID.
1010
11-
To retrieve more than one record, use the [`objects` operation](#tag/Records/operation/getObjects).
11+
To retrieve more than one record, use the [`objects` operation](https://www.algolia.com/doc/rest-api/search/get-objects).
1212
parameters:
1313
- $ref: '../../../common/parameters.yml#/IndexName'
1414
- $ref: '../../../common/parameters.yml#/ObjectID'
@@ -55,9 +55,9 @@ 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).
59-
To update _some_ attributes of an existing record, use the [`partial` operation](#tag/Records/operation/partialUpdateObject) instead.
60-
To add, update, or replace multiple records, use the [`batch` operation](#tag/Records/operation/batch).
58+
If you want to use auto-generated object IDs, use the [`saveObject` operation](https://www.algolia.com/doc/rest-api/search/save-object).
59+
To update _some_ attributes of an existing record, use the [`partial` operation](https://www.algolia.com/doc/rest-api/search/partial-update-object) instead.
60+
To add, update, or replace multiple records, use the [`batch` operation](https://www.algolia.com/doc/rest-api/search/batch).
6161
parameters:
6262
- $ref: '../../../common/parameters.yml#/IndexName'
6363
- $ref: '../../../common/parameters.yml#/ObjectID'
@@ -95,8 +95,8 @@ delete:
9595
description: |
9696
Deletes a record by its object ID.
9797
98-
To delete more than one record, use the [`batch` operation](#tag/Records/operation/batch).
99-
To delete records matching a query, use the [`deleteBy` operation](#tag/Records/operation/deleteBy).
98+
To delete more than one record, use the [`batch` operation](https://www.algolia.com/doc/rest-api/search/batch).
99+
To delete records matching a query, use the [`deleteBy` operation](https://www.algolia.com/doc/rest-api/search/delete-by).
100100
101101
parameters:
102102
- $ref: '../../../common/parameters.yml#/IndexName'

0 commit comments

Comments
 (0)