Method | HTTP request | Description |
---|---|---|
all | GET /participant | Get the set of all participants. |
all_by_researcher | GET /researcher/{researcher_id}/participant | Get the set of all participants under a single researcher. |
all_by_study | GET /study/{study_id}/participant | Get the set of all participants in a single study. |
create | POST /study/{study_id}/participant | Create a new Participant for the given Study. |
delete | DELETE /participant/{participant_id} | Delete a participant AND all owned data or event streams. |
update | PUT /participant/{participant_id} | Update a Participant's settings. |
view | GET /participant/{participant_id} | Get a single participant, by identifier. |
[object] all()
Get the set of all participants.
Get the set of all participants.
- Api Key Authentication (Authorization):
import LAMP
from pprint import pprint
# Get the set of all participants.
result = LAMP.Participant.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 all participants under a single researcher.
Get the set of all participants under a single researcher.
- Api Key Authentication (Authorization):
import LAMP
from pprint import pprint
researcher_id = 'researcher_id_example' # str
# Get the set of all participants under a single researcher.
result = LAMP.Participant.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]
[object] all_by_study(study_id)
Get the set of all participants in a single study.
Get the set of all participants in a single study.
- Api Key Authentication (Authorization):
import LAMP
from pprint import pprint
study_id = 'study_id_example' # str
# Get the set of all participants in a single study.
result = LAMP.Participant.all_by_study(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]
str create(study_id, participant)
Create a new Participant for the given Study.
Create a new Participant for the given Study.
- Api Key Authentication (Authorization):
import LAMP
from pprint import pprint
study_id = 'study_id_example' # str
participant = LAMP.Participant() # Participant
# Create a new Participant for the given Study.
result = LAMP.Participant.create(study_id, participant)
pprint(result)
Name | Type | Description | Notes |
---|---|---|---|
study_id | str | ||
participant | Participant |
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(participant_id)
Delete a participant AND all owned data or event streams.
Delete a participant AND all owned data or event streams.
- Api Key Authentication (Authorization):
import LAMP
from pprint import pprint
participant_id = 'participant_id_example' # str
# Delete a participant AND all owned data or event streams.
result = LAMP.Participant.delete(participant_id)
pprint(result)
Name | Type | Description | Notes |
---|---|---|---|
participant_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(participant_id, participant)
Update a Participant's settings.
Update a Participant's settings.
- Api Key Authentication (Authorization):
import LAMP
from pprint import pprint
participant_id = 'participant_id_example' # str
participant = LAMP.Participant() # Participant
# Update a Participant's settings.
result = LAMP.Participant.update(participant_id, participant)
pprint(result)
Name | Type | Description | Notes |
---|---|---|---|
participant_id | str | ||
participant | Participant |
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(participant_id)
Get a single participant, by identifier.
Get a single participant, by identifier.
- Api Key Authentication (Authorization):
import LAMP
from pprint import pprint
participant_id = 'participant_id_example' # str
# Get a single participant, by identifier.
result = LAMP.Participant.view(participant_id)
pprint(result)
Name | Type | Description | Notes |
---|---|---|---|
participant_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]