Skip to content
GitLab
Explore
Sign in
This is an archived project. Repository and other project resources are read-only.
SPSP
spsp-vue
Wiki
api
api
· Changes
Page history
Update api
authored
Dec 03, 2019
by
Dillenn Terumalai
Hide whitespace changes
Inline
Side-by-side
api.md
View page @
156e8490
...
@@ -9,4 +9,8 @@
...
@@ -9,4 +9,8 @@
| input_project |
**POST**
| projects/input_project/create | { title:
*String*
, description:
*String*
} | Create a new input_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 |
| 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 |
**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/create | { title:
*String*
, description:
*String*
, access_level: RESTRICTED/EXTENDED/FULL, query:
*queryBuilder*
| Create a new monitor_project | auth |
\ No newline at end of file
| 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 |
\ No newline at end of file