Skip to content

Commit 06da607

Browse files
meili-bors[bot]Strift
andauthored
Merge #658
658: Fix tests for Meilisearch 1.16 CI r=ahmednfwela a=Strift ## Why Fix tests to make Meilisearch 1.16 CI pass: https://github.com/meilisearch/meilisearch/actions/runs/16573762878/job/47016022240 ## What does this PR do? - Add AllGet key action for accessing all get endpoints - Add ChatCompletions key action for chat completions endpoint - Fixes compatibility issues with Meilisearch v1.16.0-rc.4 > [!note] > I ran the tests locally with MEILISEARCH_VERSION=v1.16.0-rc.4 <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Added new access options for API keys, including permissions for all GET endpoints and for chat completions. <!-- end of auto-generated comment: release notes by coderabbit.ai --> Co-authored-by: Strift <[email protected]>
2 parents 8250329 + ef59c81 commit 06da607

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/Meilisearch/Key.cs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,14 @@ public enum KeyAction
8080
/// </summary>
8181
All,
8282
/// <summary>
83+
/// Provides access to all get endpoints.
84+
/// </summary>
85+
AllGet,
86+
/// <summary>
87+
/// Provides access to chat completions endpoint.
88+
/// </summary>
89+
ChatCompletions,
90+
/// <summary>
8391
/// Provides access to both POST and GET search endpoints.
8492
/// </summary>
8593
Search,

0 commit comments

Comments
 (0)