Skip to content

Commit

Permalink
feat(specs): add acls to API endpoints (#2604)
Browse files Browse the repository at this point in the history
  • Loading branch information
alphonseb authored Jan 25, 2024
1 parent de86c77 commit e569a3e
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 0 deletions.
2 changes: 2 additions & 0 deletions specs/query-suggestions/paths/getConfigurationStatus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ get:
tags:
- configurations
operationId: getConfigStatus
x-acl:
- settings
summary: Get configuration status.
description: Report the status of a Query Suggestions index.
parameters:
Expand Down
2 changes: 2 additions & 0 deletions specs/query-suggestions/paths/getLogFile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ get:
tags:
- logs
operationId: getLogFile
x-acl:
- settings
summary: Get logs.
description: Get the logs for a single Query Suggestions index.
parameters:
Expand Down
6 changes: 6 additions & 0 deletions specs/query-suggestions/paths/qsConfig.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ get:
tags:
- configurations
operationId: getConfig
x-acl:
- settings
summary: Get a configuration.
description: Get a single Query Suggestions configuration.
parameters:
Expand All @@ -24,6 +26,8 @@ put:
tags:
- configurations
operationId: updateConfig
x-acl:
- editSettings
summary: Update a configuration.
description: Update a QuerySuggestions configuration.
parameters:
Expand Down Expand Up @@ -57,6 +61,8 @@ delete:
tags:
- configurations
operationId: deleteConfig
x-acl:
- editSettings
summary: Delete a configuration.
description: |
Delete a Query Suggestions configuration.
Expand Down
4 changes: 4 additions & 0 deletions specs/query-suggestions/paths/qsConfigs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ get:
tags:
- configurations
operationId: getAllConfigs
x-acl:
- settings
summary: List configurations.
description: List all Query Suggestions configurations of your Algolia application.
responses:
Expand All @@ -20,6 +22,8 @@ post:
tags:
- configurations
operationId: createConfig
x-acl:
- editSettings
summary: Create a configuration.
description: |
Create a new Query Suggestions configuration.
Expand Down

0 comments on commit e569a3e

Please sign in to comment.