meilisearch-rust icon indicating copy to clipboard operation
meilisearch-rust copied to clipboard

Update keys for v0.28.0

Open bidoubiwa opened this issue 3 years ago • 0 comments
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 /keys has pagination metadata, added limit (default: 20), offset (default: 0), total.
  • [x] GET /keys/:uid_or_key can receive either a :uid or :key to find the key, not just the :key how it used to be.
  • [x] DELETE /keys/:uid_or_key can receive either a :uid or :key to find the key, not just the :key how it used to be.
  • [x] PATCH /keys/:uid_or_key can receive either a :uid or :key to find the key, not just the :key how it used to be.
  • [x] Add the possibility to specify :uid to generate deterministic API keys if null Meilisearch generates one. It must be a UUID v4 value.
  • [x] Add a :name attribute to the resource (can be null).
  • [x] Add new values to the actions attribute: keys.get, keys.create, keys.update and keys.delete.
  • [x] PATCH /keys/:uid_or_key can update only name and description fields.
  • [ ] apiKeyPrefix claim is now named apiKeyUid and expects the uid of the signing API key as a value.

bidoubiwa avatar Aug 04 '22 12:08 bidoubiwa