MeiliSearch/meilisearch/src/routes
bors[bot] a5c4fbbcea
Merge #3334
3334: Add specific error codes `immutable_...` r=irevoire a=loiclec

Add the following error codes:

When an immutable field of API key is sent to the `PATCH /keys` route: 
- `ImmutableApiKeyUid` 
- `ImmutableApiKeyKey`
- `ImmutableApiKeyActions`
- `ImmutableApiKeyIndexes`
- `ImmutableApiKeyExpiresAt`
- `ImmutableApiKeyCreatedAt`
- `ImmutableApiKeyUpdatedAt`

When an immutable field of Index is sent to the `PATCH /indexes/{uid}` route:
- `ImmutableIndexUid`
- `ImmutableIndexCreatedAt`
- `ImmutableIndexUpdatedAt`

Co-authored-by: Loïc Lecrenier <loic.lecrenier@me.com>
Co-authored-by: Tamo <tamo@meilisearch.com>
2023-01-12 15:31:38 +00:00
..
indexes reformat 2023-01-12 16:20:24 +01:00
api_key.rs reformat the headers 2023-01-11 19:08:39 +01:00
dump.rs Renames meilisearch-http to meilisearch 2022-12-08 08:22:53 -07:00
mod.rs reformat the headers 2023-01-11 19:08:39 +01:00
swap_indexes.rs Refactor deserr integration 2023-01-11 19:08:39 +01:00
tasks.rs reformat the imports 2023-01-12 14:09:15 +01:00