flywheel-sdk 21.4.0__py3-none-any.whl → 21.4.0rc0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- flywheel/api/acquisitions_api.py +562 -1033
- flywheel/api/analyses_api.py +425 -786
- flywheel/api/audit_trail_api.py +44 -78
- flywheel/api/auth_api.py +4 -6
- flywheel/api/batch_api.py +36 -60
- flywheel/api/bulk_api.py +6 -10
- flywheel/api/change_log_api.py +22 -40
- flywheel/api/collections_api.py +403 -740
- flywheel/api/config_api.py +12 -18
- flywheel/api/container_tasks_api.py +8 -14
- flywheel/api/container_type_api.py +8 -14
- flywheel/api/containers_api.py +538 -989
- flywheel/api/custom_filters_api.py +36 -64
- flywheel/api/data_view_executions_api.py +52 -94
- flywheel/api/dataexplorer_api.py +90 -158
- flywheel/api/devices_api.py +76 -132
- flywheel/api/dimse_api.py +44 -72
- flywheel/api/download_api.py +25 -46
- flywheel/api/files_api.py +150 -266
- flywheel/api/form_responses_api.py +56 -100
- flywheel/api/gears_api.py +156 -278
- flywheel/api/groups_api.py +238 -426
- flywheel/api/jobs_api.py +166 -288
- flywheel/api/jupyterlab_servers_api.py +14 -24
- flywheel/api/modalities_api.py +44 -78
- flywheel/api/packfiles_api.py +4 -6
- flywheel/api/projects_api.py +854 -1565
- flywheel/api/protocols_api.py +54 -94
- flywheel/api/reports_api.py +108 -196
- flywheel/api/resolve_api.py +26 -48
- flywheel/api/roles_api.py +46 -82
- flywheel/api/sessions_api.py +616 -1137
- flywheel/api/site_api.py +106 -182
- flywheel/api/staffing_pools_api.py +50 -88
- flywheel/api/subjects_api.py +596 -1095
- flywheel/api/tasks_api.py +62 -108
- flywheel/api/tree_api.py +28 -52
- flywheel/api/uids_api.py +6 -10
- flywheel/api/upload_api.py +88 -162
- flywheel/api/users_api.py +228 -418
- flywheel/api/views_api.py +120 -222
- flywheel/api_client.py +1 -1
- flywheel/configuration.py +2 -2
- flywheel/flywheel.py +4422 -811
- flywheel/models/access_permission.py +7 -13
- flywheel/models/access_permission_output.py +7 -13
- flywheel/models/access_permission_update.py +4 -8
- flywheel/models/acquisition_copy_input.py +10 -18
- flywheel/models/acquisition_input.py +19 -33
- flywheel/models/acquisition_list_output.py +70 -118
- flywheel/models/acquisition_modify_input.py +19 -33
- flywheel/models/acquisition_output.py +70 -118
- flywheel/models/acquisition_parents.py +13 -23
- flywheel/models/acquisition_template_options.py +16 -28
- flywheel/models/acquisition_upsert_input.py +28 -48
- flywheel/models/acquisition_upsert_output.py +13 -23
- flywheel/models/adhoc_analysis_input.py +13 -23
- flywheel/models/analysis_files_create_ticket_output.py +13 -23
- flywheel/models/analysis_input.py +19 -33
- flywheel/models/analysis_list_output.py +61 -103
- flywheel/models/analysis_list_output_inflated_job.py +58 -98
- flywheel/models/analysis_modify_input.py +7 -13
- flywheel/models/analysis_output.py +61 -103
- flywheel/models/analysis_output_inflated_job.py +61 -103
- flywheel/models/analysis_parents.py +16 -28
- flywheel/models/api_key_input_with_optional_label.py +7 -13
- flywheel/models/api_key_output.py +19 -33
- flywheel/models/as_storage.py +19 -33
- flywheel/models/assignee.py +7 -13
- flywheel/models/audit_trail_report.py +40 -68
- flywheel/models/auth0_auth_out.py +22 -38
- flywheel/models/auth0_options_out.py +22 -38
- flywheel/models/auth_out.py +19 -33
- flywheel/models/auth_session_output.py +16 -28
- flywheel/models/avatars.py +10 -18
- flywheel/models/aws_creds.py +7 -13
- flywheel/models/aws_storage.py +25 -43
- flywheel/models/azure_creds.py +7 -13
- flywheel/models/base_aet.py +13 -23
- flywheel/models/base_compute.py +34 -58
- flywheel/models/batch.py +25 -43
- flywheel/models/batch_create_filters.py +10 -18
- flywheel/models/batch_job_analysis_input.py +16 -28
- flywheel/models/bookmark.py +7 -13
- flywheel/models/bulk_move_input.py +16 -28
- flywheel/models/cancelled_batch_output.py +4 -8
- flywheel/models/catalog_list_output.py +31 -53
- flywheel/models/central_out.py +19 -33
- flywheel/models/change.py +31 -53
- flywheel/models/change_log_document.py +13 -23
- flywheel/models/classic_batch_job_output.py +25 -43
- flywheel/models/classic_batch_job_output_inflated_jobs.py +28 -48
- flywheel/models/classic_batch_proposal_input.py +28 -48
- flywheel/models/classic_batch_proposal_output.py +37 -63
- flywheel/models/collection_input.py +10 -18
- flywheel/models/collection_input_with_contents.py +13 -23
- flywheel/models/collection_node.py +7 -13
- flywheel/models/collection_operation.py +7 -13
- flywheel/models/collection_output.py +55 -93
- flywheel/models/collection_with_stats.py +55 -93
- flywheel/models/column.py +16 -28
- flywheel/models/common_classification.py +1 -3
- flywheel/models/common_info.py +1 -3
- flywheel/models/complete_multipart_upload_output.py +7 -13
- flywheel/models/complete_s3_multipart_upload_input.py +13 -23
- flywheel/models/config_out.py +28 -48
- flywheel/models/container_filter.py +7 -13
- flywheel/models/container_id_view_input.py +43 -73
- flywheel/models/container_id_view_input_execute_and_save.py +19 -33
- flywheel/models/container_modify.py +43 -73
- flywheel/models/container_node_min.py +25 -43
- flywheel/models/container_output_with_files.py +16 -28
- flywheel/models/container_parents.py +19 -33
- flywheel/models/container_pipeline_input.py +43 -73
- flywheel/models/container_reference.py +7 -13
- flywheel/models/container_reference_with_label.py +10 -18
- flywheel/models/container_uidcheck.py +13 -23
- flywheel/models/container_update.py +1 -3
- flywheel/models/context_input.py +10 -18
- flywheel/models/copy_filter.py +19 -33
- flywheel/models/core_models_api_key_api_key_input.py +7 -13
- flywheel/models/core_models_audit_trail_create_report_input.py +16 -28
- flywheel/models/core_models_audit_trail_modify_report_input.py +4 -8
- flywheel/models/core_models_common_source.py +7 -13
- flywheel/models/core_models_jobs_api_key_input.py +7 -13
- flywheel/models/core_workflows_form_responses_models_form_parents.py +19 -33
- flywheel/models/core_workflows_form_responses_models_form_response_output.py +34 -58
- flywheel/models/core_workflows_reader_models_reader_task_parents.py +19 -33
- flywheel/models/creds.py +1 -3
- flywheel/models/curator.py +10 -18
- flywheel/models/current_user_output.py +64 -108
- flywheel/models/custom_field.py +34 -58
- flywheel/models/custom_form.py +13 -23
- flywheel/models/cvat_info.py +16 -28
- flywheel/models/cvat_settings.py +16 -28
- flywheel/models/cvat_settings_input.py +16 -28
- flywheel/models/daily_report_usage.py +46 -78
- flywheel/models/data_view_analysis_file_spec.py +10 -18
- flywheel/models/data_view_analysis_filter_spec.py +10 -18
- flywheel/models/data_view_column_alias.py +22 -38
- flywheel/models/data_view_column_spec.py +16 -28
- flywheel/models/data_view_execution.py +40 -68
- flywheel/models/data_view_file_spec.py +28 -48
- flywheel/models/data_view_group_by.py +4 -8
- flywheel/models/data_view_group_by_column.py +7 -13
- flywheel/models/data_view_name_filter_spec.py +7 -13
- flywheel/models/data_view_zip_filter_spec.py +10 -18
- flywheel/models/delete_by_search_query.py +13 -23
- flywheel/models/deleted_file.py +43 -73
- flywheel/models/deleted_result.py +10 -18
- flywheel/models/device.py +34 -58
- flywheel/models/device_admin_update.py +7 -13
- flywheel/models/device_create.py +10 -18
- flywheel/models/device_self_update.py +16 -28
- flywheel/models/device_status_entry.py +10 -18
- flywheel/models/device_storage_strategy_update.py +7 -13
- flywheel/models/download.py +13 -23
- flywheel/models/download_container_filter.py +4 -8
- flywheel/models/download_container_filter_definition.py +10 -18
- flywheel/models/download_filter.py +10 -18
- flywheel/models/download_filter_definition.py +7 -13
- flywheel/models/download_node.py +7 -13
- flywheel/models/download_ticket_stub.py +13 -23
- flywheel/models/e_signature.py +13 -23
- flywheel/models/edition.py +4 -8
- flywheel/models/egress_device.py +52 -88
- flywheel/models/egress_device_page.py +10 -18
- flywheel/models/egress_provider.py +31 -53
- flywheel/models/egress_provider_id.py +4 -8
- flywheel/models/exchange_storage.py +13 -23
- flywheel/models/executor_info.py +25 -43
- flywheel/models/export_templates.py +7 -13
- flywheel/models/features.py +193 -323
- flywheel/models/field_change.py +16 -28
- flywheel/models/field_change_log_document.py +13 -23
- flywheel/models/file.py +112 -188
- flywheel/models/file_classification_delta.py +13 -23
- flywheel/models/file_entry.py +64 -108
- flywheel/models/file_export_templates.py +16 -28
- flywheel/models/file_gear_info.py +10 -18
- flywheel/models/file_list_output.py +109 -183
- flywheel/models/file_modify_input.py +7 -13
- flywheel/models/file_move_input.py +10 -18
- flywheel/models/file_node.py +112 -188
- flywheel/models/file_node_min.py +22 -38
- flywheel/models/file_origin.py +16 -28
- flywheel/models/file_output.py +109 -183
- flywheel/models/file_parents.py +19 -33
- flywheel/models/file_reference.py +10 -18
- flywheel/models/file_suggestion.py +13 -23
- flywheel/models/file_template_options.py +19 -33
- flywheel/models/file_upsert_input.py +52 -88
- flywheel/models/file_upsert_output.py +112 -188
- flywheel/models/file_version.py +7 -13
- flywheel/models/file_version_copy_of.py +16 -28
- flywheel/models/file_version_output.py +22 -38
- flywheel/models/file_via.py +13 -23
- flywheel/models/filter.py +25 -43
- flywheel/models/filter_input.py +10 -18
- flywheel/models/filter_values.py +7 -13
- flywheel/models/fixed_file_version_input.py +10 -18
- flywheel/models/fixed_input.py +19 -33
- flywheel/models/form_definition.py +4 -8
- flywheel/models/form_response_base.py +19 -33
- flywheel/models/form_response_create.py +7 -13
- flywheel/models/gcp_creds.py +31 -53
- flywheel/models/gcp_storage.py +19 -33
- flywheel/models/gear.py +52 -88
- flywheel/models/gear_config.py +1 -3
- flywheel/models/gear_context_input.py +4 -8
- flywheel/models/gear_context_value_output.py +16 -28
- flywheel/models/gear_context_value_output_unfound.py +4 -8
- flywheel/models/gear_custom.py +1 -3
- flywheel/models/gear_directive.py +1 -3
- flywheel/models/gear_document.py +22 -38
- flywheel/models/gear_document_input.py +19 -33
- flywheel/models/gear_document_legacy_input.py +19 -33
- flywheel/models/gear_environment.py +1 -3
- flywheel/models/gear_exchange.py +10 -18
- flywheel/models/gear_file_input.py +7 -13
- flywheel/models/gear_id_output.py +4 -8
- flywheel/models/gear_info.py +13 -23
- flywheel/models/gear_input_item.py +10 -18
- flywheel/models/gear_inputs.py +1 -3
- flywheel/models/gear_key_input.py +7 -13
- flywheel/models/gear_manifest.py +55 -93
- flywheel/models/gear_node.py +25 -43
- flywheel/models/gear_output_configuration.py +4 -8
- flywheel/models/gear_permissions.py +7 -13
- flywheel/models/gear_permissions_input.py +4 -8
- flywheel/models/gear_rule.py +61 -103
- flywheel/models/gear_rule_condition.py +10 -18
- flywheel/models/gear_rule_input.py +46 -78
- flywheel/models/gear_rule_modify_input.py +43 -73
- flywheel/models/gear_rule_output.py +61 -103
- flywheel/models/gear_save_submission.py +10 -18
- flywheel/models/gear_series.py +19 -33
- flywheel/models/gear_series_update.py +4 -8
- flywheel/models/gear_suggestion_output.py +19 -33
- flywheel/models/gear_ticket.py +13 -23
- flywheel/models/gear_ticket_output.py +4 -8
- flywheel/models/graph_filter.py +22 -38
- flywheel/models/group_by.py +4 -8
- flywheel/models/group_input.py +13 -23
- flywheel/models/group_output.py +37 -63
- flywheel/models/group_report.py +10 -18
- flywheel/models/group_role.py +4 -8
- flywheel/models/group_settings_output.py +13 -23
- flywheel/models/group_update.py +13 -23
- flywheel/models/hierarchy_export_templates.py +16 -28
- flywheel/models/http_validation_error.py +4 -8
- flywheel/models/info.py +10 -18
- flywheel/models/ingress_provider.py +19 -33
- flywheel/models/ingress_providers.py +16 -28
- flywheel/models/ingress_site_settings.py +16 -28
- flywheel/models/ingress_update_provider.py +10 -18
- flywheel/models/inline_response200.py +4 -8
- flywheel/models/inline_response2001.py +4 -8
- flywheel/models/inline_response2002.py +4 -8
- flywheel/models/input_filter.py +10 -18
- flywheel/models/input_job.py +43 -73
- flywheel/models/input_job_profile.py +16 -28
- flywheel/models/inserted_id.py +4 -8
- flywheel/models/job.py +76 -128
- flywheel/models/job_analysis_input.py +16 -28
- flywheel/models/job_ask.py +19 -33
- flywheel/models/job_ask_response.py +7 -13
- flywheel/models/job_ask_response_job.py +94 -158
- flywheel/models/job_ask_return_criteria.py +13 -23
- flywheel/models/job_ask_state_response.py +4 -8
- flywheel/models/job_complete.py +10 -18
- flywheel/models/job_config.py +1 -3
- flywheel/models/job_config_input.py +16 -28
- flywheel/models/job_destination.py +7 -13
- flywheel/models/job_detail.py +88 -148
- flywheel/models/job_detail_container.py +7 -13
- flywheel/models/job_detail_file_entry.py +7 -13
- flywheel/models/job_detail_group.py +7 -13
- flywheel/models/job_detail_parent_info.py +19 -33
- flywheel/models/job_executor_info.py +25 -43
- flywheel/models/job_file_input.py +13 -23
- flywheel/models/job_file_input_list_output.py +13 -23
- flywheel/models/job_file_object.py +34 -58
- flywheel/models/job_file_object_list_output.py +31 -53
- flywheel/models/job_inputs_array_item.py +19 -33
- flywheel/models/job_inputs_item.py +13 -23
- flywheel/models/job_inputs_object.py +1 -3
- flywheel/models/job_list_output.py +94 -158
- flywheel/models/job_list_output_config.py +10 -18
- flywheel/models/job_log.py +7 -13
- flywheel/models/job_log_record.py +7 -13
- flywheel/models/job_modify.py +7 -13
- flywheel/models/job_origin.py +7 -13
- flywheel/models/job_output.py +97 -163
- flywheel/models/job_output_config.py +13 -23
- flywheel/models/job_parents.py +19 -33
- flywheel/models/job_priority_update.py +7 -13
- flywheel/models/job_profile.py +31 -53
- flywheel/models/job_request.py +10 -18
- flywheel/models/job_request_item.py +13 -23
- flywheel/models/job_request_target.py +16 -28
- flywheel/models/job_ticket_output.py +4 -8
- flywheel/models/job_transition_times.py +13 -23
- flywheel/models/job_version_info.py +1 -3
- flywheel/models/jobs_by_state.py +16 -28
- flywheel/models/jobs_list.py +4 -8
- flywheel/models/join_origin_device.py +4 -8
- flywheel/models/join_origin_job.py +10 -18
- flywheel/models/join_origin_user.py +7 -13
- flywheel/models/join_origins.py +10 -18
- flywheel/models/jupyterhub_workspace.py +4 -8
- flywheel/models/jupyterlab_server_modify.py +16 -28
- flywheel/models/jupyterlab_server_response.py +31 -53
- flywheel/models/ldap_sync_config.py +4 -8
- flywheel/models/ldap_sync_status.py +13 -23
- flywheel/models/legacy_api_key_output.py +16 -28
- flywheel/models/legacy_input.py +13 -23
- flywheel/models/legacy_usage_report.py +19 -33
- flywheel/models/legacys_usage_project_entry.py +7 -13
- flywheel/models/libs_viewer_config_models_viewer_config.py +7 -13
- flywheel/models/local_storage.py +10 -18
- flywheel/models/location.py +7 -13
- flywheel/models/locked.py +10 -18
- flywheel/models/master_subject_code_dob_input.py +16 -28
- flywheel/models/master_subject_code_input.py +16 -28
- flywheel/models/master_subject_code_output.py +4 -8
- flywheel/models/matched_acquisition_output.py +43 -73
- flywheel/models/measurement_config.py +10 -18
- flywheel/models/measurement_item_config.py +10 -18
- flywheel/models/mfa_settings.py +4 -8
- flywheel/models/ml_set_filter.py +7 -13
- flywheel/models/modality.py +13 -23
- flywheel/models/modality_input.py +13 -23
- flywheel/models/modality_modify.py +10 -18
- flywheel/models/modality_output.py +16 -28
- flywheel/models/modified_result.py +7 -13
- flywheel/models/modify_user_input.py +37 -63
- flywheel/models/move_conflict.py +19 -33
- flywheel/models/note.py +28 -48
- flywheel/models/note_input.py +4 -8
- flywheel/models/origin.py +7 -13
- flywheel/models/orphaned_count.py +4 -8
- flywheel/models/output_user_page.py +10 -18
- flywheel/models/packfile_cleanup_output.py +4 -8
- flywheel/models/packfile_removed_output.py +7 -13
- flywheel/models/page.py +10 -18
- flywheel/models/page_generic_file_output.py +10 -18
- flywheel/models/page_generic_filter.py +10 -18
- flywheel/models/page_generic_form_response_output.py +10 -18
- flywheel/models/page_generic_protocol.py +13 -23
- flywheel/models/page_generic_reader_task_output.py +13 -23
- flywheel/models/page_generic_staffing_pool.py +13 -23
- flywheel/models/parsed_query_response.py +7 -13
- flywheel/models/premade_jobs_batch_job_output.py +19 -33
- flywheel/models/premade_jobs_batch_job_output_inflated_jobs.py +19 -33
- flywheel/models/premade_jobs_batch_proposal.py +22 -38
- flywheel/models/premade_jobs_batch_proposal_detail.py +4 -8
- flywheel/models/premade_jobs_batch_proposal_input.py +4 -8
- flywheel/models/project_aet.py +22 -38
- flywheel/models/project_aet_input.py +13 -23
- flywheel/models/project_contact.py +7 -13
- flywheel/models/project_copy_input.py +13 -23
- flywheel/models/project_copy_output.py +10 -18
- flywheel/models/project_counters.py +28 -48
- flywheel/models/project_delete_status_output.py +7 -13
- flywheel/models/project_group_info.py +7 -13
- flywheel/models/project_hierarchy_input.py +16 -28
- flywheel/models/project_hierarchy_output.py +10 -18
- flywheel/models/project_input.py +28 -48
- flywheel/models/project_institution.py +7 -13
- flywheel/models/project_list_output.py +94 -158
- flywheel/models/project_modify.py +37 -63
- flywheel/models/project_output.py +94 -158
- flywheel/models/project_parents.py +4 -8
- flywheel/models/project_report.py +37 -63
- flywheel/models/project_report_list.py +4 -8
- flywheel/models/project_settings_input.py +22 -38
- flywheel/models/project_settings_output.py +22 -38
- flywheel/models/project_settings_sharing.py +22 -38
- flywheel/models/project_settings_sharing_input.py +22 -38
- flywheel/models/project_settings_workspaces.py +4 -8
- flywheel/models/project_settings_workspaces_input.py +4 -8
- flywheel/models/project_stats.py +16 -28
- flywheel/models/project_template.py +7 -13
- flywheel/models/project_template_input.py +7 -13
- flywheel/models/project_template_list_input.py +4 -8
- flywheel/models/protocol.py +46 -78
- flywheel/models/protocol_e_signature_config.py +7 -13
- flywheel/models/protocol_input.py +25 -43
- flywheel/models/protocol_modify.py +16 -28
- flywheel/models/provider.py +37 -63
- flywheel/models/provider_deletion_status.py +7 -13
- flywheel/models/provider_links.py +16 -28
- flywheel/models/providers.py +16 -28
- flywheel/models/reader_batch_create.py +37 -63
- flywheel/models/reader_task.py +67 -113
- flywheel/models/reader_task_config.py +10 -18
- flywheel/models/reader_task_create.py +46 -78
- flywheel/models/reader_task_modify.py +19 -33
- flywheel/models/reader_task_output.py +70 -118
- flywheel/models/reader_task_parent_details.py +22 -38
- flywheel/models/report_access_log_context.py +19 -33
- flywheel/models/report_access_log_context_entry.py +7 -13
- flywheel/models/report_access_log_context_file_entry.py +4 -8
- flywheel/models/report_access_log_entry.py +52 -88
- flywheel/models/report_access_log_origin.py +7 -13
- flywheel/models/report_availability_list.py +4 -8
- flywheel/models/report_daily_usage_entry.py +40 -68
- flywheel/models/report_ethnicity_grid.py +13 -23
- flywheel/models/report_gender_count.py +10 -18
- flywheel/models/report_group_report.py +10 -18
- flywheel/models/report_site.py +7 -13
- flywheel/models/report_time_period.py +7 -13
- flywheel/models/report_usage.py +52 -88
- flywheel/models/resolve_input.py +4 -8
- flywheel/models/resolve_output.py +7 -13
- flywheel/models/resolver_node.py +4 -8
- flywheel/models/role_input.py +7 -13
- flywheel/models/role_output.py +16 -28
- flywheel/models/role_permission.py +7 -13
- flywheel/models/role_permission_output.py +7 -13
- flywheel/models/role_permission_update.py +4 -8
- flywheel/models/role_update.py +7 -13
- flywheel/models/roles_role_assignment.py +7 -13
- flywheel/models/rule.py +37 -63
- flywheel/models/rule_any.py +10 -18
- flywheel/models/s3_compat_storage.py +28 -48
- flywheel/models/save_search.py +19 -33
- flywheel/models/save_search_input.py +10 -18
- flywheel/models/save_search_output.py +19 -33
- flywheel/models/save_search_page.py +10 -18
- flywheel/models/save_search_parent.py +7 -13
- flywheel/models/save_search_update.py +7 -13
- flywheel/models/search_acquisition_response.py +13 -23
- flywheel/models/search_analysis_response.py +13 -23
- flywheel/models/search_collection_response.py +13 -23
- flywheel/models/search_file_response.py +19 -33
- flywheel/models/search_group_response.py +7 -13
- flywheel/models/search_parent_response.py +7 -13
- flywheel/models/search_parse_error.py +13 -23
- flywheel/models/search_project_response.py +7 -13
- flywheel/models/search_query.py +22 -38
- flywheel/models/search_response.py +34 -58
- flywheel/models/search_session_response.py +13 -23
- flywheel/models/search_status.py +4 -8
- flywheel/models/search_subject_response.py +10 -18
- flywheel/models/select_item.py +7 -13
- flywheel/models/server_state.py +19 -33
- flywheel/models/service_aet.py +19 -33
- flywheel/models/service_aet_input.py +16 -28
- flywheel/models/session_copy_input.py +13 -23
- flywheel/models/session_embedded_subject.py +19 -33
- flywheel/models/session_input.py +34 -58
- flywheel/models/session_list_output.py +85 -143
- flywheel/models/session_modify.py +37 -63
- flywheel/models/session_output.py +85 -143
- flywheel/models/session_parents.py +10 -18
- flywheel/models/session_template_options.py +10 -18
- flywheel/models/session_template_recalc_output.py +4 -8
- flywheel/models/session_upsert_input.py +37 -63
- flywheel/models/session_upsert_output.py +13 -23
- flywheel/models/sharing_filter_options.py +25 -43
- flywheel/models/signed_fs_upload_output.py +7 -13
- flywheel/models/signed_url_cleanup_input.py +7 -13
- flywheel/models/signed_url_upload_input.py +7 -13
- flywheel/models/signed_url_upload_output.py +25 -43
- flywheel/models/site.py +55 -93
- flywheel/models/site_report.py +7 -13
- flywheel/models/site_settings.py +28 -48
- flywheel/models/sort.py +7 -13
- flywheel/models/staffing_pool.py +22 -38
- flywheel/models/staffing_pool_create.py +10 -18
- flywheel/models/staffing_pool_list.py +4 -8
- flywheel/models/staffing_pool_modify.py +10 -18
- flywheel/models/static_compute.py +10 -18
- flywheel/models/status_transitions.py +13 -23
- flywheel/models/storage_strategy_config.py +7 -13
- flywheel/models/structured_query.py +4 -8
- flywheel/models/structured_query_suggestions.py +7 -13
- flywheel/models/structured_query_value_suggestion.py +13 -23
- flywheel/models/subject_copy_input.py +10 -18
- flywheel/models/subject_input.py +55 -93
- flywheel/models/subject_modify.py +61 -103
- flywheel/models/subject_output.py +97 -163
- flywheel/models/subject_output_for_list.py +97 -163
- flywheel/models/subject_parents.py +7 -13
- flywheel/models/subject_role_permission.py +7 -13
- flywheel/models/subject_template_options.py +7 -13
- flywheel/models/subject_upsert_input.py +49 -83
- flywheel/models/subject_upsert_output.py +10 -18
- flywheel/models/sync_user_input.py +22 -38
- flywheel/models/tag.py +4 -8
- flywheel/models/task_assign.py +7 -13
- flywheel/models/task_parent_ref.py +13 -23
- flywheel/models/task_parent_ref_input.py +10 -18
- flywheel/models/task_submission.py +7 -13
- flywheel/models/toolbar_config.py +4 -8
- flywheel/models/transitions.py +16 -28
- flywheel/models/tree_container_request_spec.py +16 -28
- flywheel/models/tree_graph.py +1 -3
- flywheel/models/tree_graph_connection.py +13 -23
- flywheel/models/tree_graph_connections.py +1 -3
- flywheel/models/tree_graph_node.py +4 -8
- flywheel/models/tree_response_item.py +1 -3
- flywheel/models/uid_check_input_acquisitions.py +13 -23
- flywheel/models/uid_check_input_sessions.py +13 -23
- flywheel/models/uid_check_output.py +7 -13
- flywheel/models/upload_ticket_output.py +10 -18
- flywheel/models/upload_token_output.py +4 -8
- flywheel/models/user.py +67 -113
- flywheel/models/user_api_key.py +10 -18
- flywheel/models/user_input.py +37 -63
- flywheel/models/user_jobs.py +10 -18
- flywheel/models/user_output_id.py +4 -8
- flywheel/models/user_preferences.py +1 -3
- flywheel/models/user_wechat.py +1 -3
- flywheel/models/validation_error.py +10 -18
- flywheel/models/validation_rule.py +7 -13
- flywheel/models/version.py +25 -43
- flywheel/models/view_id_output.py +4 -8
- flywheel/models/view_output.py +34 -58
- flywheel/models/viewer_app.py +28 -48
- flywheel/models/viewer_app_input.py +28 -48
- flywheel/models/virus_scan.py +4 -8
- flywheel/models/work_in_progress_features.py +1 -3
- flywheel/models/zipfile_info.py +7 -13
- flywheel/models/zipfile_member_info.py +13 -23
- {flywheel_sdk-21.4.0.dist-info → flywheel_sdk-21.4.0rc0.dist-info}/METADATA +1 -1
- flywheel_sdk-21.4.0rc0.dist-info/RECORD +778 -0
- flywheel_sdk-21.4.0.dist-info/RECORD +0 -778
- {flywheel_sdk-21.4.0.dist-info → flywheel_sdk-21.4.0rc0.dist-info}/WHEEL +0 -0
- {flywheel_sdk-21.4.0.dist-info → flywheel_sdk-21.4.0rc0.dist-info}/licenses/LICENSE.txt +0 -0
flywheel/api/upload_api.py
CHANGED
|
@@ -29,11 +29,9 @@ class UploadApi(object):
|
|
|
29
29
|
|
|
30
30
|
This method makes a synchronous HTTP request by default.
|
|
31
31
|
|
|
32
|
-
:param body:
|
|
33
|
-
:
|
|
34
|
-
:
|
|
35
|
-
:type async_: bool, optional
|
|
36
|
-
:rtype: None
|
|
32
|
+
:param SignedUrlCleanupInput body: (required)
|
|
33
|
+
:param bool async_: Perform the request asynchronously
|
|
34
|
+
:return: None
|
|
37
35
|
"""
|
|
38
36
|
ignore_simplified_return_value = kwargs.pop('_ignore_simplified_return_value', False)
|
|
39
37
|
kwargs['_return_http_data_only'] = True
|
|
@@ -56,11 +54,9 @@ class UploadApi(object):
|
|
|
56
54
|
|
|
57
55
|
This method makes a synchronous HTTP request by default.
|
|
58
56
|
|
|
59
|
-
:param body:
|
|
60
|
-
:
|
|
61
|
-
:
|
|
62
|
-
:type async_: bool, optional
|
|
63
|
-
:rtype: None
|
|
57
|
+
:param SignedUrlCleanupInput body: (required)
|
|
58
|
+
:param bool async_: Perform the request asynchronously
|
|
59
|
+
:return: None
|
|
64
60
|
"""
|
|
65
61
|
|
|
66
62
|
all_params = ['body',] # noqa: E501
|
|
@@ -140,11 +136,9 @@ class UploadApi(object):
|
|
|
140
136
|
Complete S3 uploads exceeding 5GB and create the final object in the bucket. Expected an upload id returned previously by the `POST /upload/signed-url` endpoint and the e-tags returned by S3 after uploaded each file part.
|
|
141
137
|
This method makes a synchronous HTTP request by default.
|
|
142
138
|
|
|
143
|
-
:param body:
|
|
144
|
-
:
|
|
145
|
-
:
|
|
146
|
-
:type async_: bool, optional
|
|
147
|
-
:rtype: CompleteMultipartUploadOutput
|
|
139
|
+
:param CompleteS3MultipartUploadInput body: (required)
|
|
140
|
+
:param bool async_: Perform the request asynchronously
|
|
141
|
+
:return: CompleteMultipartUploadOutput
|
|
148
142
|
"""
|
|
149
143
|
ignore_simplified_return_value = kwargs.pop('_ignore_simplified_return_value', False)
|
|
150
144
|
kwargs['_return_http_data_only'] = True
|
|
@@ -168,11 +162,9 @@ class UploadApi(object):
|
|
|
168
162
|
Complete S3 uploads exceeding 5GB and create the final object in the bucket. Expected an upload id returned previously by the `POST /upload/signed-url` endpoint and the e-tags returned by S3 after uploaded each file part.
|
|
169
163
|
This method makes a synchronous HTTP request by default.
|
|
170
164
|
|
|
171
|
-
:param body:
|
|
172
|
-
:
|
|
173
|
-
:
|
|
174
|
-
:type async_: bool, optional
|
|
175
|
-
:rtype: CompleteMultipartUploadOutput
|
|
165
|
+
:param CompleteS3MultipartUploadInput body: (required)
|
|
166
|
+
:param bool async_: Perform the request asynchronously
|
|
167
|
+
:return: CompleteMultipartUploadOutput
|
|
176
168
|
"""
|
|
177
169
|
|
|
178
170
|
all_params = ['body',] # noqa: E501
|
|
@@ -252,11 +244,9 @@ class UploadApi(object):
|
|
|
252
244
|
Return a signed upload URL for the requested storage provider_id. Multiple URLs are returned for S3 uploads exceeding 5GB.
|
|
253
245
|
This method makes a synchronous HTTP request by default.
|
|
254
246
|
|
|
255
|
-
:param body:
|
|
256
|
-
:
|
|
257
|
-
:
|
|
258
|
-
:type async_: bool, optional
|
|
259
|
-
:rtype: SignedUrlUploadOutput
|
|
247
|
+
:param SignedUrlUploadInput body: (required)
|
|
248
|
+
:param bool async_: Perform the request asynchronously
|
|
249
|
+
:return: SignedUrlUploadOutput
|
|
260
250
|
"""
|
|
261
251
|
ignore_simplified_return_value = kwargs.pop('_ignore_simplified_return_value', False)
|
|
262
252
|
kwargs['_return_http_data_only'] = True
|
|
@@ -280,11 +270,9 @@ class UploadApi(object):
|
|
|
280
270
|
Return a signed upload URL for the requested storage provider_id. Multiple URLs are returned for S3 uploads exceeding 5GB.
|
|
281
271
|
This method makes a synchronous HTTP request by default.
|
|
282
272
|
|
|
283
|
-
:param body:
|
|
284
|
-
:
|
|
285
|
-
:
|
|
286
|
-
:type async_: bool, optional
|
|
287
|
-
:rtype: SignedUrlUploadOutput
|
|
273
|
+
:param SignedUrlUploadInput body: (required)
|
|
274
|
+
:param bool async_: Perform the request asynchronously
|
|
275
|
+
:return: SignedUrlUploadOutput
|
|
288
276
|
"""
|
|
289
277
|
|
|
290
278
|
all_params = ['body',] # noqa: E501
|
|
@@ -364,25 +352,16 @@ class UploadApi(object):
|
|
|
364
352
|
### Default behavior: > For technical reasons, no form field names can be repeated. Instead, use (file1, file2) and so forth. > A non-file form field called \"metadata\" is also required, which must be a string containing JSON. > See ``api/schemas/input/labelupload.json`` for the format of this metadata. ### Signed URL upload with ``ticket`` > Upload a single file directly to the storage backend. The workflow is the following: - Send a request with an empty ``?ticket=`` query parameter to get an upload ticket and URL - Upload the file using a PUT request to the upload URL - Once done, send a POST request to this endpoint with the upload ticket to finalize the upload. The file will be placed into the DB via this POST request.
|
|
365
353
|
This method makes a synchronous HTTP request by default.
|
|
366
354
|
|
|
367
|
-
:param preserve_metadata
|
|
368
|
-
:
|
|
369
|
-
:param
|
|
370
|
-
:
|
|
371
|
-
:param
|
|
372
|
-
:
|
|
373
|
-
:param
|
|
374
|
-
:
|
|
375
|
-
:param
|
|
376
|
-
:
|
|
377
|
-
:param files:
|
|
378
|
-
:type files: str, optional
|
|
379
|
-
:param metadata: Metadata object
|
|
380
|
-
:type metadata: object, optional
|
|
381
|
-
:param content_type:
|
|
382
|
-
:type content_type: str, optional
|
|
383
|
-
:param async_: Perform the request asynchronously
|
|
384
|
-
:type async_: bool, optional
|
|
385
|
-
:rtype: union[list[File],UploadTicketOutput]
|
|
355
|
+
:param bool preserve_metadata:
|
|
356
|
+
:param str ticket: Use empty value to get a ticket, and provide the ticket id to finalize the upload
|
|
357
|
+
:param str id:
|
|
358
|
+
:param ContainerType level:
|
|
359
|
+
:param str job:
|
|
360
|
+
:param str files:
|
|
361
|
+
:param object metadata: Metadata object
|
|
362
|
+
:param str content_type:
|
|
363
|
+
:param bool async_: Perform the request asynchronously
|
|
364
|
+
:return: union[list[File],UploadTicketOutput]
|
|
386
365
|
"""
|
|
387
366
|
ignore_simplified_return_value = kwargs.pop('_ignore_simplified_return_value', False)
|
|
388
367
|
kwargs['_return_http_data_only'] = True
|
|
@@ -406,25 +385,16 @@ class UploadApi(object):
|
|
|
406
385
|
### Default behavior: > For technical reasons, no form field names can be repeated. Instead, use (file1, file2) and so forth. > A non-file form field called \"metadata\" is also required, which must be a string containing JSON. > See ``api/schemas/input/labelupload.json`` for the format of this metadata. ### Signed URL upload with ``ticket`` > Upload a single file directly to the storage backend. The workflow is the following: - Send a request with an empty ``?ticket=`` query parameter to get an upload ticket and URL - Upload the file using a PUT request to the upload URL - Once done, send a POST request to this endpoint with the upload ticket to finalize the upload. The file will be placed into the DB via this POST request.
|
|
407
386
|
This method makes a synchronous HTTP request by default.
|
|
408
387
|
|
|
409
|
-
:param preserve_metadata
|
|
410
|
-
:
|
|
411
|
-
:param
|
|
412
|
-
:
|
|
413
|
-
:param
|
|
414
|
-
:
|
|
415
|
-
:param
|
|
416
|
-
:
|
|
417
|
-
:param
|
|
418
|
-
:
|
|
419
|
-
:param files:
|
|
420
|
-
:type files: str, optional
|
|
421
|
-
:param metadata: Metadata object
|
|
422
|
-
:type metadata: object, optional
|
|
423
|
-
:param content_type:
|
|
424
|
-
:type content_type: str, optional
|
|
425
|
-
:param async_: Perform the request asynchronously
|
|
426
|
-
:type async_: bool, optional
|
|
427
|
-
:rtype: union[list[File],UploadTicketOutput]
|
|
388
|
+
:param bool preserve_metadata:
|
|
389
|
+
:param str ticket: Use empty value to get a ticket, and provide the ticket id to finalize the upload
|
|
390
|
+
:param str id:
|
|
391
|
+
:param ContainerType level:
|
|
392
|
+
:param str job:
|
|
393
|
+
:param str files:
|
|
394
|
+
:param object metadata: Metadata object
|
|
395
|
+
:param str content_type:
|
|
396
|
+
:param bool async_: Perform the request asynchronously
|
|
397
|
+
:return: union[list[File],UploadTicketOutput]
|
|
428
398
|
"""
|
|
429
399
|
|
|
430
400
|
all_params = ['preserve_metadata','ticket','id','level','job','files','metadata','content_type',] # noqa: E501
|
|
@@ -507,27 +477,17 @@ class UploadApi(object):
|
|
|
507
477
|
### Default behavior: > Upload data, allowing users to move sessions during scans without causing new data to be created in referenced project/group. ### Evaluation Order: * If a matching acquisition UID is found anywhere on the system, the related files will be placed under that acquisition. * **OR** If a matching session UID is found, a new acquistion is created with the specified UID under that Session UID. * **OR** If a matching group ID and project label are found, a new session and acquisition will be created within that project * **OR** If a matching group ID is found, a new project and session and acquisition will be created within that group. * **OR** A new session and acquisition will be created within a special \"Unknown\" group and project, which is only visible to system administrators. ### Signed URL upload with ``ticket`` > Upload a single file directly to the storage backend. The workflow is the following: - Send a request with an empty ``?ticket=`` query parameter to get an upload ticket and URL - Upload the file using a PUT request to the upload URL - Once done, send a POST request to this endpoint with the upload ticket to finalize the upload. The file will be placed into the DB via this POST request.
|
|
508
478
|
This method makes a synchronous HTTP request by default.
|
|
509
479
|
|
|
510
|
-
:param preserve_metadata
|
|
511
|
-
:
|
|
512
|
-
:param
|
|
513
|
-
:
|
|
514
|
-
:param
|
|
515
|
-
:
|
|
516
|
-
:param
|
|
517
|
-
:
|
|
518
|
-
:param
|
|
519
|
-
:
|
|
520
|
-
:
|
|
521
|
-
:type job: str, optional
|
|
522
|
-
:param files:
|
|
523
|
-
:type files: str, optional
|
|
524
|
-
:param metadata: Metadata object
|
|
525
|
-
:type metadata: object, optional
|
|
526
|
-
:param content_type:
|
|
527
|
-
:type content_type: str, optional
|
|
528
|
-
:param async_: Perform the request asynchronously
|
|
529
|
-
:type async_: bool, optional
|
|
530
|
-
:rtype: union[list[File],UploadTicketOutput]
|
|
480
|
+
:param bool preserve_metadata:
|
|
481
|
+
:param str ticket: Use empty value to get a ticket, and provide the ticket id to finalize the upload
|
|
482
|
+
:param bool uid_placement:
|
|
483
|
+
:param str id:
|
|
484
|
+
:param ContainerType level:
|
|
485
|
+
:param str job:
|
|
486
|
+
:param str files:
|
|
487
|
+
:param object metadata: Metadata object
|
|
488
|
+
:param str content_type:
|
|
489
|
+
:param bool async_: Perform the request asynchronously
|
|
490
|
+
:return: union[list[File],UploadTicketOutput]
|
|
531
491
|
"""
|
|
532
492
|
ignore_simplified_return_value = kwargs.pop('_ignore_simplified_return_value', False)
|
|
533
493
|
kwargs['_return_http_data_only'] = True
|
|
@@ -551,27 +511,17 @@ class UploadApi(object):
|
|
|
551
511
|
### Default behavior: > Upload data, allowing users to move sessions during scans without causing new data to be created in referenced project/group. ### Evaluation Order: * If a matching acquisition UID is found anywhere on the system, the related files will be placed under that acquisition. * **OR** If a matching session UID is found, a new acquistion is created with the specified UID under that Session UID. * **OR** If a matching group ID and project label are found, a new session and acquisition will be created within that project * **OR** If a matching group ID is found, a new project and session and acquisition will be created within that group. * **OR** A new session and acquisition will be created within a special \"Unknown\" group and project, which is only visible to system administrators. ### Signed URL upload with ``ticket`` > Upload a single file directly to the storage backend. The workflow is the following: - Send a request with an empty ``?ticket=`` query parameter to get an upload ticket and URL - Upload the file using a PUT request to the upload URL - Once done, send a POST request to this endpoint with the upload ticket to finalize the upload. The file will be placed into the DB via this POST request.
|
|
552
512
|
This method makes a synchronous HTTP request by default.
|
|
553
513
|
|
|
554
|
-
:param preserve_metadata
|
|
555
|
-
:
|
|
556
|
-
:param
|
|
557
|
-
:
|
|
558
|
-
:param
|
|
559
|
-
:
|
|
560
|
-
:param
|
|
561
|
-
:
|
|
562
|
-
:param
|
|
563
|
-
:
|
|
564
|
-
:
|
|
565
|
-
:type job: str, optional
|
|
566
|
-
:param files:
|
|
567
|
-
:type files: str, optional
|
|
568
|
-
:param metadata: Metadata object
|
|
569
|
-
:type metadata: object, optional
|
|
570
|
-
:param content_type:
|
|
571
|
-
:type content_type: str, optional
|
|
572
|
-
:param async_: Perform the request asynchronously
|
|
573
|
-
:type async_: bool, optional
|
|
574
|
-
:rtype: union[list[File],UploadTicketOutput]
|
|
514
|
+
:param bool preserve_metadata:
|
|
515
|
+
:param str ticket: Use empty value to get a ticket, and provide the ticket id to finalize the upload
|
|
516
|
+
:param bool uid_placement:
|
|
517
|
+
:param str id:
|
|
518
|
+
:param ContainerType level:
|
|
519
|
+
:param str job:
|
|
520
|
+
:param str files:
|
|
521
|
+
:param object metadata: Metadata object
|
|
522
|
+
:param str content_type:
|
|
523
|
+
:param bool async_: Perform the request asynchronously
|
|
524
|
+
:return: union[list[File],UploadTicketOutput]
|
|
575
525
|
"""
|
|
576
526
|
|
|
577
527
|
all_params = ['preserve_metadata','ticket','uid_placement','id','level','job','files','metadata','content_type',] # noqa: E501
|
|
@@ -656,25 +606,16 @@ class UploadApi(object):
|
|
|
656
606
|
### Default behavior: > Same behavior as /api/upload/label, except the metadata field must be uid format See ``api/schemas/input/uidupload.json`` for the format of this metadata. ### Signed URL upload with ``ticket`` > Upload a single file directly to the storage backend. The workflow is the following: - Send a request with an empty ``?ticket=`` query parameter to get an upload ticket and URL - Upload the file using a PUT request to the upload URL - Once done, send a POST request to this endpoint with the upload ticket to finalize the upload. The file will be placed into the DB via this POST request.
|
|
657
607
|
This method makes a synchronous HTTP request by default.
|
|
658
608
|
|
|
659
|
-
:param preserve_metadata
|
|
660
|
-
:
|
|
661
|
-
:param
|
|
662
|
-
:
|
|
663
|
-
:param
|
|
664
|
-
:
|
|
665
|
-
:param
|
|
666
|
-
:
|
|
667
|
-
:param
|
|
668
|
-
:
|
|
669
|
-
:param files:
|
|
670
|
-
:type files: str, optional
|
|
671
|
-
:param metadata: Metadata object
|
|
672
|
-
:type metadata: object, optional
|
|
673
|
-
:param content_type:
|
|
674
|
-
:type content_type: str, optional
|
|
675
|
-
:param async_: Perform the request asynchronously
|
|
676
|
-
:type async_: bool, optional
|
|
677
|
-
:rtype: union[list[File],UploadTicketOutput]
|
|
609
|
+
:param bool preserve_metadata:
|
|
610
|
+
:param str ticket: Use empty value to get a ticket, and provide the ticket id to finalize the upload
|
|
611
|
+
:param str id:
|
|
612
|
+
:param ContainerType level:
|
|
613
|
+
:param str job:
|
|
614
|
+
:param str files:
|
|
615
|
+
:param object metadata: Metadata object
|
|
616
|
+
:param str content_type:
|
|
617
|
+
:param bool async_: Perform the request asynchronously
|
|
618
|
+
:return: union[list[File],UploadTicketOutput]
|
|
678
619
|
"""
|
|
679
620
|
ignore_simplified_return_value = kwargs.pop('_ignore_simplified_return_value', False)
|
|
680
621
|
kwargs['_return_http_data_only'] = True
|
|
@@ -698,25 +639,16 @@ class UploadApi(object):
|
|
|
698
639
|
### Default behavior: > Same behavior as /api/upload/label, except the metadata field must be uid format See ``api/schemas/input/uidupload.json`` for the format of this metadata. ### Signed URL upload with ``ticket`` > Upload a single file directly to the storage backend. The workflow is the following: - Send a request with an empty ``?ticket=`` query parameter to get an upload ticket and URL - Upload the file using a PUT request to the upload URL - Once done, send a POST request to this endpoint with the upload ticket to finalize the upload. The file will be placed into the DB via this POST request.
|
|
699
640
|
This method makes a synchronous HTTP request by default.
|
|
700
641
|
|
|
701
|
-
:param preserve_metadata
|
|
702
|
-
:
|
|
703
|
-
:param
|
|
704
|
-
:
|
|
705
|
-
:param
|
|
706
|
-
:
|
|
707
|
-
:param
|
|
708
|
-
:
|
|
709
|
-
:param
|
|
710
|
-
:
|
|
711
|
-
:param files:
|
|
712
|
-
:type files: str, optional
|
|
713
|
-
:param metadata: Metadata object
|
|
714
|
-
:type metadata: object, optional
|
|
715
|
-
:param content_type:
|
|
716
|
-
:type content_type: str, optional
|
|
717
|
-
:param async_: Perform the request asynchronously
|
|
718
|
-
:type async_: bool, optional
|
|
719
|
-
:rtype: union[list[File],UploadTicketOutput]
|
|
642
|
+
:param bool preserve_metadata:
|
|
643
|
+
:param str ticket: Use empty value to get a ticket, and provide the ticket id to finalize the upload
|
|
644
|
+
:param str id:
|
|
645
|
+
:param ContainerType level:
|
|
646
|
+
:param str job:
|
|
647
|
+
:param str files:
|
|
648
|
+
:param object metadata: Metadata object
|
|
649
|
+
:param str content_type:
|
|
650
|
+
:param bool async_: Perform the request asynchronously
|
|
651
|
+
:return: union[list[File],UploadTicketOutput]
|
|
720
652
|
"""
|
|
721
653
|
|
|
722
654
|
all_params = ['preserve_metadata','ticket','id','level','job','files','metadata','content_type',] # noqa: E501
|
|
@@ -799,13 +731,10 @@ class UploadApi(object):
|
|
|
799
731
|
The POST `/api/upload/signed-url` endpoint returns a url with a jwt token pointing to this endpoint if the storage provider is a local filesystem then the file can be uploaded simply by sending the file content in the body of the payload. The destination storage provider and the file path are encoded in the jwt token.
|
|
800
732
|
This method makes a synchronous HTTP request by default.
|
|
801
733
|
|
|
802
|
-
:param token: Upload token
|
|
803
|
-
:
|
|
804
|
-
:param
|
|
805
|
-
:
|
|
806
|
-
:param async_: Perform the request asynchronously
|
|
807
|
-
:type async_: bool, optional
|
|
808
|
-
:rtype: SignedFSUploadOutput
|
|
734
|
+
:param str token: Upload token (required)
|
|
735
|
+
:param str body: Signed filesystem file upload payload (required)
|
|
736
|
+
:param bool async_: Perform the request asynchronously
|
|
737
|
+
:return: SignedFSUploadOutput
|
|
809
738
|
"""
|
|
810
739
|
ignore_simplified_return_value = kwargs.pop('_ignore_simplified_return_value', False)
|
|
811
740
|
kwargs['_return_http_data_only'] = True
|
|
@@ -829,13 +758,10 @@ class UploadApi(object):
|
|
|
829
758
|
The POST `/api/upload/signed-url` endpoint returns a url with a jwt token pointing to this endpoint if the storage provider is a local filesystem then the file can be uploaded simply by sending the file content in the body of the payload. The destination storage provider and the file path are encoded in the jwt token.
|
|
830
759
|
This method makes a synchronous HTTP request by default.
|
|
831
760
|
|
|
832
|
-
:param token: Upload token
|
|
833
|
-
:
|
|
834
|
-
:param
|
|
835
|
-
:
|
|
836
|
-
:param async_: Perform the request asynchronously
|
|
837
|
-
:type async_: bool, optional
|
|
838
|
-
:rtype: SignedFSUploadOutput
|
|
761
|
+
:param str token: Upload token (required)
|
|
762
|
+
:param str body: Signed filesystem file upload payload (required)
|
|
763
|
+
:param bool async_: Perform the request asynchronously
|
|
764
|
+
:return: SignedFSUploadOutput
|
|
839
765
|
"""
|
|
840
766
|
|
|
841
767
|
all_params = ['token','body',] # noqa: E501
|