... | ... | @@ -14,3 +14,10 @@ |
|
|
| metadata | **GET** | /cv_metadata_types/summary | ?accessLevel=(RESTRICTED/EXTENDED/FULL)&is_queryable=true | Return the metadata controlled vocabulary | auth |
|
|
|
| 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 | - | 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 | **GET** | /users/validation_rights | - | Return the user's validation rights | auth | |
|
|
\ No newline at end of file |