... | ... | @@ -17,11 +17,11 @@ |
|
|
| 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 *(found as institution**s**/users in Spring)* | - | Return the list of users of the same institution | auth |
|
|
|
| user | **GET** | institution/users **todo: found as institutions/users in Spring** | - | 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 |
|
|
|
| user | **PATCH** | users/{id}/update_rights | { role: VIEWER/EDITOR/SUBMITTER, functions: [QC_OFFICER/null], status: VALID } | Update a user | auth |
|
|
|
| user | **PATCH** | profile/{id}/update_profile | { login: *String*, old_password: *String*, new_password: *String* } | Change login and password | auth |
|
|
|
| user | **PATCH** | profile/{id}/update_profile **todo: not found in Spring** | { login: *String*, old_password: *String*, new_password: *String* } | Change login and password | auth |
|
|
|
| upload | **GET** | users/batch_upload_list | - | Return the user's uploads list | auth |
|
|
|
| upload | **PATCH** | samples/update_upload_project/{id} | { project_id: *Integer* } | Assign an upload to a project | auth | |
|
|
\ No newline at end of file |