... | ... | @@ -17,7 +17,7 @@ |
|
|
| samples | **GET** | users/samples_to_review | - | Return the samples to review | auth |
|
|
|
| samples | **PATCH** | samples/{id}/validate | { id: *Integer*, status: validated/rejected, justification: *String* | Validate or reject an orange sample | auth |
|
|
|
| species | **GET** | samples/mlst_by_species | - | Return the list of MLST per species | auth |
|
|
|
| user | **GET** | institution/users **todo: found as institutions/users in Spring** | - | Return the list of users of the same institution | auth |
|
|
|
| user | **GET** | institutions/users | - | Return the list of users of the same institution | auth |
|
|
|
| user | **GET** | users/validation_rights | - | Return the user's validation rights | auth |
|
|
|
| user | **PATCH** | users/{id}/validate | { role: VIEWER, functions: [], status: VALID } | Validate a new user with default role as VIEWER and no function | auth |
|
|
|
| user | **PATCH** | users/{id}/validate | { role: null, functions: [], status: INVALID } | Reject a new user with default role as VIEWER and no function | auth |
|
... | ... | |