elabapi-python 5.1.0__tar.gz → 5.2.0__tar.gz
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.
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/PKG-INFO +7 -2
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/README.md +16 -7
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/elabapi_python/__init__.py +12 -5
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/elabapi_python/api/__init__.py +1 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/elabapi_python/api/api_keys_api.py +2 -6
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/elabapi_python/api/comments_api.py +0 -4
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/elabapi_python/api/config_api.py +0 -4
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/elabapi_python/api/events_api.py +0 -4
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/elabapi_python/api/experiments_api.py +117 -16
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/elabapi_python/api/experiments_categories_api.py +0 -4
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/elabapi_python/api/experiments_status_api.py +0 -4
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/elabapi_python/api/experiments_templates_api.py +110 -17
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/elabapi_python/api/exports_api.py +0 -4
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/elabapi_python/api/favorite_tags_api.py +0 -4
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/elabapi_python/api/idps_api.py +0 -4
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/elabapi_python/api/items_api.py +117 -16
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/elabapi_python/api/items_types_api.py +0 -4
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/elabapi_python/api/links_to_experiments_api.py +0 -4
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/elabapi_python/api/links_to_items_api.py +0 -4
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/elabapi_python/api/notifications_api.py +3 -7
- elabapi_python-5.2.0/elabapi_python/api/reports_api.py +128 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/elabapi_python/api/resources_status_api.py +0 -4
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/elabapi_python/api/revisions_api.py +3 -3
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/elabapi_python/api/steps_api.py +0 -4
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/elabapi_python/api/tags_api.py +2 -6
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/elabapi_python/api/team_tags_api.py +6 -111
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/elabapi_python/api/teamgroups_api.py +3 -7
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/elabapi_python/api/todolist_api.py +0 -4
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/elabapi_python/api/uploads_api.py +10 -14
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/elabapi_python/api/user_uploads_api.py +3 -3
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/elabapi_python/api/users_api.py +8 -4
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/elabapi_python/api_client.py +1 -1
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/elabapi_python/configuration.py +1 -1
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/elabapi_python/models/__init__.py +11 -5
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/elabapi_python/models/apikeys_body.py +1 -1
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/elabapi_python/models/entity.py +10 -348
- elabapi_python-5.2.0/elabapi_python/models/entity_editable.py +498 -0
- elabapi_python-5.2.0/elabapi_python/models/entity_template.py +1130 -0
- elabapi_python-5.2.0/elabapi_python/models/entity_template_editable.py +146 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/elabapi_python/models/exclusive_edit_mode.py +51 -17
- elabapi_python-5.2.0/elabapi_python/models/experiments_body.py +390 -0
- elabapi_python-5.2.0/elabapi_python/models/experiments_id_body.py +168 -0
- elabapi_python-5.1.0/elabapi_python/models/experiments_id_body.py → elabapi_python-5.2.0/elabapi_python/models/experiments_id_body1.py +4 -4
- elabapi_python-5.2.0/elabapi_python/models/experiments_templates_id_body.py +140 -0
- elabapi_python-5.1.0/elabapi_python/models/experiments_templates_id_body.py → elabapi_python-5.2.0/elabapi_python/models/experiments_templates_id_body1.py +4 -4
- elabapi_python-5.1.0/elabapi_python/models/id_tags_body2.py → elabapi_python-5.2.0/elabapi_python/models/id_tags_body1.py +8 -8
- elabapi_python-5.1.0/elabapi_python/models/experiments_templates_body.py → elabapi_python-5.2.0/elabapi_python/models/inline_response2003.py +21 -23
- elabapi_python-5.1.0/elabapi_python/models/items_body.py → elabapi_python-5.2.0/elabapi_python/models/inline_response2003_query_parameters.py +35 -37
- elabapi_python-5.1.0/elabapi_python/models/inline_response2005.py → elabapi_python-5.2.0/elabapi_python/models/inline_response2004.py +16 -16
- elabapi_python-5.1.0/elabapi_python/models/inline_response2006.py → elabapi_python-5.2.0/elabapi_python/models/inline_response2005.py +56 -56
- elabapi_python-5.1.0/elabapi_python/models/inline_response2007.py → elabapi_python-5.2.0/elabapi_python/models/inline_response2006.py +44 -44
- elabapi_python-5.1.0/elabapi_python/models/inline_response2008.py → elabapi_python-5.2.0/elabapi_python/models/inline_response2007.py +28 -28
- elabapi_python-5.1.0/elabapi_python/models/inline_response2009.py → elabapi_python-5.2.0/elabapi_python/models/inline_response2008.py +20 -20
- elabapi_python-5.2.0/elabapi_python/models/items_id_body.py +168 -0
- elabapi_python-5.2.0/elabapi_python/models/items_id_body1.py +84 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/elabapi_python/models/items_type.py +3 -3
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/elabapi_python/models/items_types_body.py +24 -18
- elabapi_python-5.1.0/elabapi_python/models/inline_response2004.py → elabapi_python-5.2.0/elabapi_python/models/metadata.py +39 -37
- elabapi_python-5.2.0/elabapi_python/models/metadata_elabftw.py +140 -0
- elabapi_python-5.1.0/elabapi_python/models/tag.py → elabapi_python-5.2.0/elabapi_python/models/metadata_elabftw_extra_fields_groups.py +23 -23
- elabapi_python-5.2.0/elabapi_python/models/metadata_extra_fields.py +194 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/elabapi_python/models/revision.py +3 -29
- elabapi_python-5.1.0/elabapi_python/models/inline_response2003.py → elabapi_python-5.2.0/elabapi_python/models/tag.py +93 -41
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/elabapi_python/models/team.py +1 -157
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/elabapi_python/models/users.py +27 -1
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/elabapi_python.egg-info/PKG-INFO +7 -2
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/elabapi_python.egg-info/SOURCES.txt +24 -10
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/setup.py +1 -1
- elabapi_python-5.2.0/test/test_entity_editable.py +39 -0
- elabapi_python-5.2.0/test/test_entity_template.py +39 -0
- elabapi_python-5.2.0/test/test_entity_template_editable.py +39 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/test/test_experiments_api.py +7 -0
- elabapi_python-5.2.0/test/test_experiments_id_body1.py +39 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/test/test_experiments_templates_api.py +7 -0
- elabapi_python-5.2.0/test/test_experiments_templates_id_body1.py +39 -0
- elabapi_python-5.2.0/test/test_inline_response2003_query_parameters.py +39 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/test/test_items_api.py +7 -0
- elabapi_python-5.2.0/test/test_items_id_body1.py +39 -0
- elabapi_python-5.2.0/test/test_metadata.py +39 -0
- elabapi_python-5.2.0/test/test_metadata_elabftw.py +39 -0
- elabapi_python-5.2.0/test/test_metadata_elabftw_extra_fields_groups.py +39 -0
- elabapi_python-5.2.0/test/test_metadata_extra_fields.py +39 -0
- elabapi_python-5.2.0/test/test_reports_api.py +40 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/test/test_team_tags_api.py +0 -7
- elabapi_python-5.1.0/elabapi_python/models/experiment_template.py +0 -708
- elabapi_python-5.1.0/elabapi_python/models/experiments_body.py +0 -140
- elabapi_python-5.1.0/elabapi_python/models/id_tags_body1.py +0 -116
- elabapi_python-5.1.0/elabapi_python/models/items_id_body.py +0 -84
- elabapi_python-5.1.0/test/test_experiment_template.py +0 -39
- elabapi_python-5.1.0/test/test_experiments_templates_body.py +0 -39
- elabapi_python-5.1.0/test/test_id_tags_body2.py +0 -39
- elabapi_python-5.1.0/test/test_inline_response2009.py +0 -39
- elabapi_python-5.1.0/test/test_items_body.py +0 -39
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/elabapi_python/api/extra_fields_keys_api.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/elabapi_python/api/import_api.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/elabapi_python/api/info_api.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/elabapi_python/api/teams_api.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/elabapi_python/api/unfinished_steps_api.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/elabapi_python/models/any_ofuploads_subid_body1.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/elabapi_python/models/apikey.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/elabapi_python/models/comment.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/elabapi_python/models/config.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/elabapi_python/models/event.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/elabapi_python/models/event_id_body.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/elabapi_python/models/eventid_delta.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/elabapi_python/models/events_id_body.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/elabapi_python/models/experiment.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/elabapi_python/models/experiments_links_subid_body.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/elabapi_python/models/export.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/elabapi_python/models/exports_body.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/elabapi_python/models/extra_fields_keys.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/elabapi_python/models/favtags_body.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/elabapi_python/models/id.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/elabapi_python/models/id1.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/elabapi_python/models/id2.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/elabapi_python/models/id3.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/elabapi_python/models/id4.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/elabapi_python/models/id_comments_body.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/elabapi_python/models/id_experiments_categories_body.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/elabapi_python/models/id_experiments_status_body.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/elabapi_python/models/id_items_status_body.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/elabapi_python/models/id_steps_body.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/elabapi_python/models/id_tags_body.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/elabapi_python/models/id_teamgroups_body.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/elabapi_python/models/id_uploads_body.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/elabapi_python/models/idp.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/elabapi_python/models/idps_body.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/elabapi_python/models/idps_id_body.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/elabapi_python/models/import_body.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/elabapi_python/models/inline_response200.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/elabapi_python/models/inline_response2001.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/elabapi_python/models/inline_response2002.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/elabapi_python/models/item.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/elabapi_python/models/items_links_subid_body.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/elabapi_python/models/link.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/elabapi_python/models/notification.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/elabapi_python/models/revisions_subid_body.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/elabapi_python/models/statuslike.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/elabapi_python/models/step.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/elabapi_python/models/steps_subid_body.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/elabapi_python/models/tags_subid_body.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/elabapi_python/models/tags_subid_body1.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/elabapi_python/models/teamgroup.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/elabapi_python/models/teamgroup_users.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/elabapi_python/models/teamgroups_subid_body.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/elabapi_python/models/teams_body.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/elabapi_python/models/teams_id_body.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/elabapi_python/models/todoitem.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/elabapi_python/models/todolist_body.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/elabapi_python/models/todolist_id_body.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/elabapi_python/models/unfinished_step.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/elabapi_python/models/unfinished_steps.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/elabapi_python/models/upload.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/elabapi_python/models/uploads_subid_body.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/elabapi_python/models/uploads_subid_body1.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/elabapi_python/models/users_body.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/elabapi_python/models/users_id_body.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/elabapi_python/models/users_teams.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/elabapi_python/rest.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/elabapi_python.egg-info/dependency_links.txt +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/elabapi_python.egg-info/requires.txt +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/elabapi_python.egg-info/top_level.txt +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/setup.cfg +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/test/__init__.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/test/test_any_ofuploads_subid_body1.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/test/test_api_keys_api.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/test/test_apikey.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/test/test_apikeys_body.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/test/test_comment.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/test/test_comments_api.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/test/test_config.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/test/test_config_api.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/test/test_entity.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/test/test_event.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/test/test_event_id_body.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/test/test_eventid_delta.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/test/test_events_api.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/test/test_events_id_body.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/test/test_exclusive_edit_mode.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/test/test_experiment.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/test/test_experiments_body.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/test/test_experiments_categories_api.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/test/test_experiments_id_body.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/test/test_experiments_links_subid_body.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/test/test_experiments_status_api.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/test/test_experiments_templates_id_body.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/test/test_export.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/test/test_exports_api.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/test/test_exports_body.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/test/test_extra_fields_keys.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/test/test_extra_fields_keys_api.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/test/test_favorite_tags_api.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/test/test_favtags_body.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/test/test_id.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/test/test_id1.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/test/test_id2.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/test/test_id3.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/test/test_id4.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/test/test_id_comments_body.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/test/test_id_experiments_categories_body.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/test/test_id_experiments_status_body.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/test/test_id_items_status_body.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/test/test_id_steps_body.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/test/test_id_tags_body.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/test/test_id_tags_body1.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/test/test_id_teamgroups_body.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/test/test_id_uploads_body.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/test/test_idp.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/test/test_idps_api.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/test/test_idps_body.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/test/test_idps_id_body.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/test/test_import_api.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/test/test_import_body.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/test/test_info_api.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/test/test_inline_response200.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/test/test_inline_response2001.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/test/test_inline_response2002.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/test/test_inline_response2003.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/test/test_inline_response2004.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/test/test_inline_response2005.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/test/test_inline_response2006.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/test/test_inline_response2007.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/test/test_inline_response2008.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/test/test_item.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/test/test_items_id_body.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/test/test_items_links_subid_body.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/test/test_items_type.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/test/test_items_types_api.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/test/test_items_types_body.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/test/test_link.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/test/test_links_to_experiments_api.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/test/test_links_to_items_api.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/test/test_notification.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/test/test_notifications_api.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/test/test_resources_status_api.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/test/test_revision.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/test/test_revisions_api.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/test/test_revisions_subid_body.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/test/test_statuslike.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/test/test_step.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/test/test_steps_api.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/test/test_steps_subid_body.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/test/test_tag.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/test/test_tags_api.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/test/test_tags_subid_body.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/test/test_tags_subid_body1.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/test/test_team.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/test/test_teamgroup.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/test/test_teamgroup_users.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/test/test_teamgroups_api.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/test/test_teamgroups_subid_body.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/test/test_teams_api.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/test/test_teams_body.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/test/test_teams_id_body.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/test/test_todoitem.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/test/test_todolist_api.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/test/test_todolist_body.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/test/test_todolist_id_body.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/test/test_unfinished_step.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/test/test_unfinished_steps.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/test/test_unfinished_steps_api.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/test/test_upload.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/test/test_uploads_api.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/test/test_uploads_subid_body.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/test/test_uploads_subid_body1.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/test/test_user_uploads_api.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/test/test_users.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/test/test_users_api.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/test/test_users_body.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/test/test_users_id_body.py +0 -0
- {elabapi_python-5.1.0 → elabapi_python-5.2.0}/test/test_users_teams.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: elabapi-python
|
|
3
|
-
Version: 5.
|
|
3
|
+
Version: 5.2.0
|
|
4
4
|
Summary: eLabFTW REST API v2 Documentation
|
|
5
5
|
Home-page: https://github.com/elabftw/elabapi-python
|
|
6
6
|
Author-email:
|
|
@@ -9,6 +9,11 @@ Requires-Dist: urllib3>=1.15
|
|
|
9
9
|
Requires-Dist: six>=1.10
|
|
10
10
|
Requires-Dist: certifi
|
|
11
11
|
Requires-Dist: python-dateutil
|
|
12
|
+
Dynamic: description
|
|
13
|
+
Dynamic: home-page
|
|
14
|
+
Dynamic: keywords
|
|
15
|
+
Dynamic: requires-dist
|
|
16
|
+
Dynamic: summary
|
|
12
17
|
|
|
13
18
|
This document describes all available endpoints and methods for eLabFTW's API version 2. # noqa: E501
|
|
14
19
|
|
|
@@ -4,7 +4,7 @@ This document describes all available endpoints and methods for eLabFTW's API ve
|
|
|
4
4
|
This Python package is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
|
|
5
5
|
|
|
6
6
|
- API version: 2.0.0
|
|
7
|
-
- Package version: 5.
|
|
7
|
+
- Package version: 5.2.0
|
|
8
8
|
- Build package: io.swagger.codegen.v3.generators.python.PythonClientCodegen
|
|
9
9
|
|
|
10
10
|
## Requirements.
|
|
@@ -126,6 +126,7 @@ Class | Method | HTTP request | Description
|
|
|
126
126
|
*ExperimentsApi* | [**get_experiment**](docs/ExperimentsApi.md#get_experiment) | **GET** /experiments/{id} | Read an experiment
|
|
127
127
|
*ExperimentsApi* | [**patch_experiment**](docs/ExperimentsApi.md#patch_experiment) | **PATCH** /experiments/{id} | Modify an experiment
|
|
128
128
|
*ExperimentsApi* | [**post_experiment**](docs/ExperimentsApi.md#post_experiment) | **POST** /experiments | Create an experiment
|
|
129
|
+
*ExperimentsApi* | [**post_experiment_by_id**](docs/ExperimentsApi.md#post_experiment_by_id) | **POST** /experiments/{id} | Duplicate an experiment with its ID
|
|
129
130
|
*ExperimentsApi* | [**read_experiments**](docs/ExperimentsApi.md#read_experiments) | **GET** /experiments | Read all experiments that are accessible
|
|
130
131
|
*ExperimentsCategoriesApi* | [**delete_expcat**](docs/ExperimentsCategoriesApi.md#delete_expcat) | **DELETE** /teams/{id}/experiments_categories/{subid} | Delete a category.
|
|
131
132
|
*ExperimentsCategoriesApi* | [**patch_expcat**](docs/ExperimentsCategoriesApi.md#patch_expcat) | **PATCH** /teams/{id}/experiments_categories/{subid} | Modify a category.
|
|
@@ -141,6 +142,7 @@ Class | Method | HTTP request | Description
|
|
|
141
142
|
*ExperimentsTemplatesApi* | [**get_experiment_template**](docs/ExperimentsTemplatesApi.md#get_experiment_template) | **GET** /experiments_templates/{id} | Read an experiment template
|
|
142
143
|
*ExperimentsTemplatesApi* | [**patch_experiment_template**](docs/ExperimentsTemplatesApi.md#patch_experiment_template) | **PATCH** /experiments_templates/{id} | Modify an experiment template
|
|
143
144
|
*ExperimentsTemplatesApi* | [**post_experiment_template**](docs/ExperimentsTemplatesApi.md#post_experiment_template) | **POST** /experiments_templates | Create an experiment template
|
|
145
|
+
*ExperimentsTemplatesApi* | [**post_experiment_template_by_id**](docs/ExperimentsTemplatesApi.md#post_experiment_template_by_id) | **POST** /experiments_templates/{id} | Duplicate an experiment template with its ID
|
|
144
146
|
*ExperimentsTemplatesApi* | [**read_experiments_templates**](docs/ExperimentsTemplatesApi.md#read_experiments_templates) | **GET** /experiments_templates | Read all experiments_templates that are accessible
|
|
145
147
|
*ExportsApi* | [**delete_export**](docs/ExportsApi.md#delete_export) | **DELETE** /exports/{id} | Remove an export request and its associated file
|
|
146
148
|
*ExportsApi* | [**post_export**](docs/ExportsApi.md#post_export) | **POST** /exports | Register an export request
|
|
@@ -162,6 +164,7 @@ Class | Method | HTTP request | Description
|
|
|
162
164
|
*ItemsApi* | [**get_item**](docs/ItemsApi.md#get_item) | **GET** /items/{id} | Read an item
|
|
163
165
|
*ItemsApi* | [**patch_item**](docs/ItemsApi.md#patch_item) | **PATCH** /items/{id} | Modify an item
|
|
164
166
|
*ItemsApi* | [**post_item**](docs/ItemsApi.md#post_item) | **POST** /items | Create an item
|
|
167
|
+
*ItemsApi* | [**post_item_by_id**](docs/ItemsApi.md#post_item_by_id) | **POST** /items/{id} | Duplicate an item with its ID
|
|
165
168
|
*ItemsApi* | [**read_items**](docs/ItemsApi.md#read_items) | **GET** /items | Read all items that are accessible
|
|
166
169
|
*ItemsTypesApi* | [**delete_items_type**](docs/ItemsTypesApi.md#delete_items_type) | **DELETE** /items_types/{id} | Delete a resource category.
|
|
167
170
|
*ItemsTypesApi* | [**get_items_type**](docs/ItemsTypesApi.md#get_items_type) | **GET** /items_types/{id} | Read a resource category.
|
|
@@ -178,6 +181,7 @@ Class | Method | HTTP request | Description
|
|
|
178
181
|
*NotificationsApi* | [**patch_notification**](docs/NotificationsApi.md#patch_notification) | **PATCH** /users/{id}/notifications/{subid} | Actions on a notification. Only changing `is_ack` column is possible.
|
|
179
182
|
*NotificationsApi* | [**read_notification**](docs/NotificationsApi.md#read_notification) | **GET** /users/{id}/notifications/{subid} | Read a notification.
|
|
180
183
|
*NotificationsApi* | [**read_notifications**](docs/NotificationsApi.md#read_notifications) | **GET** /users/{id}/notifications | Read notifications of a user.
|
|
184
|
+
*ReportsApi* | [**get_reports**](docs/ReportsApi.md#get_reports) | **GET** /reports | Get usage reports
|
|
181
185
|
*ResourcesStatusApi* | [**delete_resstatus**](docs/ResourcesStatusApi.md#delete_resstatus) | **DELETE** /teams/{id}/items_status/{subid} | Delete a status.
|
|
182
186
|
*ResourcesStatusApi* | [**patch_resstatus**](docs/ResourcesStatusApi.md#patch_resstatus) | **PATCH** /teams/{id}/items_status/{subid} | Modify a status.
|
|
183
187
|
*ResourcesStatusApi* | [**post_team_one_resstat**](docs/ResourcesStatusApi.md#post_team_one_resstat) | **POST** /teams/{id}/items_status | Create a new status for resources.
|
|
@@ -196,7 +200,6 @@ Class | Method | HTTP request | Description
|
|
|
196
200
|
*TagsApi* | [**read_tag**](docs/TagsApi.md#read_tag) | **GET** /{entity_type}/{id}/tags/{subid} | Read a tag.
|
|
197
201
|
*TagsApi* | [**read_tags**](docs/TagsApi.md#read_tags) | **GET** /{entity_type}/{id}/tags | Read all tags of that entity.
|
|
198
202
|
*TeamTagsApi* | [**delete_team_tag**](docs/TeamTagsApi.md#delete_team_tag) | **DELETE** /teams/{id}/tags/{subid} | Delete a tag.
|
|
199
|
-
*TeamTagsApi* | [**patch_tags**](docs/TeamTagsApi.md#patch_tags) | **PATCH** /teams/{id}/tags | Actions on tags.
|
|
200
203
|
*TeamTagsApi* | [**patch_team_tag**](docs/TeamTagsApi.md#patch_team_tag) | **PATCH** /teams/{id}/tags/{subid} | Actions on a tag.
|
|
201
204
|
*TeamTagsApi* | [**post_team_tag**](docs/TeamTagsApi.md#post_team_tag) | **POST** /teams/{id}/tags | Create a tag in the team.
|
|
202
205
|
*TeamTagsApi* | [**read_team_tag**](docs/TeamTagsApi.md#read_team_tag) | **GET** /teams/{id}/tags/{subid} | Read a tag.
|
|
@@ -236,18 +239,21 @@ Class | Method | HTTP request | Description
|
|
|
236
239
|
- [Comment](docs/Comment.md)
|
|
237
240
|
- [Config](docs/Config.md)
|
|
238
241
|
- [Entity](docs/Entity.md)
|
|
242
|
+
- [EntityEditable](docs/EntityEditable.md)
|
|
243
|
+
- [EntityTemplate](docs/EntityTemplate.md)
|
|
244
|
+
- [EntityTemplateEditable](docs/EntityTemplateEditable.md)
|
|
239
245
|
- [Event](docs/Event.md)
|
|
240
246
|
- [EventIdBody](docs/EventIdBody.md)
|
|
241
247
|
- [EventidDelta](docs/EventidDelta.md)
|
|
242
248
|
- [EventsIdBody](docs/EventsIdBody.md)
|
|
243
249
|
- [ExclusiveEditMode](docs/ExclusiveEditMode.md)
|
|
244
250
|
- [Experiment](docs/Experiment.md)
|
|
245
|
-
- [ExperimentTemplate](docs/ExperimentTemplate.md)
|
|
246
251
|
- [ExperimentsBody](docs/ExperimentsBody.md)
|
|
247
252
|
- [ExperimentsIdBody](docs/ExperimentsIdBody.md)
|
|
253
|
+
- [ExperimentsIdBody1](docs/ExperimentsIdBody1.md)
|
|
248
254
|
- [ExperimentsLinksSubidBody](docs/ExperimentsLinksSubidBody.md)
|
|
249
|
-
- [ExperimentsTemplatesBody](docs/ExperimentsTemplatesBody.md)
|
|
250
255
|
- [ExperimentsTemplatesIdBody](docs/ExperimentsTemplatesIdBody.md)
|
|
256
|
+
- [ExperimentsTemplatesIdBody1](docs/ExperimentsTemplatesIdBody1.md)
|
|
251
257
|
- [Export](docs/Export.md)
|
|
252
258
|
- [ExportsBody](docs/ExportsBody.md)
|
|
253
259
|
- [ExtraFieldsKeys](docs/ExtraFieldsKeys.md)
|
|
@@ -264,7 +270,6 @@ Class | Method | HTTP request | Description
|
|
|
264
270
|
- [IdStepsBody](docs/IdStepsBody.md)
|
|
265
271
|
- [IdTagsBody](docs/IdTagsBody.md)
|
|
266
272
|
- [IdTagsBody1](docs/IdTagsBody1.md)
|
|
267
|
-
- [IdTagsBody2](docs/IdTagsBody2.md)
|
|
268
273
|
- [IdTeamgroupsBody](docs/IdTeamgroupsBody.md)
|
|
269
274
|
- [IdUploadsBody](docs/IdUploadsBody.md)
|
|
270
275
|
- [Idp](docs/Idp.md)
|
|
@@ -275,19 +280,23 @@ Class | Method | HTTP request | Description
|
|
|
275
280
|
- [InlineResponse2001](docs/InlineResponse2001.md)
|
|
276
281
|
- [InlineResponse2002](docs/InlineResponse2002.md)
|
|
277
282
|
- [InlineResponse2003](docs/InlineResponse2003.md)
|
|
283
|
+
- [InlineResponse2003QueryParameters](docs/InlineResponse2003QueryParameters.md)
|
|
278
284
|
- [InlineResponse2004](docs/InlineResponse2004.md)
|
|
279
285
|
- [InlineResponse2005](docs/InlineResponse2005.md)
|
|
280
286
|
- [InlineResponse2006](docs/InlineResponse2006.md)
|
|
281
287
|
- [InlineResponse2007](docs/InlineResponse2007.md)
|
|
282
288
|
- [InlineResponse2008](docs/InlineResponse2008.md)
|
|
283
|
-
- [InlineResponse2009](docs/InlineResponse2009.md)
|
|
284
289
|
- [Item](docs/Item.md)
|
|
285
|
-
- [ItemsBody](docs/ItemsBody.md)
|
|
286
290
|
- [ItemsIdBody](docs/ItemsIdBody.md)
|
|
291
|
+
- [ItemsIdBody1](docs/ItemsIdBody1.md)
|
|
287
292
|
- [ItemsLinksSubidBody](docs/ItemsLinksSubidBody.md)
|
|
288
293
|
- [ItemsType](docs/ItemsType.md)
|
|
289
294
|
- [ItemsTypesBody](docs/ItemsTypesBody.md)
|
|
290
295
|
- [Link](docs/Link.md)
|
|
296
|
+
- [Metadata](docs/Metadata.md)
|
|
297
|
+
- [MetadataElabftw](docs/MetadataElabftw.md)
|
|
298
|
+
- [MetadataElabftwExtraFieldsGroups](docs/MetadataElabftwExtraFieldsGroups.md)
|
|
299
|
+
- [MetadataExtraFields](docs/MetadataExtraFields.md)
|
|
291
300
|
- [Notification](docs/Notification.md)
|
|
292
301
|
- [Revision](docs/Revision.md)
|
|
293
302
|
- [RevisionsSubidBody](docs/RevisionsSubidBody.md)
|
|
@@ -34,6 +34,7 @@ from elabapi_python.api.items_types_api import ItemsTypesApi
|
|
|
34
34
|
from elabapi_python.api.links_to_experiments_api import LinksToExperimentsApi
|
|
35
35
|
from elabapi_python.api.links_to_items_api import LinksToItemsApi
|
|
36
36
|
from elabapi_python.api.notifications_api import NotificationsApi
|
|
37
|
+
from elabapi_python.api.reports_api import ReportsApi
|
|
37
38
|
from elabapi_python.api.resources_status_api import ResourcesStatusApi
|
|
38
39
|
from elabapi_python.api.revisions_api import RevisionsApi
|
|
39
40
|
from elabapi_python.api.steps_api import StepsApi
|
|
@@ -56,18 +57,21 @@ from elabapi_python.models.apikeys_body import ApikeysBody
|
|
|
56
57
|
from elabapi_python.models.comment import Comment
|
|
57
58
|
from elabapi_python.models.config import Config
|
|
58
59
|
from elabapi_python.models.entity import Entity
|
|
60
|
+
from elabapi_python.models.entity_editable import EntityEditable
|
|
61
|
+
from elabapi_python.models.entity_template import EntityTemplate
|
|
62
|
+
from elabapi_python.models.entity_template_editable import EntityTemplateEditable
|
|
59
63
|
from elabapi_python.models.event import Event
|
|
60
64
|
from elabapi_python.models.event_id_body import EventIdBody
|
|
61
65
|
from elabapi_python.models.eventid_delta import EventidDelta
|
|
62
66
|
from elabapi_python.models.events_id_body import EventsIdBody
|
|
63
67
|
from elabapi_python.models.exclusive_edit_mode import ExclusiveEditMode
|
|
64
68
|
from elabapi_python.models.experiment import Experiment
|
|
65
|
-
from elabapi_python.models.experiment_template import ExperimentTemplate
|
|
66
69
|
from elabapi_python.models.experiments_body import ExperimentsBody
|
|
67
70
|
from elabapi_python.models.experiments_id_body import ExperimentsIdBody
|
|
71
|
+
from elabapi_python.models.experiments_id_body1 import ExperimentsIdBody1
|
|
68
72
|
from elabapi_python.models.experiments_links_subid_body import ExperimentsLinksSubidBody
|
|
69
|
-
from elabapi_python.models.experiments_templates_body import ExperimentsTemplatesBody
|
|
70
73
|
from elabapi_python.models.experiments_templates_id_body import ExperimentsTemplatesIdBody
|
|
74
|
+
from elabapi_python.models.experiments_templates_id_body1 import ExperimentsTemplatesIdBody1
|
|
71
75
|
from elabapi_python.models.export import Export
|
|
72
76
|
from elabapi_python.models.exports_body import ExportsBody
|
|
73
77
|
from elabapi_python.models.extra_fields_keys import ExtraFieldsKeys
|
|
@@ -84,7 +88,6 @@ from elabapi_python.models.id_items_status_body import IdItemsStatusBody
|
|
|
84
88
|
from elabapi_python.models.id_steps_body import IdStepsBody
|
|
85
89
|
from elabapi_python.models.id_tags_body import IdTagsBody
|
|
86
90
|
from elabapi_python.models.id_tags_body1 import IdTagsBody1
|
|
87
|
-
from elabapi_python.models.id_tags_body2 import IdTagsBody2
|
|
88
91
|
from elabapi_python.models.id_teamgroups_body import IdTeamgroupsBody
|
|
89
92
|
from elabapi_python.models.id_uploads_body import IdUploadsBody
|
|
90
93
|
from elabapi_python.models.idp import Idp
|
|
@@ -95,19 +98,23 @@ from elabapi_python.models.inline_response200 import InlineResponse200
|
|
|
95
98
|
from elabapi_python.models.inline_response2001 import InlineResponse2001
|
|
96
99
|
from elabapi_python.models.inline_response2002 import InlineResponse2002
|
|
97
100
|
from elabapi_python.models.inline_response2003 import InlineResponse2003
|
|
101
|
+
from elabapi_python.models.inline_response2003_query_parameters import InlineResponse2003QueryParameters
|
|
98
102
|
from elabapi_python.models.inline_response2004 import InlineResponse2004
|
|
99
103
|
from elabapi_python.models.inline_response2005 import InlineResponse2005
|
|
100
104
|
from elabapi_python.models.inline_response2006 import InlineResponse2006
|
|
101
105
|
from elabapi_python.models.inline_response2007 import InlineResponse2007
|
|
102
106
|
from elabapi_python.models.inline_response2008 import InlineResponse2008
|
|
103
|
-
from elabapi_python.models.inline_response2009 import InlineResponse2009
|
|
104
107
|
from elabapi_python.models.item import Item
|
|
105
|
-
from elabapi_python.models.items_body import ItemsBody
|
|
106
108
|
from elabapi_python.models.items_id_body import ItemsIdBody
|
|
109
|
+
from elabapi_python.models.items_id_body1 import ItemsIdBody1
|
|
107
110
|
from elabapi_python.models.items_links_subid_body import ItemsLinksSubidBody
|
|
108
111
|
from elabapi_python.models.items_type import ItemsType
|
|
109
112
|
from elabapi_python.models.items_types_body import ItemsTypesBody
|
|
110
113
|
from elabapi_python.models.link import Link
|
|
114
|
+
from elabapi_python.models.metadata import Metadata
|
|
115
|
+
from elabapi_python.models.metadata_elabftw import MetadataElabftw
|
|
116
|
+
from elabapi_python.models.metadata_elabftw_extra_fields_groups import MetadataElabftwExtraFieldsGroups
|
|
117
|
+
from elabapi_python.models.metadata_extra_fields import MetadataExtraFields
|
|
111
118
|
from elabapi_python.models.notification import Notification
|
|
112
119
|
from elabapi_python.models.revision import Revision
|
|
113
120
|
from elabapi_python.models.revisions_subid_body import RevisionsSubidBody
|
|
@@ -22,6 +22,7 @@ from elabapi_python.api.items_types_api import ItemsTypesApi
|
|
|
22
22
|
from elabapi_python.api.links_to_experiments_api import LinksToExperimentsApi
|
|
23
23
|
from elabapi_python.api.links_to_items_api import LinksToItemsApi
|
|
24
24
|
from elabapi_python.api.notifications_api import NotificationsApi
|
|
25
|
+
from elabapi_python.api.reports_api import ReportsApi
|
|
25
26
|
from elabapi_python.api.resources_status_api import ResourcesStatusApi
|
|
26
27
|
from elabapi_python.api.revisions_api import RevisionsApi
|
|
27
28
|
from elabapi_python.api.steps_api import StepsApi
|
|
@@ -104,10 +104,6 @@ class ApiKeysApi(object):
|
|
|
104
104
|
local_var_files = {}
|
|
105
105
|
|
|
106
106
|
body_params = None
|
|
107
|
-
# HTTP header `Content-Type`
|
|
108
|
-
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
109
|
-
['application/json']) # noqa: E501
|
|
110
|
-
|
|
111
107
|
# Authentication setting
|
|
112
108
|
auth_settings = ['token'] # noqa: E501
|
|
113
109
|
|
|
@@ -217,7 +213,7 @@ class ApiKeysApi(object):
|
|
|
217
213
|
def post_apikeys(self, **kwargs): # noqa: E501
|
|
218
214
|
"""Create an API key # noqa: E501
|
|
219
215
|
|
|
220
|
-
Create an API key. The cleartext key is sent back in the location header.
|
|
216
|
+
Create an API key. The cleartext key is sent back in the location header. # noqa: E501
|
|
221
217
|
This method makes a synchronous HTTP request by default. To make an
|
|
222
218
|
asynchronous HTTP request, please pass async_req=True
|
|
223
219
|
>>> thread = api.post_apikeys(async_req=True)
|
|
@@ -239,7 +235,7 @@ class ApiKeysApi(object):
|
|
|
239
235
|
def post_apikeys_with_http_info(self, **kwargs): # noqa: E501
|
|
240
236
|
"""Create an API key # noqa: E501
|
|
241
237
|
|
|
242
|
-
Create an API key. The cleartext key is sent back in the location header.
|
|
238
|
+
Create an API key. The cleartext key is sent back in the location header. # noqa: E501
|
|
243
239
|
This method makes a synchronous HTTP request by default. To make an
|
|
244
240
|
asynchronous HTTP request, please pass async_req=True
|
|
245
241
|
>>> thread = api.post_apikeys_with_http_info(async_req=True)
|
|
@@ -120,10 +120,6 @@ class CommentsApi(object):
|
|
|
120
120
|
local_var_files = {}
|
|
121
121
|
|
|
122
122
|
body_params = None
|
|
123
|
-
# HTTP header `Content-Type`
|
|
124
|
-
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
125
|
-
['application/json']) # noqa: E501
|
|
126
|
-
|
|
127
123
|
# Authentication setting
|
|
128
124
|
auth_settings = ['token'] # noqa: E501
|
|
129
125
|
|
|
@@ -94,10 +94,6 @@ class ConfigApi(object):
|
|
|
94
94
|
local_var_files = {}
|
|
95
95
|
|
|
96
96
|
body_params = None
|
|
97
|
-
# HTTP header `Content-Type`
|
|
98
|
-
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
99
|
-
['application/json']) # noqa: E501
|
|
100
|
-
|
|
101
97
|
# Authentication setting
|
|
102
98
|
auth_settings = ['token'] # noqa: E501
|
|
103
99
|
|
|
@@ -102,10 +102,6 @@ class EventsApi(object):
|
|
|
102
102
|
local_var_files = {}
|
|
103
103
|
|
|
104
104
|
body_params = None
|
|
105
|
-
# HTTP header `Content-Type`
|
|
106
|
-
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
107
|
-
['application/json']) # noqa: E501
|
|
108
|
-
|
|
109
105
|
# Authentication setting
|
|
110
106
|
auth_settings = ['token'] # noqa: E501
|
|
111
107
|
|
|
@@ -104,10 +104,6 @@ class ExperimentsApi(object):
|
|
|
104
104
|
local_var_files = {}
|
|
105
105
|
|
|
106
106
|
body_params = None
|
|
107
|
-
# HTTP header `Content-Type`
|
|
108
|
-
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
109
|
-
['application/json']) # noqa: E501
|
|
110
|
-
|
|
111
107
|
# Authentication setting
|
|
112
108
|
auth_settings = ['token'] # noqa: E501
|
|
113
109
|
|
|
@@ -142,7 +138,7 @@ class ExperimentsApi(object):
|
|
|
142
138
|
:param bool with_title: Include the title in the QR code. Only applicable if format is qrpng.
|
|
143
139
|
:param int size: Specify the size of the QR code in pixels. Only applicable if format is qrpng.
|
|
144
140
|
:param bool changelog: Toggles if the changelog should be included in PDF exports (pdf, pdfa, zip, zipa). Changelog is by default included if the export provides PDF/A, otherwise not.
|
|
145
|
-
:return:
|
|
141
|
+
:return: Entity
|
|
146
142
|
If the method is called asynchronously,
|
|
147
143
|
returns the request thread.
|
|
148
144
|
"""
|
|
@@ -168,7 +164,7 @@ class ExperimentsApi(object):
|
|
|
168
164
|
:param bool with_title: Include the title in the QR code. Only applicable if format is qrpng.
|
|
169
165
|
:param int size: Specify the size of the QR code in pixels. Only applicable if format is qrpng.
|
|
170
166
|
:param bool changelog: Toggles if the changelog should be included in PDF exports (pdf, pdfa, zip, zipa). Changelog is by default included if the export provides PDF/A, otherwise not.
|
|
171
|
-
:return:
|
|
167
|
+
:return: Entity
|
|
172
168
|
If the method is called asynchronously,
|
|
173
169
|
returns the request thread.
|
|
174
170
|
"""
|
|
@@ -232,7 +228,7 @@ class ExperimentsApi(object):
|
|
|
232
228
|
body=body_params,
|
|
233
229
|
post_params=form_params,
|
|
234
230
|
files=local_var_files,
|
|
235
|
-
response_type='
|
|
231
|
+
response_type='Entity', # noqa: E501
|
|
236
232
|
auth_settings=auth_settings,
|
|
237
233
|
async_req=params.get('async_req'),
|
|
238
234
|
_return_http_data_only=params.get('_return_http_data_only'),
|
|
@@ -250,7 +246,7 @@ class ExperimentsApi(object):
|
|
|
250
246
|
|
|
251
247
|
:param async_req bool
|
|
252
248
|
:param int id: ID of the experiment (required)
|
|
253
|
-
:param
|
|
249
|
+
:param ExperimentsIdBody1 body: Parameters for patching an experiment
|
|
254
250
|
:return: Experiment
|
|
255
251
|
If the method is called asynchronously,
|
|
256
252
|
returns the request thread.
|
|
@@ -272,7 +268,7 @@ class ExperimentsApi(object):
|
|
|
272
268
|
|
|
273
269
|
:param async_req bool
|
|
274
270
|
:param int id: ID of the experiment (required)
|
|
275
|
-
:param
|
|
271
|
+
:param ExperimentsIdBody1 body: Parameters for patching an experiment
|
|
276
272
|
:return: Experiment
|
|
277
273
|
If the method is called asynchronously,
|
|
278
274
|
returns the request thread.
|
|
@@ -430,6 +426,103 @@ class ExperimentsApi(object):
|
|
|
430
426
|
_request_timeout=params.get('_request_timeout'),
|
|
431
427
|
collection_formats=collection_formats)
|
|
432
428
|
|
|
429
|
+
def post_experiment_by_id(self, id, **kwargs): # noqa: E501
|
|
430
|
+
"""Duplicate an experiment with its ID # noqa: E501
|
|
431
|
+
|
|
432
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
433
|
+
asynchronous HTTP request, please pass async_req=True
|
|
434
|
+
>>> thread = api.post_experiment_by_id(id, async_req=True)
|
|
435
|
+
>>> result = thread.get()
|
|
436
|
+
|
|
437
|
+
:param async_req bool
|
|
438
|
+
:param int id: The unique identifier of the experiment to duplicate. (required)
|
|
439
|
+
:param ExperimentsIdBody body: Parameters for duplicating an experiment
|
|
440
|
+
:return: None
|
|
441
|
+
If the method is called asynchronously,
|
|
442
|
+
returns the request thread.
|
|
443
|
+
"""
|
|
444
|
+
kwargs['_return_http_data_only'] = True
|
|
445
|
+
if kwargs.get('async_req'):
|
|
446
|
+
return self.post_experiment_by_id_with_http_info(id, **kwargs) # noqa: E501
|
|
447
|
+
else:
|
|
448
|
+
(data) = self.post_experiment_by_id_with_http_info(id, **kwargs) # noqa: E501
|
|
449
|
+
return data
|
|
450
|
+
|
|
451
|
+
def post_experiment_by_id_with_http_info(self, id, **kwargs): # noqa: E501
|
|
452
|
+
"""Duplicate an experiment with its ID # noqa: E501
|
|
453
|
+
|
|
454
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
455
|
+
asynchronous HTTP request, please pass async_req=True
|
|
456
|
+
>>> thread = api.post_experiment_by_id_with_http_info(id, async_req=True)
|
|
457
|
+
>>> result = thread.get()
|
|
458
|
+
|
|
459
|
+
:param async_req bool
|
|
460
|
+
:param int id: The unique identifier of the experiment to duplicate. (required)
|
|
461
|
+
:param ExperimentsIdBody body: Parameters for duplicating an experiment
|
|
462
|
+
:return: None
|
|
463
|
+
If the method is called asynchronously,
|
|
464
|
+
returns the request thread.
|
|
465
|
+
"""
|
|
466
|
+
|
|
467
|
+
all_params = ['id', 'body'] # noqa: E501
|
|
468
|
+
all_params.append('async_req')
|
|
469
|
+
all_params.append('_return_http_data_only')
|
|
470
|
+
all_params.append('_preload_content')
|
|
471
|
+
all_params.append('_request_timeout')
|
|
472
|
+
|
|
473
|
+
params = locals()
|
|
474
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
475
|
+
if key not in all_params:
|
|
476
|
+
raise TypeError(
|
|
477
|
+
"Got an unexpected keyword argument '%s'"
|
|
478
|
+
" to method post_experiment_by_id" % key
|
|
479
|
+
)
|
|
480
|
+
params[key] = val
|
|
481
|
+
del params['kwargs']
|
|
482
|
+
# verify the required parameter 'id' is set
|
|
483
|
+
if ('id' not in params or
|
|
484
|
+
params['id'] is None):
|
|
485
|
+
raise ValueError("Missing the required parameter `id` when calling `post_experiment_by_id`") # noqa: E501
|
|
486
|
+
|
|
487
|
+
collection_formats = {}
|
|
488
|
+
|
|
489
|
+
path_params = {}
|
|
490
|
+
if 'id' in params:
|
|
491
|
+
path_params['id'] = params['id'] # noqa: E501
|
|
492
|
+
|
|
493
|
+
query_params = []
|
|
494
|
+
|
|
495
|
+
header_params = {}
|
|
496
|
+
|
|
497
|
+
form_params = []
|
|
498
|
+
local_var_files = {}
|
|
499
|
+
|
|
500
|
+
body_params = None
|
|
501
|
+
if 'body' in params:
|
|
502
|
+
body_params = params['body']
|
|
503
|
+
# HTTP header `Content-Type`
|
|
504
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
505
|
+
['application/json']) # noqa: E501
|
|
506
|
+
|
|
507
|
+
# Authentication setting
|
|
508
|
+
auth_settings = ['token'] # noqa: E501
|
|
509
|
+
|
|
510
|
+
return self.api_client.call_api(
|
|
511
|
+
'/experiments/{id}', 'POST',
|
|
512
|
+
path_params,
|
|
513
|
+
query_params,
|
|
514
|
+
header_params,
|
|
515
|
+
body=body_params,
|
|
516
|
+
post_params=form_params,
|
|
517
|
+
files=local_var_files,
|
|
518
|
+
response_type=None, # noqa: E501
|
|
519
|
+
auth_settings=auth_settings,
|
|
520
|
+
async_req=params.get('async_req'),
|
|
521
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
522
|
+
_preload_content=params.get('_preload_content', True),
|
|
523
|
+
_request_timeout=params.get('_request_timeout'),
|
|
524
|
+
collection_formats=collection_formats)
|
|
525
|
+
|
|
433
526
|
def read_experiments(self, **kwargs): # noqa: E501
|
|
434
527
|
"""Read all experiments that are accessible # noqa: E501
|
|
435
528
|
|
|
@@ -441,16 +534,18 @@ class ExperimentsApi(object):
|
|
|
441
534
|
:param async_req bool
|
|
442
535
|
:param str q: Search for a term in title, body or elabid.
|
|
443
536
|
:param str extended: Extended search (advanced query).
|
|
444
|
-
:param int related: Look only for entries linked to this
|
|
537
|
+
:param int related: Look only for entries linked to this entry id.
|
|
445
538
|
:param str related_origin: When using the \"related\" query parameter, select the type of the related ID (experiments or items)
|
|
446
|
-
:param
|
|
539
|
+
:param str cat: Add a filter on the Category. Supports comma separated list of numbers, including \"null\".
|
|
540
|
+
:param str status: Add a filter on the Status. Supports comma separated list of numbers, including \"null\".
|
|
447
541
|
:param list[str] tags: An array of tags for filtering results containing all of these tags.
|
|
448
542
|
:param int limit: Limit the number of results.
|
|
449
543
|
:param int offset: Skip a number of results. Use with limit to work the pagination.
|
|
450
|
-
:param
|
|
544
|
+
:param str owner: Filter results by author (user id)
|
|
451
545
|
:param int scope: Set the scope for the results. 1: self, 2: team, 3: everything. It defaults to the user value stored in preferences.
|
|
452
546
|
:param str order: Change the ordering of the results.
|
|
453
547
|
:param str sort: Change the sorting of results: ascending or descending.
|
|
548
|
+
:param str state: Filter results based on their state: 1 (Normal), 2 (Archived), 3 (Deleted). Supports comma separated values.
|
|
454
549
|
:return: list[Experiment]
|
|
455
550
|
If the method is called asynchronously,
|
|
456
551
|
returns the request thread.
|
|
@@ -473,22 +568,24 @@ class ExperimentsApi(object):
|
|
|
473
568
|
:param async_req bool
|
|
474
569
|
:param str q: Search for a term in title, body or elabid.
|
|
475
570
|
:param str extended: Extended search (advanced query).
|
|
476
|
-
:param int related: Look only for entries linked to this
|
|
571
|
+
:param int related: Look only for entries linked to this entry id.
|
|
477
572
|
:param str related_origin: When using the \"related\" query parameter, select the type of the related ID (experiments or items)
|
|
478
|
-
:param
|
|
573
|
+
:param str cat: Add a filter on the Category. Supports comma separated list of numbers, including \"null\".
|
|
574
|
+
:param str status: Add a filter on the Status. Supports comma separated list of numbers, including \"null\".
|
|
479
575
|
:param list[str] tags: An array of tags for filtering results containing all of these tags.
|
|
480
576
|
:param int limit: Limit the number of results.
|
|
481
577
|
:param int offset: Skip a number of results. Use with limit to work the pagination.
|
|
482
|
-
:param
|
|
578
|
+
:param str owner: Filter results by author (user id)
|
|
483
579
|
:param int scope: Set the scope for the results. 1: self, 2: team, 3: everything. It defaults to the user value stored in preferences.
|
|
484
580
|
:param str order: Change the ordering of the results.
|
|
485
581
|
:param str sort: Change the sorting of results: ascending or descending.
|
|
582
|
+
:param str state: Filter results based on their state: 1 (Normal), 2 (Archived), 3 (Deleted). Supports comma separated values.
|
|
486
583
|
:return: list[Experiment]
|
|
487
584
|
If the method is called asynchronously,
|
|
488
585
|
returns the request thread.
|
|
489
586
|
"""
|
|
490
587
|
|
|
491
|
-
all_params = ['q', 'extended', 'related', 'related_origin', 'cat', 'tags', 'limit', 'offset', 'owner', 'scope', 'order', 'sort'] # noqa: E501
|
|
588
|
+
all_params = ['q', 'extended', 'related', 'related_origin', 'cat', 'status', 'tags', 'limit', 'offset', 'owner', 'scope', 'order', 'sort', 'state'] # noqa: E501
|
|
492
589
|
all_params.append('async_req')
|
|
493
590
|
all_params.append('_return_http_data_only')
|
|
494
591
|
all_params.append('_preload_content')
|
|
@@ -519,6 +616,8 @@ class ExperimentsApi(object):
|
|
|
519
616
|
query_params.append(('related_origin', params['related_origin'])) # noqa: E501
|
|
520
617
|
if 'cat' in params:
|
|
521
618
|
query_params.append(('cat', params['cat'])) # noqa: E501
|
|
619
|
+
if 'status' in params:
|
|
620
|
+
query_params.append(('status', params['status'])) # noqa: E501
|
|
522
621
|
if 'tags' in params:
|
|
523
622
|
query_params.append(('tags[]', params['tags'])) # noqa: E501
|
|
524
623
|
collection_formats['tags[]'] = 'multi' # noqa: E501
|
|
@@ -534,6 +633,8 @@ class ExperimentsApi(object):
|
|
|
534
633
|
query_params.append(('order', params['order'])) # noqa: E501
|
|
535
634
|
if 'sort' in params:
|
|
536
635
|
query_params.append(('sort', params['sort'])) # noqa: E501
|
|
636
|
+
if 'state' in params:
|
|
637
|
+
query_params.append(('state', params['state'])) # noqa: E501
|
|
537
638
|
|
|
538
639
|
header_params = {}
|
|
539
640
|
|
{elabapi_python-5.1.0 → elabapi_python-5.2.0}/elabapi_python/api/experiments_categories_api.py
RENAMED
|
@@ -110,10 +110,6 @@ class ExperimentsCategoriesApi(object):
|
|
|
110
110
|
local_var_files = {}
|
|
111
111
|
|
|
112
112
|
body_params = None
|
|
113
|
-
# HTTP header `Content-Type`
|
|
114
|
-
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
115
|
-
['application/json']) # noqa: E501
|
|
116
|
-
|
|
117
113
|
# Authentication setting
|
|
118
114
|
auth_settings = ['token'] # noqa: E501
|
|
119
115
|
|
|
@@ -110,10 +110,6 @@ class ExperimentsStatusApi(object):
|
|
|
110
110
|
local_var_files = {}
|
|
111
111
|
|
|
112
112
|
body_params = None
|
|
113
|
-
# HTTP header `Content-Type`
|
|
114
|
-
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
115
|
-
['application/json']) # noqa: E501
|
|
116
|
-
|
|
117
113
|
# Authentication setting
|
|
118
114
|
auth_settings = ['token'] # noqa: E501
|
|
119
115
|
|