Skip to content

Commit e569a3e

Browse files
authored
feat(specs): add acls to API endpoints (#2604)
1 parent de86c77 commit e569a3e

File tree

4 files changed

+14
-0
lines changed

4 files changed

+14
-0
lines changed

specs/query-suggestions/paths/getConfigurationStatus.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ get:
22
tags:
33
- configurations
44
operationId: getConfigStatus
5+
x-acl:
6+
- settings
57
summary: Get configuration status.
68
description: Report the status of a Query Suggestions index.
79
parameters:

specs/query-suggestions/paths/getLogFile.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ get:
22
tags:
33
- logs
44
operationId: getLogFile
5+
x-acl:
6+
- settings
57
summary: Get logs.
68
description: Get the logs for a single Query Suggestions index.
79
parameters:

specs/query-suggestions/paths/qsConfig.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ get:
22
tags:
33
- configurations
44
operationId: getConfig
5+
x-acl:
6+
- settings
57
summary: Get a configuration.
68
description: Get a single Query Suggestions configuration.
79
parameters:
@@ -24,6 +26,8 @@ put:
2426
tags:
2527
- configurations
2628
operationId: updateConfig
29+
x-acl:
30+
- editSettings
2731
summary: Update a configuration.
2832
description: Update a QuerySuggestions configuration.
2933
parameters:
@@ -57,6 +61,8 @@ delete:
5761
tags:
5862
- configurations
5963
operationId: deleteConfig
64+
x-acl:
65+
- editSettings
6066
summary: Delete a configuration.
6167
description: |
6268
Delete a Query Suggestions configuration.

specs/query-suggestions/paths/qsConfigs.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ get:
22
tags:
33
- configurations
44
operationId: getAllConfigs
5+
x-acl:
6+
- settings
57
summary: List configurations.
68
description: List all Query Suggestions configurations of your Algolia application.
79
responses:
@@ -20,6 +22,8 @@ post:
2022
tags:
2123
- configurations
2224
operationId: createConfig
25+
x-acl:
26+
- editSettings
2327
summary: Create a configuration.
2428
description: |
2529
Create a new Query Suggestions configuration.

0 commit comments

Comments
 (0)