Method | HTTP request | Description |
---|---|---|
all | GET /study | Get the set of all studies. |
all_by_researcher | GET /researcher/{researcher_id}/study | Get the set of studies for a single researcher. |
create | POST /researcher/{researcher_id}/study | Create a new Study for the given Researcher. |
delete | DELETE /study/{study_id} | Delete a study. |
update | PUT /study/{study_id} | Update the study. |
view | GET /study/{study_id} | Get a single study, by identifier. |
[object] all()
Get the set of all studies.
Get the set of all studies.
- Api Key Authentication (Authorization):
import LAMP
from pprint import pprint
# Get the set of all studies.
result = LAMP.Study.all()
pprint(result)
Name | Type | Description | Notes |
---|---|---|---|
transform | str | [optional] |
[object]
- Content-Type: Not defined
- Accept:
application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 Success | - |
400 | 400 Bad Request | - |
403 | 403 Authorization Failed | - |
404 | 404 Not Found | - |
0 | 500 Internal Error | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
[object] all_by_researcher(researcher_id)
Get the set of studies for a single researcher.
Get the set of studies for a single researcher.
- Api Key Authentication (Authorization):
import LAMP
from pprint import pprint
researcher_id = 'researcher_id_example' # str
# Get the set of studies for a single researcher.
result = LAMP.Study.all_by_researcher(researcher_id)
pprint(result)
Name | Type | Description | Notes |
---|---|---|---|
researcher_id | str | ||
transform | str | [optional] |
[object]
- Content-Type: Not defined
- Accept:
application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 Success | - |
400 | 400 Bad Request | - |
403 | 403 Authorization Failed | - |
404 | 404 Not Found | - |
0 | 500 Internal Error | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
str create(researcher_id, study)
Create a new Study for the given Researcher.
Create a new Study for the given Researcher.
- Api Key Authentication (Authorization):
import LAMP
from pprint import pprint
researcher_id = 'researcher_id_example' # str
study = LAMP.Study() # Study |
# Create a new Study for the given Researcher.
result = LAMP.Study.create(researcher_id, study)
pprint(result)
Name | Type | Description | Notes |
---|---|---|---|
researcher_id | str | ||
study | Study |
str
- Content-Type:
application/json
- Accept:
application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 Success | - |
400 | 400 Bad Request | - |
403 | 403 Authorization Failed | - |
404 | 404 Not Found | - |
0 | 500 Internal Error | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
str delete(study_id)
Delete a study.
Delete a study.
- Api Key Authentication (Authorization):
import LAMP
from pprint import pprint
study_id = 'study_id_example' # str
# Delete a study.
result = LAMP.Study.delete(study_id)
pprint(result)
Name | Type | Description | Notes |
---|---|---|---|
study_id | str |
str
- Content-Type: Not defined
- Accept:
application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 Success | - |
400 | 400 Bad Request | - |
403 | 403 Authorization Failed | - |
404 | 404 Not Found | - |
0 | 500 Internal Error | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
str update(study_id, study)
Update the study.
Update the study.
- Api Key Authentication (Authorization):
import LAMP
from pprint import pprint
study_id = 'study_id_example' # str
study = LAMP.Study() # Study |
# Update the study.
result = LAMP.Study.update(study_id, study)
pprint(result)
Name | Type | Description | Notes |
---|---|---|---|
study_id | str | ||
study | Study |
str
- Content-Type:
application/json
- Accept:
application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 Success | - |
400 | 400 Bad Request | - |
403 | 403 Authorization Failed | - |
404 | 404 Not Found | - |
0 | 500 Internal Error | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
[object] view(study_id)
Get a single study, by identifier.
Get a single study, by identifier.
- Api Key Authentication (Authorization):
import LAMP
from pprint import pprint
study_id = 'study_id_example' # str
# Get a single study, by identifier.
result = LAMP.Study.view(study_id)
pprint(result)
Name | Type | Description | Notes |
---|---|---|---|
study_id | str | ||
transform | str | [optional] |
[object]
- Content-Type: Not defined
- Accept:
application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 Success | - |
400 | 400 Bad Request | - |
403 | 403 Authorization Failed | - |
404 | 404 Not Found | - |
0 | 500 Internal Error | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]