-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathopenapi.json
1 lines (1 loc) · 70.2 KB
/
openapi.json
1
{"openapi":"3.1.0","info":{"title":"Murfey server","version":"0.1.0"},"paths":{"/":{"get":{"summary":"Root","operationId":"root__get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/machine/":{"get":{"summary":"Machine Info","operationId":"machine_info_machine__get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MachineConfig"}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/microscope/":{"get":{"summary":"Get Mic","operationId":"get_mic_microscope__get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/microscope_image/":{"get":{"summary":"Get Mic Image","operationId":"get_mic_image_microscope_image__get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/mag_table/":{"get":{"summary":"Get Mag Table","operationId":"get_mag_table_mag_table__get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/MagnificationLookup"},"type":"array","title":"Response Get Mag Table Mag Table Get"}}}}},"security":[{"OAuth2PasswordBearer":[]}]},"post":{"summary":"Add To Mag Table","operationId":"add_to_mag_table_mag_table__post","requestBody":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/MagnificationLookup"},"type":"array","title":"Rows"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/visits/":{"get":{"summary":"All Visit Info","operationId":"all_visit_info_visits__get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/visits/{visit_name}":{"get":{"summary":"Visit Info","operationId":"visit_info_visits__visit_name__get","parameters":[{"required":true,"schema":{"type":"string","title":"Visit Name"},"name":"visit_name","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"OAuth2PasswordBearer":[]}]},"post":{"summary":"Register Client To Visit","operationId":"register_client_to_visit_visits__visit_name__post","parameters":[{"required":true,"schema":{"type":"string","title":"Visit Name"},"name":"visit_name","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClientInfo"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/num_movies":{"get":{"summary":"Count Number Of Movies","operationId":"count_number_of_movies_num_movies_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":{"type":"integer"},"type":"object","title":"Response Count Number Of Movies Num Movies Get"}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/visits/{visit_name}/rsyncer":{"post":{"summary":"Register Rsyncer","operationId":"register_rsyncer_visits__visit_name__rsyncer_post","parameters":[{"required":true,"schema":{"type":"string","title":"Visit Name"},"name":"visit_name","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RsyncerInfo"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/clients/{client_id}/rsyncers":{"get":{"summary":"Get Rsyncers For Client","operationId":"get_rsyncers_for_client_clients__client_id__rsyncers_get","parameters":[{"required":true,"schema":{"type":"integer","title":"Client Id"},"name":"client_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/session/{session_id}":{"get":{"summary":"Get Session","operationId":"get_session_session__session_id__get","parameters":[{"required":true,"schema":{"type":"integer","title":"Session Id"},"name":"session_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SessionClients"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/visits/{visit_name}/increment_rsync_file_count":{"post":{"summary":"Increment Rsync File Count","operationId":"increment_rsync_file_count_visits__visit_name__increment_rsync_file_count_post","parameters":[{"required":true,"schema":{"type":"string","title":"Visit Name"},"name":"visit_name","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RsyncerInfo"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/visits/{visit_name}/increment_rsync_transferred_files":{"post":{"summary":"Increment Rsync Transferred Files","operationId":"increment_rsync_transferred_files_visits__visit_name__increment_rsync_transferred_files_post","parameters":[{"required":true,"schema":{"type":"string","title":"Visit Name"},"name":"visit_name","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RsyncerInfo"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/visits/{visit_name}/increment_rsync_transferred_files_prometheus":{"post":{"summary":"Increment Rsync Transferred Files Prometheus","operationId":"increment_rsync_transferred_files_prometheus_visits__visit_name__increment_rsync_transferred_files_prometheus_post","parameters":[{"required":true,"schema":{"type":"string","title":"Visit Name"},"name":"visit_name","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RsyncerInfo"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/sessions/{session_id}/spa_processing_parameters":{"get":{"summary":"Get Spa Proc Param Details","operationId":"get_spa_proc_param_details_sessions__session_id__spa_processing_parameters_get","parameters":[{"required":true,"schema":{"type":"integer","title":"Session Id"},"name":"session_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/ProcessingDetails"},"type":"array","title":"Response Get Spa Proc Param Details Sessions Session Id Spa Processing Parameters Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"OAuth2PasswordBearer":[]}]},"post":{"summary":"Register Spa Proc Params","operationId":"register_spa_proc_params_sessions__session_id__spa_processing_parameters_post","parameters":[{"required":true,"schema":{"type":"integer","title":"Session Id"},"name":"session_id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProcessingParametersSPA"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/sessions/{session_id}/tomography_preprocessing_parameters":{"post":{"summary":"Register Tomo Preproc Params","operationId":"register_tomo_preproc_params_sessions__session_id__tomography_preprocessing_parameters_post","parameters":[{"required":true,"schema":{"type":"integer","title":"Session Id"},"name":"session_id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PreprocessingParametersTomo"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/clients/{client_id}/tomography_processing_parameters":{"post":{"summary":"Register Tomo Proc Params","operationId":"register_tomo_proc_params_clients__client_id__tomography_processing_parameters_post","parameters":[{"required":true,"schema":{"type":"integer","title":"Client Id"},"name":"client_id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProcessingParametersTomo"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/clients/{client_id}/spa_processing_parameters":{"get":{"summary":"Get Spa Proc Params","operationId":"get_spa_proc_params_clients__client_id__spa_processing_parameters_get","parameters":[{"required":true,"schema":{"type":"integer","title":"Client Id"},"name":"client_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"type":"object"},"type":"array","title":"Response Get Spa Proc Params Clients Client Id Spa Processing Parameters Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/sessions/{session_id}/grid_squares":{"get":{"summary":"Get Grid Squares","operationId":"get_grid_squares_sessions__session_id__grid_squares_get","parameters":[{"required":true,"schema":{"type":"integer","title":"Session Id"},"name":"session_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/sessions/{session_id}/grid_square/{gsid}":{"post":{"summary":"Register Grid Square","operationId":"register_grid_square_sessions__session_id__grid_square__gsid__post","parameters":[{"required":true,"schema":{"type":"integer","title":"Session Id"},"name":"session_id","in":"path"},{"required":true,"schema":{"type":"integer","title":"Gsid"},"name":"gsid","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GridSquareParameters"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/sessions/{session_id}/foil_hole/{fh_name}":{"get":{"summary":"Get Foil Hole","operationId":"get_foil_hole_sessions__session_id__foil_hole__fh_name__get","parameters":[{"required":true,"schema":{"type":"integer","title":"Session Id"},"name":"session_id","in":"path"},{"required":true,"schema":{"type":"integer","title":"Fh Name"},"name":"fh_name","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":{"type":"integer"},"type":"object","title":"Response Get Foil Hole Sessions Session Id Foil Hole Fh Name Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/sessions/{session_id}/grid_square/{gs_name}/foil_hole":{"post":{"summary":"Register Foil Hole","operationId":"register_foil_hole_sessions__session_id__grid_square__gs_name__foil_hole_post","parameters":[{"required":true,"schema":{"type":"integer","title":"Session Id"},"name":"session_id","in":"path"},{"required":true,"schema":{"type":"integer","title":"Gs Name"},"name":"gs_name","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FoilHoleParameters"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/visits/{visit_name}/tilt_series":{"post":{"summary":"Register Tilt Series","operationId":"register_tilt_series_visits__visit_name__tilt_series_post","parameters":[{"required":true,"schema":{"type":"string","title":"Visit Name"},"name":"visit_name","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TiltSeriesInfo"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/visits/{visit_name}/{client_id}/completed_tilt_series":{"post":{"summary":"Register Completed Tilt Series","operationId":"register_completed_tilt_series_visits__visit_name___client_id__completed_tilt_series_post","parameters":[{"required":true,"schema":{"type":"string","title":"Visit Name"},"name":"visit_name","in":"path"},{"required":true,"schema":{"type":"integer","title":"Client Id"},"name":"client_id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TiltSeriesGroupInfo"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/clients/{client_id}/tilt_series/{tilt_series_tag}/tilts":{"get":{"summary":"Get Tilts","operationId":"get_tilts_clients__client_id__tilt_series__tilt_series_tag__tilts_get","parameters":[{"required":true,"schema":{"type":"integer","title":"Client Id"},"name":"client_id","in":"path"},{"required":true,"schema":{"type":"string","title":"Tilt Series Tag"},"name":"tilt_series_tag","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/visits/{visit_name}/{client_id}/tilt":{"post":{"summary":"Register Tilt","operationId":"register_tilt_visits__visit_name___client_id__tilt_post","parameters":[{"required":true,"schema":{"type":"string","title":"Visit Name"},"name":"visit_name","in":"path"},{"required":true,"schema":{"type":"integer","title":"Client Id"},"name":"client_id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TiltInfo"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/visits_raw":{"get":{"summary":"Get Current Visits","operationId":"get_current_visits_visits_raw_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/Visit"},"type":"array","title":"Response Get Current Visits Visits Raw Get"}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/visits/{visit_name}/context":{"post":{"summary":"Register Context","operationId":"register_context_visits__visit_name__context_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContextInfo"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/visits/{visit_name}/files":{"post":{"summary":"Add File","operationId":"add_file_visits__visit_name__files_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/File"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/feedback":{"post":{"summary":"Send Murfey Message","operationId":"send_murfey_message_feedback_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RegistrationMessage"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/visits/{visit_name}/spa_processing":{"post":{"summary":"Request Spa Processing","operationId":"request_spa_processing_visits__visit_name__spa_processing_post","parameters":[{"required":true,"schema":{"type":"string","title":"Visit Name"},"name":"visit_name","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SPAProcessingParameters"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/visits/{visit_name}/{session_id}/flush_spa_processing":{"post":{"summary":"Flush Spa Processing","operationId":"flush_spa_processing_visits__visit_name___session_id__flush_spa_processing_post","parameters":[{"required":true,"schema":{"type":"string","title":"Visit Name"},"name":"visit_name","in":"path"},{"required":true,"schema":{"type":"integer","title":"Session Id"},"name":"session_id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Tag"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/visits/{visit_name}/{session_id}/spa_preprocess":{"post":{"summary":"Request Spa Preprocessing","operationId":"request_spa_preprocessing_visits__visit_name___session_id__spa_preprocess_post","parameters":[{"required":true,"schema":{"type":"string","title":"Visit Name"},"name":"visit_name","in":"path"},{"required":true,"schema":{"type":"integer","title":"Session Id"},"name":"session_id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SPAProcessFile"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/visits/{visit_name}/{client_id}/flush_tomography_processing":{"post":{"summary":"Flush Tomography Processing","operationId":"flush_tomography_processing_visits__visit_name___client_id__flush_tomography_processing_post","parameters":[{"required":true,"schema":{"type":"string","title":"Visit Name"},"name":"visit_name","in":"path"},{"required":true,"schema":{"type":"integer","title":"Client Id"},"name":"client_id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Source"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/visits/{visit_name}/{client_id}/tomography_preprocess":{"post":{"summary":"Request Tomography Preprocessing","operationId":"request_tomography_preprocessing_visits__visit_name___client_id__tomography_preprocess_post","parameters":[{"required":true,"schema":{"type":"string","title":"Visit Name"},"name":"visit_name","in":"path"},{"required":true,"schema":{"type":"integer","title":"Client Id"},"name":"client_id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProcessFile"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/version":{"get":{"summary":"Get Version","operationId":"get_version_version_get","parameters":[{"required":false,"schema":{"type":"string","title":"Client Version","default":""},"name":"client_version","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/visits/{visit_name}/suggested_path":{"post":{"summary":"Suggest Path","operationId":"suggest_path_visits__visit_name__suggested_path_post","parameters":[{"required":true,"schema":{"title":"Visit Name"},"name":"visit_name","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuggestedPathParameters"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/sessions/{session_id}/data_collection_groups":{"get":{"summary":"Get Dc Groups","operationId":"get_dc_groups_sessions__session_id__data_collection_groups_get","parameters":[{"required":true,"schema":{"type":"integer","title":"Session Id"},"name":"session_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/visits/{visit_name}/{session_id}/register_data_collection_group":{"post":{"summary":"Register Dc Group","operationId":"register_dc_group_visits__visit_name___session_id__register_data_collection_group_post","parameters":[{"required":true,"schema":{"type":"string","title":"Visit Name"},"name":"visit_name","in":"path"},{"required":true,"schema":{"type":"integer","title":"Session Id"},"name":"session_id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DCGroupParameters"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/visits/{visit_name}/{session_id}/start_data_collection":{"post":{"summary":"Start Dc","operationId":"start_dc_visits__visit_name___session_id__start_data_collection_post","parameters":[{"required":true,"schema":{"type":"string","title":"Visit Name"},"name":"visit_name","in":"path"},{"required":true,"schema":{"type":"integer","title":"Session Id"},"name":"session_id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DCParameters"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DCParameters"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/visits/{visit_name}/{session_id}/register_processing_job":{"post":{"summary":"Register Proc","operationId":"register_proc_visits__visit_name___session_id__register_processing_job_post","parameters":[{"required":true,"schema":{"title":"Visit Name"},"name":"visit_name","in":"path"},{"required":true,"schema":{"type":"integer","title":"Session Id"},"name":"session_id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProcessingJobParameters"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/visits/{visit_name}/write_connections_file":{"post":{"summary":"Write Conn File","operationId":"write_conn_file_visits__visit_name__write_connections_file_post","parameters":[{"required":true,"schema":{"title":"Visit Name"},"name":"visit_name","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectionFileParameters"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/visits/{visit_name}/process_gain":{"post":{"summary":"Process Gain","operationId":"process_gain_visits__visit_name__process_gain_post","parameters":[{"required":true,"schema":{"title":"Visit Name"},"name":"visit_name","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GainReference"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/new_client_id/":{"get":{"summary":"New Client Id","operationId":"new_client_id_new_client_id__get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/clients":{"get":{"summary":"Get Clients","operationId":"get_clients_clients_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/sessions":{"get":{"summary":"Get Sessions","operationId":"get_sessions_sessions_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/clients/{client_id}/session":{"post":{"summary":"Link Client To Session","operationId":"link_client_to_session_clients__client_id__session_post","parameters":[{"required":true,"schema":{"type":"integer","title":"Client Id"},"name":"client_id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SessionInfo"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"OAuth2PasswordBearer":[]}]},"delete":{"summary":"Remove Session","operationId":"remove_session_clients__client_id__session_delete","parameters":[{"required":true,"schema":{"type":"integer","title":"Client Id"},"name":"client_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/sessions/{session_id}/rsyncers":{"get":{"summary":"Get Rsyncers For Session","operationId":"get_rsyncers_for_session_sessions__session_id__rsyncers_get","parameters":[{"required":true,"schema":{"type":"integer","title":"Session Id"},"name":"session_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/RsyncInstance"},"type":"array","title":"Response Get Rsyncers For Session Sessions Session Id Rsyncers Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/sessions/{session_id}":{"delete":{"summary":"Remove Session By Id","operationId":"remove_session_by_id_sessions__session_id__delete","parameters":[{"required":true,"schema":{"type":"integer","title":"Session Id"},"name":"session_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/visits/{visit_name}/eer_fractionation_file":{"post":{"summary":"Write Eer Fractionation File","operationId":"write_eer_fractionation_file_visits__visit_name__eer_fractionation_file_post","parameters":[{"required":true,"schema":{"type":"string","title":"Visit Name"},"name":"visit_name","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FractionationParameters"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Write Eer Fractionation File Visits Visit Name Eer Fractionation File Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/visits/{visit_name}/monitoring/{on}":{"post":{"summary":"Change Monitoring Status","operationId":"change_monitoring_status_visits__visit_name__monitoring__on__post","parameters":[{"required":true,"schema":{"type":"string","title":"Visit Name"},"name":"visit_name","in":"path"},{"required":true,"schema":{"type":"integer","title":"On"},"name":"on","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/visits/{visit_name}/upstream_visits":{"get":{"summary":"Find Upstream Visits","operationId":"find_upstream_visits_visits__visit_name__upstream_visits_get","parameters":[{"required":true,"schema":{"type":"string","title":"Visit Name"},"name":"visit_name","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/visits/{visit_name}/upstream_tiff_paths":{"get":{"summary":"Gather Upstream Tiffs","operationId":"gather_upstream_tiffs_visits__visit_name__upstream_tiff_paths_get","parameters":[{"required":true,"schema":{"type":"string","title":"Visit Name"},"name":"visit_name","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/visits/{visit_name}/upstream_tiff/{tiff_path}":{"get":{"summary":"Get Tiff","operationId":"get_tiff_visits__visit_name__upstream_tiff__tiff_path__get","parameters":[{"required":true,"schema":{"type":"string","title":"Visit Name"},"name":"visit_name","in":"path"},{"required":true,"schema":{"type":"string","title":"Tiff Path"},"name":"tiff_path","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/failed_client_post":{"post":{"summary":"Failed Client Post","operationId":"failed_client_post_failed_client_post_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PostInfo"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/possible_gain_references":{"get":{"summary":"Get Possible Gain References","operationId":"get_possible_gain_references_possible_gain_references_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/File"},"type":"array","title":"Response Get Possible Gain References Possible Gain References Get"}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/visits/{visit}/session/{name}":{"post":{"summary":"Create Session","operationId":"create_session_visits__visit__session__name__post","parameters":[{"required":true,"schema":{"type":"string","title":"Visit"},"name":"visit","in":"path"},{"required":true,"schema":{"type":"string","title":"Name"},"name":"name","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"integer","title":"Response Create Session Visits Visit Session Name Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/activate_instrument_server":{"post":{"summary":"Activate Instrument Server","operationId":"activate_instrument_server_activate_instrument_server_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/instrument_name/":{"get":{"summary":"Get Instrument Name","operationId":"get_instrument_name_instrument_name__get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/sessions/{session_id}/multigrid_watcher":{"post":{"summary":"Start Multigrid Watcher","operationId":"start_multigrid_watcher_sessions__session_id__multigrid_watcher_post","parameters":[{"required":true,"schema":{"type":"integer","title":"Session Id"},"name":"session_id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MultigridWatcherSetup"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/sessions/{session_id}/provided_processing_parameters":{"post":{"summary":"Pass Proc Params To Instrument Server","operationId":"pass_proc_params_to_instrument_server_sessions__session_id__provided_processing_parameters_post","parameters":[{"required":true,"schema":{"type":"integer","title":"Session Id"},"name":"session_id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProvidedProcessingParameters"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/bootstrap/":{"get":{"tags":["bootstrap"],"summary":"Get Bootstrap Instructions","description":"Return a website containing instructions for installing the Murfey client on a\nmachine with no internet access.","operationId":"get_bootstrap_instructions_bootstrap__get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/bootstrap/pip.whl":{"get":{"tags":["bootstrap"],"summary":"Get Pip Wheel","description":"Return a static version of pip. This does not need to be the newest or best,\nbut has to be compatible with all supported Python versions.\nThis is only used during bootstrapping by the client to identify and then\ndownload the actually newest appropriate version of pip.","operationId":"get_pip_wheel_bootstrap_pip_whl_get","responses":{"200":{"description":"Successful Response"}}}},"/bootstrap/murfey.whl":{"get":{"tags":["bootstrap"],"summary":"Get Murfey Wheel","description":"Return a wheel file containing the latest release version of Murfey. We should\nnot have to worry about the exact Python compatibility here, as long as\nmurfey.bootstrap is compatible with all relevant versions of Python.\nThis also ignores yanked releases, which again should be fine.","operationId":"get_murfey_wheel_bootstrap_murfey_whl_get","responses":{"200":{"description":"Successful Response"}}}},"/cygwin/setup-x86_64.exe":{"get":{"tags":["bootstrap"],"summary":"Get Cygwin Setup","description":"Obtain and pass through a Cygwin installer from an official source.\nThis is used during client bootstrapping and can download and install the\nCygwin distribution that then remains on the client machines.","operationId":"get_cygwin_setup_cygwin_setup_x86_64_exe_get","responses":{"200":{"description":"Successful Response"}}}},"/cygwin/{request_path}":{"get":{"tags":["bootstrap"],"summary":"Parse Cygwin Request","description":"Forward a Cygwin setup request to an official mirror.","operationId":"parse_cygwin_request_cygwin__request_path__get","parameters":[{"required":true,"schema":{"type":"string","title":"Request Path"},"name":"request_path","in":"path"}],"responses":{"200":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/pypi/":{"get":{"tags":["bootstrap"],"summary":"Get Pypi Index","description":"Obtain list of all PyPI packages via the simple API (PEP 503).","operationId":"get_pypi_index_pypi__get","responses":{"200":{"description":"Successful Response"}}}},"/pypi/{package}/":{"get":{"tags":["bootstrap"],"summary":"Get Pypi Package Downloads List","description":"Obtain list of all package downloads from PyPI via the simple API (PEP 503), and\nrewrite all download URLs to point to this server, under the current directory.","operationId":"get_pypi_package_downloads_list_pypi__package___get","parameters":[{"required":true,"schema":{"type":"string","title":"Package"},"name":"package","in":"path"}],"responses":{"200":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/pypi/{package}/{filename}":{"get":{"tags":["bootstrap"],"summary":"Get Pypi File","description":"Obtain and pass through a specific download for a PyPI package.","operationId":"get_pypi_file_pypi__package___filename__get","parameters":[{"required":true,"schema":{"type":"string","title":"Package"},"name":"package","in":"path"},{"required":true,"schema":{"type":"string","title":"Filename"},"name":"filename","in":"path"}],"responses":{"200":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/plugins/{package}":{"get":{"tags":["bootstrap"],"summary":"Get Plugin Wheel","operationId":"get_plugin_wheel_plugins__package__get","parameters":[{"required":true,"schema":{"type":"string","title":"Package"},"name":"package","in":"path"}],"responses":{"200":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/sessions/{session_id}/lif_to_tiff":{"post":{"summary":"Lif To Tiff","operationId":"lif_to_tiff_sessions__session_id__lif_to_tiff_post","parameters":[{"required":true,"schema":{"type":"integer","title":"Session Id"},"name":"session_id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LifFileInfo"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/token":{"post":{"summary":"Generate Token","operationId":"generate_token_token_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_generate_token_token_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Token"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/validate_token":{"get":{"summary":"Simple Token Validation","operationId":"simple_token_validation_validate_token_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/display/microscope_image/":{"get":{"tags":["display"],"summary":"Get Mic Image","operationId":"get_mic_image_display_microscope_image__get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/ws/test/{client_id}":{"delete":{"tags":["websocket"],"summary":"Close Ws Connection","operationId":"close_ws_connection_ws_test__client_id__delete","parameters":[{"required":true,"schema":{"type":"integer","title":"Client Id"},"name":"client_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/visits/{visit_name}/smartem_atlas/":{"post":{"summary":"Request Smartem Atlas Analysis","operationId":"request_smartem_atlas_analysis_visits__visit_name__smartem_atlas__post","parameters":[{"required":true,"schema":{"type":"string","title":"Visit Name"},"name":"visit_name","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SmartEMAtlasRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}}},"components":{"schemas":{"Body_generate_token_token_post":{"properties":{"grant_type":{"type":"string","pattern":"password","title":"Grant Type"},"username":{"type":"string","title":"Username"},"password":{"type":"string","title":"Password"},"scope":{"type":"string","title":"Scope","default":""},"client_id":{"type":"string","title":"Client Id"},"client_secret":{"type":"string","title":"Client Secret"}},"type":"object","required":["username","password"],"title":"Body_generate_token_token_post"},"ClientEnvironment":{"properties":{"client_id":{"type":"integer","title":"Client Id"},"visit":{"type":"string","title":"Visit","default":""},"session_id":{"type":"integer","title":"Session Id"},"connected":{"type":"boolean","title":"Connected"}},"type":"object","required":["connected"],"title":"ClientEnvironment"},"ClientInfo":{"properties":{"id":{"type":"integer","title":"Id"}},"type":"object","required":["id"],"title":"ClientInfo"},"ConnectionFileParameters":{"properties":{"filename":{"type":"string","title":"Filename"},"destinations":{"items":{"type":"string"},"type":"array","title":"Destinations"}},"type":"object","required":["filename","destinations"],"title":"ConnectionFileParameters"},"ContextInfo":{"properties":{"experiment_type":{"type":"string","title":"Experiment Type"},"acquisition_software":{"type":"string","title":"Acquisition Software"}},"type":"object","required":["experiment_type","acquisition_software"],"title":"ContextInfo"},"DCGroupParameters":{"properties":{"experiment_type":{"type":"string","title":"Experiment Type"},"experiment_type_id":{"type":"integer","title":"Experiment Type Id"},"tag":{"type":"string","title":"Tag"},"atlas":{"type":"string","title":"Atlas","default":""},"sample":{"type":"integer","title":"Sample"}},"type":"object","required":["experiment_type","experiment_type_id","tag"],"title":"DCGroupParameters"},"DCParameters":{"properties":{"voltage":{"type":"number","title":"Voltage"},"pixel_size_on_image":{"type":"string","title":"Pixel Size On Image"},"experiment_type":{"type":"string","title":"Experiment Type"},"image_size_x":{"type":"integer","title":"Image Size X"},"image_size_y":{"type":"integer","title":"Image Size Y"},"file_extension":{"type":"string","title":"File Extension"},"acquisition_software":{"type":"string","title":"Acquisition Software"},"image_directory":{"type":"string","title":"Image Directory"},"tag":{"type":"string","title":"Tag"},"source":{"type":"string","title":"Source"},"magnification":{"type":"number","title":"Magnification"},"total_exposed_dose":{"type":"number","title":"Total Exposed Dose"},"c2aperture":{"type":"number","title":"C2Aperture"},"exposure_time":{"type":"number","title":"Exposure Time"},"slit_width":{"type":"number","title":"Slit Width"},"phase_plate":{"type":"boolean","title":"Phase Plate","default":false},"data_collection_tag":{"type":"string","title":"Data Collection Tag","default":""}},"type":"object","required":["voltage","pixel_size_on_image","experiment_type","image_size_x","image_size_y","file_extension","acquisition_software","image_directory","tag","source","magnification"],"title":"DCParameters"},"DataCollection":{"properties":{"id":{"type":"integer","title":"Id"},"tag":{"type":"string","title":"Tag"},"dcg_id":{"type":"integer","title":"Dcg Id"}},"type":"object","required":["id","tag","dcg_id"],"title":"DataCollection"},"DataCollectionGroup":{"properties":{"id":{"type":"integer","title":"Id"},"session_id":{"type":"integer","title":"Session Id"},"tag":{"type":"string","title":"Tag"},"atlas":{"type":"string","title":"Atlas","default":""},"sample":{"type":"integer","title":"Sample"}},"type":"object","required":["id","session_id","tag"],"title":"DataCollectionGroup"},"File":{"properties":{"name":{"type":"string","title":"Name"},"description":{"type":"string","title":"Description"},"size":{"type":"integer","title":"Size"},"timestamp":{"type":"number","title":"Timestamp"}},"type":"object","required":["name","description","size","timestamp"],"title":"File"},"FoilHoleParameters":{"properties":{"tag":{"type":"string","title":"Tag"},"name":{"type":"integer","title":"Name"},"x_location":{"type":"number","title":"X Location"},"y_location":{"type":"number","title":"Y Location"},"x_stage_position":{"type":"number","title":"X Stage Position"},"y_stage_position":{"type":"number","title":"Y Stage Position"},"readout_area_x":{"type":"integer","title":"Readout Area X"},"readout_area_y":{"type":"integer","title":"Readout Area Y"},"thumbnail_size_x":{"type":"integer","title":"Thumbnail Size X"},"thumbnail_size_y":{"type":"integer","title":"Thumbnail Size Y"},"pixel_size":{"type":"number","title":"Pixel Size"},"image":{"type":"string","title":"Image","default":""}},"type":"object","required":["tag","name"],"title":"FoilHoleParameters"},"FractionationParameters":{"properties":{"fractionation":{"type":"integer","title":"Fractionation"},"dose_per_frame":{"type":"number","title":"Dose Per Frame"},"num_frames":{"type":"integer","title":"Num Frames","default":0},"eer_path":{"type":"string","title":"Eer Path"},"fractionation_file_name":{"type":"string","title":"Fractionation File Name","default":"eer_fractionation.txt"}},"type":"object","required":["fractionation","dose_per_frame"],"title":"FractionationParameters"},"GainReference":{"properties":{"gain_ref":{"type":"string","format":"path","title":"Gain Ref"},"rescale":{"type":"boolean","title":"Rescale","default":true},"eer":{"type":"boolean","title":"Eer","default":false}},"type":"object","required":["gain_ref"],"title":"GainReference"},"GridSquareParameters":{"properties":{"tag":{"type":"string","title":"Tag"},"x_location":{"type":"number","title":"X Location"},"y_location":{"type":"number","title":"Y Location"},"x_stage_position":{"type":"number","title":"X Stage Position"},"y_stage_position":{"type":"number","title":"Y Stage Position"},"readout_area_x":{"type":"integer","title":"Readout Area X"},"readout_area_y":{"type":"integer","title":"Readout Area Y"},"thumbnail_size_x":{"type":"integer","title":"Thumbnail Size X"},"thumbnail_size_y":{"type":"integer","title":"Thumbnail Size Y"},"pixel_size":{"type":"number","title":"Pixel Size"},"image":{"type":"string","title":"Image","default":""}},"type":"object","required":["tag"],"title":"GridSquareParameters"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"LifFileInfo":{"properties":{"name":{"type":"string","format":"path","title":"Name"},"size":{"type":"integer","title":"Size"},"timestamp":{"type":"number","title":"Timestamp"},"description":{"type":"string","title":"Description","default":""}},"type":"object","required":["name","size","timestamp"],"title":"LifFileInfo"},"MachineConfig":{"properties":{"acquisition_software":{"items":{"type":"string"},"type":"array","title":"Acquisition Software"},"calibrations":{"additionalProperties":{"additionalProperties":{"anyOf":[{"type":"object"},{"type":"number"}]},"type":"object"},"type":"object","title":"Calibrations"},"data_directories":{"additionalProperties":{"type":"string"},"type":"object","title":"Data Directories"},"rsync_basepath":{"type":"string","format":"path","title":"Rsync Basepath"},"murfey_db_credentials":{"type":"string","title":"Murfey Db Credentials"},"crypto_key":{"type":"string","title":"Crypto Key"},"display_name":{"type":"string","title":"Display Name","default":""},"instrument_name":{"type":"string","title":"Instrument Name","default":""},"image_path":{"type":"string","format":"path","title":"Image Path"},"software_versions":{"additionalProperties":{"type":"string"},"type":"object","title":"Software Versions","default":{}},"external_executables":{"additionalProperties":{"type":"string"},"type":"object","title":"External Executables","default":{}},"external_executables_eer":{"additionalProperties":{"type":"string"},"type":"object","title":"External Executables Eer","default":{}},"external_environment":{"additionalProperties":{"type":"string"},"type":"object","title":"External Environment","default":{}},"rsync_module":{"type":"string","title":"Rsync Module","default":""},"create_directories":{"additionalProperties":{"type":"string"},"type":"object","title":"Create Directories","default":{"atlas":"atlas"}},"analyse_created_directories":{"items":{"type":"string"},"type":"array","title":"Analyse Created Directories","default":[]},"gain_reference_directory":{"type":"string","format":"path","title":"Gain Reference Directory"},"processed_directory_name":{"type":"string","title":"Processed Directory Name","default":"processed"},"gain_directory_name":{"type":"string","title":"Gain Directory Name","default":"processing"},"feedback_queue":{"type":"string","title":"Feedback Queue","default":"murfey_feedback"},"node_creator_queue":{"type":"string","title":"Node Creator Queue","default":"node_creator"},"superres":{"type":"boolean","title":"Superres","default":false},"camera":{"type":"string","title":"Camera","default":"FALCON"},"data_required_substrings":{"additionalProperties":{"additionalProperties":{"items":{"type":"string"},"type":"array"},"type":"object"},"type":"object","title":"Data Required Substrings","default":{}},"allow_removal":{"type":"boolean","title":"Allow Removal","default":false},"modular_spa":{"type":"boolean","title":"Modular Spa","default":false},"processing_enabled":{"type":"boolean","title":"Processing Enabled","default":true},"machine_override":{"type":"string","title":"Machine Override","default":""},"processed_extra_directory":{"type":"string","title":"Processed Extra Directory","default":""},"plugin_packages":{"additionalProperties":{"type":"string","format":"path"},"type":"object","title":"Plugin Packages","default":{}},"software_settings_output_directories":{"additionalProperties":{"items":{"type":"string"},"type":"array"},"type":"object","title":"Software Settings Output Directories","default":{}},"upstream_data_directories":{"items":{"type":"string","format":"path"},"type":"array","title":"Upstream Data Directories","default":[]},"upstream_data_download_directory":{"type":"string","format":"path","title":"Upstream Data Download Directory"},"upstream_data_tiff_locations":{"items":{"type":"string"},"type":"array","title":"Upstream Data Tiff Locations","default":["processed"]},"failure_queue":{"type":"string","title":"Failure Queue","default":""},"auth_key":{"type":"string","title":"Auth Key","default":""},"auth_algorithm":{"type":"string","title":"Auth Algorithm","default":""},"instrument_server_url":{"type":"string","title":"Instrument Server Url","default":"http://localhost:8001"}},"type":"object","required":["acquisition_software","calibrations","data_directories","rsync_basepath","murfey_db_credentials","crypto_key"],"title":"MachineConfig"},"MagnificationLookup":{"properties":{"magnification":{"type":"integer","title":"Magnification"},"pixel_size":{"type":"number","title":"Pixel Size"}},"type":"object","required":["magnification","pixel_size"],"title":"MagnificationLookup"},"MultigridWatcherSetup":{"properties":{"source":{"type":"string","format":"path","title":"Source"},"skip_existing_processing":{"type":"boolean","title":"Skip Existing Processing","default":false}},"type":"object","required":["source"],"title":"MultigridWatcherSetup"},"PostInfo":{"properties":{"url":{"type":"string","title":"Url"},"data":{"type":"object","title":"Data"}},"type":"object","required":["url","data"],"title":"PostInfo"},"PreprocessingParametersTomo":{"properties":{"dose_per_frame":{"type":"number","title":"Dose Per Frame"},"gain_ref":{"type":"string","title":"Gain Ref"},"experiment_type":{"type":"string","title":"Experiment Type"},"voltage":{"type":"number","title":"Voltage"},"image_size_x":{"type":"integer","title":"Image Size X"},"image_size_y":{"type":"integer","title":"Image Size Y"},"pixel_size_on_image":{"type":"string","title":"Pixel Size On Image"},"motion_corr_binning":{"type":"integer","title":"Motion Corr Binning"},"manual_tilt_offset":{"type":"number","title":"Manual Tilt Offset"},"file_extension":{"type":"string","title":"File Extension"},"tag":{"type":"string","title":"Tag"},"tilt_series_tag":{"type":"string","title":"Tilt Series Tag"},"eer_fractionation_file":{"type":"string","title":"Eer Fractionation File"},"eer_fractionation":{"type":"integer","title":"Eer Fractionation"}},"type":"object","required":["dose_per_frame","experiment_type","voltage","image_size_x","image_size_y","pixel_size_on_image","motion_corr_binning","manual_tilt_offset","file_extension","tag","tilt_series_tag","eer_fractionation"],"title":"PreprocessingParametersTomo"},"ProcessFile":{"properties":{"path":{"type":"string","title":"Path"},"description":{"type":"string","title":"Description"},"tag":{"type":"string","title":"Tag"},"data_collection_id":{"type":"integer","title":"Data Collection Id"},"image_number":{"type":"integer","title":"Image Number"},"pixel_size":{"type":"number","title":"Pixel Size"},"dose_per_frame":{"type":"number","title":"Dose Per Frame"},"processing_job":{"type":"integer","title":"Processing Job"},"autoproc_program_id":{"type":"integer","title":"Autoproc Program Id"},"mc_uuid":{"type":"integer","title":"Mc Uuid"},"voltage":{"type":"number","title":"Voltage","default":300},"mc_binning":{"type":"integer","title":"Mc Binning","default":1},"gain_ref":{"type":"string","title":"Gain Ref"},"extract_downscale":{"type":"integer","title":"Extract Downscale","default":1},"eer_fractionation_file":{"type":"string","title":"Eer Fractionation File"},"group_tag":{"type":"string","title":"Group Tag"}},"type":"object","required":["path","description","tag","image_number","pixel_size","dose_per_frame"],"title":"ProcessFile"},"ProcessingDetails":{"properties":{"data_collection_group":{"$ref":"#/components/schemas/DataCollectionGroup"},"data_collections":{"items":{"$ref":"#/components/schemas/DataCollection"},"type":"array","title":"Data Collections"},"processing_jobs":{"items":{"$ref":"#/components/schemas/ProcessingJob"},"type":"array","title":"Processing Jobs"},"relion_params":{"$ref":"#/components/schemas/SPARelionParameters"},"feedback_params":{"$ref":"#/components/schemas/SPAFeedbackParameters"}},"type":"object","required":["data_collection_group","data_collections","processing_jobs","relion_params","feedback_params"],"title":"ProcessingDetails"},"ProcessingJob":{"properties":{"id":{"type":"integer","title":"Id"},"recipe":{"type":"string","title":"Recipe"},"dc_id":{"type":"integer","title":"Dc Id"}},"type":"object","required":["id","recipe","dc_id"],"title":"ProcessingJob"},"ProcessingJobParameters":{"properties":{"tag":{"type":"string","title":"Tag"},"recipe":{"type":"string","title":"Recipe"},"parameters":{"type":"object","title":"Parameters","default":{}},"experiment_type":{"type":"string","title":"Experiment Type","default":"spa"}},"type":"object","required":["tag","recipe"],"title":"ProcessingJobParameters"},"ProcessingParametersSPA":{"properties":{"tag":{"type":"string","title":"Tag"},"dose_per_frame":{"type":"number","title":"Dose Per Frame"},"gain_ref":{"type":"string","title":"Gain Ref"},"experiment_type":{"type":"string","title":"Experiment Type"},"voltage":{"type":"number","title":"Voltage"},"image_size_x":{"type":"integer","title":"Image Size X"},"image_size_y":{"type":"integer","title":"Image Size Y"},"pixel_size_on_image":{"type":"string","title":"Pixel Size On Image"},"motion_corr_binning":{"type":"integer","title":"Motion Corr Binning"},"file_extension":{"type":"string","title":"File Extension"},"acquisition_software":{"type":"string","title":"Acquisition Software"},"use_cryolo":{"type":"boolean","title":"Use Cryolo"},"symmetry":{"type":"string","title":"Symmetry"},"mask_diameter":{"type":"integer","title":"Mask Diameter"},"boxsize":{"type":"integer","title":"Boxsize"},"downscale":{"type":"boolean","title":"Downscale"},"small_boxsize":{"type":"integer","title":"Small Boxsize"},"eer_fractionation":{"type":"integer","title":"Eer Fractionation"},"particle_diameter":{"type":"number","title":"Particle Diameter"},"magnification":{"type":"integer","title":"Magnification"},"total_exposed_dose":{"type":"number","title":"Total Exposed Dose"},"c2aperture":{"type":"number","title":"C2Aperture"},"exposure_time":{"type":"number","title":"Exposure Time"},"slit_width":{"type":"number","title":"Slit Width"},"phase_plate":{"type":"boolean","title":"Phase Plate","default":false}},"type":"object","required":["tag","dose_per_frame","experiment_type","voltage","image_size_x","image_size_y","pixel_size_on_image","motion_corr_binning","file_extension","acquisition_software","use_cryolo","symmetry","downscale","eer_fractionation"],"title":"ProcessingParametersSPA"},"ProcessingParametersTomo":{"properties":{"manual_tilt_offset":{"type":"integer","title":"Manual Tilt Offset"},"tag":{"type":"string","title":"Tag"},"tilt_series_tag":{"type":"string","title":"Tilt Series Tag"}},"type":"object","required":["manual_tilt_offset","tag","tilt_series_tag"],"title":"ProcessingParametersTomo"},"ProvidedProcessingParameters":{"properties":{"dose_per_frame":{"type":"number","title":"Dose Per Frame"},"extract_downscale":{"type":"boolean","title":"Extract Downscale","default":true},"particle_diameter":{"type":"number","title":"Particle Diameter"},"symmetry":{"type":"string","title":"Symmetry","default":"C1"},"eer_fractionation":{"type":"integer","title":"Eer Fractionation","default":20}},"type":"object","required":["dose_per_frame"],"title":"ProvidedProcessingParameters"},"RegistrationMessage":{"properties":{"registration":{"type":"string","title":"Registration"},"params":{"type":"object","title":"Params"}},"type":"object","required":["registration"],"title":"RegistrationMessage"},"RsyncInstance":{"properties":{"source":{"type":"string","title":"Source"},"destination":{"type":"string","title":"Destination","default":""},"session_id":{"type":"integer","title":"Session Id"},"tag":{"type":"string","title":"Tag","default":""},"files_transferred":{"type":"integer","title":"Files Transferred","default":0},"files_counted":{"type":"integer","title":"Files Counted","default":0},"transferring":{"type":"boolean","title":"Transferring","default":false}},"type":"object","required":["source","session_id"],"title":"RsyncInstance"},"RsyncerInfo":{"properties":{"source":{"type":"string","title":"Source"},"destination":{"type":"string","title":"Destination"},"session_id":{"type":"integer","title":"Session Id"},"transferring":{"type":"boolean","title":"Transferring","default":true},"increment_count":{"type":"integer","title":"Increment Count","default":1},"bytes":{"type":"integer","title":"Bytes","default":0},"increment_data_count":{"type":"integer","title":"Increment Data Count","default":0},"data_bytes":{"type":"integer","title":"Data Bytes","default":0},"tag":{"type":"string","title":"Tag","default":""}},"type":"object","required":["source","destination","session_id"],"title":"RsyncerInfo"},"SPAFeedbackParameters":{"properties":{"pj_id":{"type":"integer","title":"Pj Id"},"estimate_particle_diameter":{"type":"boolean","title":"Estimate Particle Diameter","default":true},"hold_class2d":{"type":"boolean","title":"Hold Class2D","default":false},"rerun_class2d":{"type":"boolean","title":"Rerun Class2D","default":false},"hold_class3d":{"type":"boolean","title":"Hold Class3D","default":false},"hold_refine":{"type":"boolean","title":"Hold Refine","default":false},"class_selection_score":{"type":"number","title":"Class Selection Score"},"star_combination_job":{"type":"integer","title":"Star Combination Job"},"initial_model":{"type":"string","title":"Initial Model"},"next_job":{"type":"integer","title":"Next Job"},"picker_murfey_id":{"type":"integer","title":"Picker Murfey Id"},"picker_ispyb_id":{"type":"integer","title":"Picker Ispyb Id"}},"type":"object","required":["pj_id","class_selection_score","star_combination_job","initial_model","next_job"],"title":"SPAFeedbackParameters"},"SPAProcessFile":{"properties":{"tag":{"type":"string","title":"Tag"},"path":{"type":"string","title":"Path"},"description":{"type":"string","title":"Description"},"processing_job":{"type":"integer","title":"Processing Job"},"data_collection_id":{"type":"integer","title":"Data Collection Id"},"image_number":{"type":"integer","title":"Image Number"},"autoproc_program_id":{"type":"integer","title":"Autoproc Program Id"},"foil_hole_id":{"type":"integer","title":"Foil Hole Id"},"pixel_size":{"type":"number","title":"Pixel Size"},"dose_per_frame":{"type":"number","title":"Dose Per Frame"},"mc_binning":{"type":"integer","title":"Mc Binning","default":1},"gain_ref":{"type":"string","title":"Gain Ref"},"extract_downscale":{"type":"boolean","title":"Extract Downscale","default":true},"eer_fractionation_file":{"type":"string","title":"Eer Fractionation File"},"source":{"type":"string","title":"Source","default":""}},"type":"object","required":["tag","path","description","image_number"],"title":"SPAProcessFile"},"SPAProcessingParameters":{"properties":{"job_id":{"type":"integer","title":"Job Id"}},"type":"object","required":["job_id"],"title":"SPAProcessingParameters"},"SPARelionParameters":{"properties":{"pj_id":{"type":"integer","title":"Pj Id"},"angpix":{"type":"number","title":"Angpix"},"dose_per_frame":{"type":"number","title":"Dose Per Frame"},"gain_ref":{"type":"string","title":"Gain Ref"},"voltage":{"type":"integer","title":"Voltage"},"motion_corr_binning":{"type":"integer","title":"Motion Corr Binning"},"eer_grouping":{"type":"integer","title":"Eer Grouping"},"symmetry":{"type":"string","title":"Symmetry"},"particle_diameter":{"type":"number","title":"Particle Diameter"},"downscale":{"type":"boolean","title":"Downscale"},"do_icebreaker_jobs":{"type":"boolean","title":"Do Icebreaker Jobs","default":true},"boxsize":{"type":"integer","title":"Boxsize","default":256},"small_boxsize":{"type":"integer","title":"Small Boxsize","default":64},"mask_diameter":{"type":"number","title":"Mask Diameter","default":190}},"type":"object","required":["pj_id","angpix","dose_per_frame","voltage","motion_corr_binning","eer_grouping","symmetry","downscale"],"title":"SPARelionParameters"},"Session":{"properties":{"id":{"type":"integer","title":"Id"},"name":{"type":"string","title":"Name"},"visit":{"type":"string","title":"Visit","default":""},"started":{"type":"boolean","title":"Started","default":false}},"type":"object","required":["id","name"],"title":"Session"},"SessionClients":{"properties":{"session":{"$ref":"#/components/schemas/Session"},"clients":{"items":{"$ref":"#/components/schemas/ClientEnvironment"},"type":"array","title":"Clients"}},"type":"object","required":["session","clients"],"title":"SessionClients"},"SessionInfo":{"properties":{"session_id":{"type":"integer","title":"Session Id"},"session_name":{"type":"string","title":"Session Name","default":""},"rescale":{"type":"boolean","title":"Rescale","default":true}},"type":"object","title":"SessionInfo"},"SmartEMAtlasRequest":{"properties":{"atlas_path":{"type":"string","format":"path","title":"Atlas Path"},"output_dir":{"type":"string","format":"path","title":"Output Dir"},"num_preds":{"type":"integer","title":"Num Preds","default":15},"cpus":{"type":"integer","title":"Cpus","default":4}},"type":"object","required":["atlas_path","output_dir"],"title":"SmartEMAtlasRequest"},"Source":{"properties":{"rsync_source":{"type":"string","title":"Rsync Source"}},"type":"object","required":["rsync_source"],"title":"Source"},"SuggestedPathParameters":{"properties":{"base_path":{"type":"string","format":"path","title":"Base Path"},"touch":{"type":"boolean","title":"Touch","default":false},"extra_directory":{"type":"string","title":"Extra Directory","default":""}},"type":"object","required":["base_path"],"title":"SuggestedPathParameters"},"Tag":{"properties":{"tag":{"type":"string","title":"Tag"}},"type":"object","required":["tag"],"title":"Tag"},"TiltInfo":{"properties":{"tilt_series_tag":{"type":"string","title":"Tilt Series Tag"},"movie_path":{"type":"string","title":"Movie Path"},"source":{"type":"string","title":"Source"}},"type":"object","required":["tilt_series_tag","movie_path","source"],"title":"TiltInfo"},"TiltSeriesGroupInfo":{"properties":{"tags":{"items":{"type":"string"},"type":"array","title":"Tags"},"source":{"type":"string","title":"Source"},"tilt_series_lengths":{"items":{"type":"integer"},"type":"array","title":"Tilt Series Lengths"}},"type":"object","required":["tags","source","tilt_series_lengths"],"title":"TiltSeriesGroupInfo"},"TiltSeriesInfo":{"properties":{"session_id":{"type":"integer","title":"Session Id"},"tag":{"type":"string","title":"Tag"},"source":{"type":"string","title":"Source"}},"type":"object","required":["session_id","tag","source"],"title":"TiltSeriesInfo"},"Token":{"properties":{"access_token":{"type":"string","title":"Access Token"},"token_type":{"type":"string","title":"Token Type"}},"type":"object","required":["access_token","token_type"],"title":"Token"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"Visit":{"properties":{"start":{"type":"string","format":"date-time","title":"Start"},"end":{"type":"string","format":"date-time","title":"End"},"session_id":{"type":"integer","title":"Session Id"},"name":{"type":"string","title":"Name"},"beamline":{"type":"string","title":"Beamline"},"proposal_title":{"type":"string","title":"Proposal Title"}},"type":"object","required":["start","end","session_id","name","beamline","proposal_title"],"title":"Visit"}},"securitySchemes":{"OAuth2PasswordBearer":{"type":"oauth2","flows":{"password":{"scopes":{},"tokenUrl":"token"}}}}},"tags":[{"name":"bootstrap","description":"\nAPI endpoints related to installing Murfey on a client.\n\nClient machines may not have a direct internet connection, so Murfey allows\npassing through requests to PyPI using the PEP 503 simple API, and download\nrequests to the Cygwin website and mirrors.\n\nA static HTML page gives instructions on how to install on a network-isolated\nsystem that has Python already installed. A previously set up system does not\nneed to have pip installed in order to bootstrap Murfey. Python and rsync are\nrequired.\n","externalDocs":{"description":"PEP 503","url":"https://www.python.org/dev/peps/pep-0503/"}}]}