... | ... | @@ -11,13 +11,15 @@ |
|
|
| monitor_project | **GET** | users/monitor_projects | - | Return the user's monitor_projects | auth |
|
|
|
| monitor_project | **POST** | projects/monitor_project/create | { title: *String*, description: *String*, access_level: RESTRICTED/EXTENDED/FULL, query: *queryBuilder* | Create a new monitor_project | auth |
|
|
|
| monitor_project | **POST** | projects/monitor_project/preview | { count: false, access_level: RESTRICTED/EXTENDED/FULL, query: *queryBuilder* | Preview the list of samples based on the query and access_level | auth |
|
|
|
| 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 |
|
|
| 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 | **PATCH** | profile/{id}/update_profile | { 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 |