meilisearch-rust
meilisearch-rust copied to clipboard
Update keys for v0.28.0
trafficstars
Changes related to the keys management
Related to:
- issue: https://github.com/meilisearch/meilisearch/issues/2442
- issue: https://github.com/meilisearch/meilisearch/issues/2369
All the changes:
- [x]
GET /keyshas pagination metadata, addedlimit(default: 20),offset(default: 0),total. - [x]
GET /keys/:uid_or_keycan receive either a:uidor:keyto find the key, not just the:keyhow it used to be. - [x]
DELETE /keys/:uid_or_keycan receive either a:uidor:keyto find the key, not just the:keyhow it used to be. - [x]
PATCH /keys/:uid_or_keycan receive either a:uidor:keyto find the key, not just the:keyhow it used to be. - [x] Add the possibility to specify
:uidto generate deterministic API keys ifnullMeilisearch generates one. It must be a UUID v4 value. - [x] Add a
:nameattribute to the resource (can be null). - [x] Add new values to the actions attribute:
keys.get,keys.create,keys.updateandkeys.delete. - [x]
PATCH /keys/:uid_or_keycan update onlynameanddescriptionfields. - [ ]
apiKeyPrefixclaim is now namedapiKeyUidand expects the uid of the signing API key as a value.