Introduction

Organization

  1. Viewing the Study List (/api/studies/)
  2. Viewing an individual Study (/api/studies/{id}/)
  3. Viewing a list of Targets (/api/targets/)
  4. Viewing a list of Methods (/api/methods/)
  5. Viewing a list of Units (/api/units/)
  6. Viewing a list of Experimental Model Locations (/api/locations/)

Study List (/api/studies/)

  1. access_status
  2. id
  3. url link to the api details page (so a user can click the link rather than typing in the id)
  4. name
  5. created_on
  6. modified_on
  7. data_group
  8. center
  9. pi
  10. contact_person
  11. study_types (TOX, CC, etc.)
  12. start_date (in ISO yyyy-mm-dd)
  13. description

Study Details (/api/studies/{id}/)

  1. access_status*
  2. id*
  3. name*
  4. created_on*
  5. modified_on*
  6. data_group*
  7. center*
  8. pi*
  9. contact_person*
  10. study_types (TOX, CC, etc.)*
  11. start_date (in ISO yyyy-mm-dd)*
  12. description*
  13. study_description_image*
  14. supporting_data*
  15. processed_data_files
  16. omic_data_files
  17. assay_plate_data_files
  18. groups: matches group ids to:
    1. mps_model
    2. mps_model_version
    3. compounds: a list which contains:
      1. compound
      2. supplier
      3. lot
      4. receipt_date
      5. concentration
      6. concentration_unit
      7. addition_time
      8. addition_time_in_minutes
      9. duration
      10. duration_in_minutes
      11. addition_location
    4. cells: a list which contains:
      1. cell_sample
      2. biosensor
      3. density
      4. density_unit
      5. passage
      6. addition_time
      7. addition_time_in_minutes
      8. addition_location
    5. settings: a list which contains:
      1. setting
      2. value
      3. unit
      4. addition_time
      5. addition_time_in_minutes
      6. duration
      7. duration_in_minutes
      8. addition_location
  19. items: matches item ids to:
    1. group_id
    2. name
    3. scientist
    4. notebook
    5. notebook_page
    6. notes
  20. assays: matches assay ids to:
    1. target
    2. method
    3. unit
  21. data: a list of data points containing:
    1. item_id
    2. assay_id
    3. sample_location
    4. value
    5. cross_reference
    6. time
    7. time_in_minutes
    8. notes
    9. assay_plate_id
    10. assay_well_id
    11. replicate
    12. excluded
    13. replaced
    14. update_number

Study Component Endpoints

  1. Viewing a list of Targets (/api/targets/)
  2. Viewing a list of Methods (/api/methods/)
  3. Viewing a list of Units (/api/units/)
  4. Viewing a list of Experimental Model Locations (/api/locations/)

Python Example
# This library will help you make requests
# There are other similar libraries, requests is popular but not built-in to python
# requests is a library that will help you make API requests
import urllib.request
# Processing the data can be done with the standard JSON parser
import json

# In this example, we get the study list:
# Just have a string of the url for the API study list
study_list_url = 'https://biosystics-ap.com/api/studies/'
# And make a request with the library
# This response should contain a string of the response
study_list_response = urllib.request.urlopen(study_list_url)
# We can parse it with json
# Now it will be comprised of Python objects rather than strings
study_list_parsed = json.loads(study_list_response.read())
# This will print the first study in the list
print(study_list_parsed[0])

# Something similar can be done with particular studies
study_id = 23
study_url = 'https://biosystics-ap.com/api/studies/{}/'.format(study_id)
study_response = urllib.request.urlopen(study_url)
study_parsed = json.loads(study_response.read())
# This will print the study's name
print(study_parsed.get('name'))
In-Browser Interface

Click here for the API list of Studies