Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

feat(specs): add acls to API endpoints #2604

Merged
merged 1 commit into from
Jan 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading