auth |
POST |
authentication/signin |
{ username: String, password: String } |
Login |
- |
auth |
GET |
authentication/user |
- |
Check and update the JWT |
auth |
notification |
GET |
users/notifications |
- |
Return the user's notifications |
auth |
notification |
PATCH |
notifications/{id}/update_status |
{ status: READ/UNREAD } |
Update notification's status |
auth |
input_project |
GET |
users/input_projects |
- |
Return the user's input_projects |
auth |
input_project / monitor_project |
GET |
projects/{id} |
- |
Return a specific project |
auth |
input_project |
POST |
projects/input_project/create |
{ title: String, description: String } |
Create a new input_project |
auth |
input_project / monitor_project |
GET |
projects/{id}/samples |
- |
Return the samples of the project |
auth |
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 (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 |
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 |