Skip to content
Harry Rybacki edited this page Jun 11, 2013 · 1 revision

High level overview of a user submission to raw endpoint

  1. User submits POST request to Raw API app/views.py - POST

  2. views.py raw api hand submission to json_contrller

     app/json_controller.py - submit()
    
  3. json_controller calls appropriate validater/parser

     app/sources/
    
     app/sources/frontiers/
     app/sources/frontiers/validator.py - validate()
     app/sources/frontiers/parser.py - parse()
    
     app/sources/highwire/
     app/sources/highwire/validator.py - validate()
     app/sources/highwire/parser.py - parse()
    
     app/sources/plos/
     app/sources/plos/validator.py - validate()
     app/sources/plos/parser.py - parse()
    
  4. If successful, json_controller calls raw_db insert

     app/raw_db_controller.py - insert()