elabapi-python 5.3.0__tar.gz → 5.3.1__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.3.0 → elabapi_python-5.3.1}/PKG-INFO +1 -1
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/README.md +15 -8
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/elabapi_python/__init__.py +5 -3
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/elabapi_python/api/__init__.py +2 -1
- elabapi_python-5.3.0/elabapi_python/api/items_types_api.py → elabapi_python-5.3.1/elabapi_python/api/items_types__resources_templates_api.py +129 -32
- elabapi_python-5.3.1/elabapi_python/api/resources_categories_api.py +530 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/elabapi_python/api_client.py +1 -1
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/elabapi_python/configuration.py +1 -1
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/elabapi_python/models/__init__.py +3 -2
- elabapi_python-5.3.1/elabapi_python/models/id_resources_categories_body.py +168 -0
- elabapi_python-5.3.1/elabapi_python/models/items_types_id_body.py +140 -0
- elabapi_python-5.3.1/elabapi_python/models/items_types_id_body1.py +84 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/elabapi_python/models/step.py +37 -3
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/elabapi_python/models/steps_subid_body.py +89 -3
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/elabapi_python.egg-info/PKG-INFO +1 -1
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/elabapi_python.egg-info/SOURCES.txt +10 -6
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/setup.py +1 -1
- elabapi_python-5.3.1/test/test_id_resources_categories_body.py +39 -0
- elabapi_python-5.3.0/test/test_items_types_api.py → elabapi_python-5.3.1/test/test_items_types__resources_templates_api.py +16 -9
- elabapi_python-5.3.1/test/test_items_types_id_body.py +39 -0
- elabapi_python-5.3.1/test/test_items_types_id_body1.py +39 -0
- elabapi_python-5.3.1/test/test_resources_categories_api.py +68 -0
- elabapi_python-5.3.0/elabapi_python/models/items_type.py +0 -318
- elabapi_python-5.3.0/elabapi_python/models/items_types_body.py +0 -118
- elabapi_python-5.3.0/test/test_items_type.py +0 -39
- elabapi_python-5.3.0/test/test_items_types_body.py +0 -39
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/elabapi_python/api/api_keys_api.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/elabapi_python/api/comments_api.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/elabapi_python/api/compounds_api.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/elabapi_python/api/config_api.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/elabapi_python/api/events_api.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/elabapi_python/api/experiments_api.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/elabapi_python/api/experiments_categories_api.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/elabapi_python/api/experiments_status_api.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/elabapi_python/api/experiments_templates_api.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/elabapi_python/api/exports_api.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/elabapi_python/api/extra_fields_keys_api.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/elabapi_python/api/favorite_tags_api.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/elabapi_python/api/idps_api.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/elabapi_python/api/import_api.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/elabapi_python/api/info_api.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/elabapi_python/api/items_api.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/elabapi_python/api/links_to_experiments_api.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/elabapi_python/api/links_to_items_api.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/elabapi_python/api/notifications_api.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/elabapi_python/api/reports_api.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/elabapi_python/api/resources_status_api.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/elabapi_python/api/revisions_api.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/elabapi_python/api/steps_api.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/elabapi_python/api/tags_api.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/elabapi_python/api/team_tags_api.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/elabapi_python/api/teamgroups_api.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/elabapi_python/api/teams_api.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/elabapi_python/api/todolist_api.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/elabapi_python/api/unfinished_steps_api.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/elabapi_python/api/uploads_api.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/elabapi_python/api/user_uploads_api.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/elabapi_python/api/users_api.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/elabapi_python/models/any_ofuploads_subid_body1.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/elabapi_python/models/apikey.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/elabapi_python/models/apikeys_body.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/elabapi_python/models/comment.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/elabapi_python/models/compound.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/elabapi_python/models/compound_create_request.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/elabapi_python/models/compound_duplicate_request.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/elabapi_python/models/compounds_body.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/elabapi_python/models/config.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/elabapi_python/models/entity.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/elabapi_python/models/entity_editable.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/elabapi_python/models/entity_template.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/elabapi_python/models/entity_template_editable.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/elabapi_python/models/event.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/elabapi_python/models/event_id_body.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/elabapi_python/models/eventid_delta.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/elabapi_python/models/events_id_body.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/elabapi_python/models/exclusive_edit_mode.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/elabapi_python/models/experiment.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/elabapi_python/models/experiments_body.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/elabapi_python/models/experiments_id_body.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/elabapi_python/models/experiments_id_body1.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/elabapi_python/models/experiments_links_subid_body.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/elabapi_python/models/experiments_templates_id_body.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/elabapi_python/models/experiments_templates_id_body1.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/elabapi_python/models/export.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/elabapi_python/models/exports_body.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/elabapi_python/models/extra_fields_keys.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/elabapi_python/models/favtags_body.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/elabapi_python/models/id.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/elabapi_python/models/id1.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/elabapi_python/models/id2.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/elabapi_python/models/id3.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/elabapi_python/models/id4.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/elabapi_python/models/id_comments_body.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/elabapi_python/models/id_experiments_categories_body.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/elabapi_python/models/id_experiments_status_body.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/elabapi_python/models/id_items_status_body.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/elabapi_python/models/id_steps_body.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/elabapi_python/models/id_tags_body.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/elabapi_python/models/id_tags_body1.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/elabapi_python/models/id_teamgroups_body.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/elabapi_python/models/id_uploads_body.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/elabapi_python/models/idp.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/elabapi_python/models/idps_body.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/elabapi_python/models/idps_id_body.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/elabapi_python/models/import_body.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/elabapi_python/models/inline_response200.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/elabapi_python/models/inline_response2001.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/elabapi_python/models/inline_response2002.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/elabapi_python/models/inline_response2003.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/elabapi_python/models/inline_response2003_query_parameters.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/elabapi_python/models/inline_response2004.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/elabapi_python/models/inline_response2005.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/elabapi_python/models/inline_response2006.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/elabapi_python/models/inline_response2007.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/elabapi_python/models/item.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/elabapi_python/models/items_id_body.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/elabapi_python/models/items_id_body1.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/elabapi_python/models/items_links_subid_body.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/elabapi_python/models/link.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/elabapi_python/models/metadata.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/elabapi_python/models/metadata_elabftw.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/elabapi_python/models/metadata_elabftw_extra_fields_groups.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/elabapi_python/models/metadata_extra_fields.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/elabapi_python/models/notification.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/elabapi_python/models/one_of_compound_duplicate_request.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/elabapi_python/models/revision.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/elabapi_python/models/revisions_subid_body.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/elabapi_python/models/statuslike.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/elabapi_python/models/tag.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/elabapi_python/models/tags_subid_body.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/elabapi_python/models/tags_subid_body1.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/elabapi_python/models/team.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/elabapi_python/models/teamgroup.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/elabapi_python/models/teamgroup_users.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/elabapi_python/models/teamgroups_subid_body.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/elabapi_python/models/teams_body.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/elabapi_python/models/teams_id_body.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/elabapi_python/models/todoitem.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/elabapi_python/models/todolist_body.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/elabapi_python/models/todolist_id_body.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/elabapi_python/models/unfinished_step.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/elabapi_python/models/unfinished_steps.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/elabapi_python/models/upload.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/elabapi_python/models/uploads_subid_body.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/elabapi_python/models/uploads_subid_body1.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/elabapi_python/models/users.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/elabapi_python/models/users_body.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/elabapi_python/models/users_full.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/elabapi_python/models/users_full_teams.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/elabapi_python/models/users_id_body.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/elabapi_python/rest.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/elabapi_python.egg-info/dependency_links.txt +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/elabapi_python.egg-info/requires.txt +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/elabapi_python.egg-info/top_level.txt +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/setup.cfg +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/test/__init__.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/test/test_any_ofuploads_subid_body1.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/test/test_api_keys_api.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/test/test_apikey.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/test/test_apikeys_body.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/test/test_comment.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/test/test_comments_api.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/test/test_compound.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/test/test_compound_create_request.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/test/test_compound_duplicate_request.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/test/test_compounds_api.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/test/test_compounds_body.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/test/test_config.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/test/test_config_api.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/test/test_entity.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/test/test_entity_editable.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/test/test_entity_template.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/test/test_entity_template_editable.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/test/test_event.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/test/test_event_id_body.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/test/test_eventid_delta.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/test/test_events_api.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/test/test_events_id_body.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/test/test_exclusive_edit_mode.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/test/test_experiment.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/test/test_experiments_api.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/test/test_experiments_body.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/test/test_experiments_categories_api.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/test/test_experiments_id_body.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/test/test_experiments_id_body1.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/test/test_experiments_links_subid_body.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/test/test_experiments_status_api.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/test/test_experiments_templates_api.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/test/test_experiments_templates_id_body.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/test/test_experiments_templates_id_body1.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/test/test_export.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/test/test_exports_api.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/test/test_exports_body.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/test/test_extra_fields_keys.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/test/test_extra_fields_keys_api.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/test/test_favorite_tags_api.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/test/test_favtags_body.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/test/test_id.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/test/test_id1.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/test/test_id2.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/test/test_id3.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/test/test_id4.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/test/test_id_comments_body.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/test/test_id_experiments_categories_body.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/test/test_id_experiments_status_body.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/test/test_id_items_status_body.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/test/test_id_steps_body.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/test/test_id_tags_body.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/test/test_id_tags_body1.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/test/test_id_teamgroups_body.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/test/test_id_uploads_body.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/test/test_idp.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/test/test_idps_api.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/test/test_idps_body.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/test/test_idps_id_body.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/test/test_import_api.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/test/test_import_body.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/test/test_info_api.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/test/test_inline_response200.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/test/test_inline_response2001.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/test/test_inline_response2002.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/test/test_inline_response2003.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/test/test_inline_response2003_query_parameters.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/test/test_inline_response2004.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/test/test_inline_response2005.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/test/test_inline_response2006.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/test/test_inline_response2007.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/test/test_item.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/test/test_items_api.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/test/test_items_id_body.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/test/test_items_id_body1.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/test/test_items_links_subid_body.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/test/test_link.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/test/test_links_to_experiments_api.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/test/test_links_to_items_api.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/test/test_metadata.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/test/test_metadata_elabftw.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/test/test_metadata_elabftw_extra_fields_groups.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/test/test_metadata_extra_fields.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/test/test_notification.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/test/test_notifications_api.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/test/test_one_of_compound_duplicate_request.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/test/test_reports_api.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/test/test_resources_status_api.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/test/test_revision.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/test/test_revisions_api.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/test/test_revisions_subid_body.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/test/test_statuslike.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/test/test_step.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/test/test_steps_api.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/test/test_steps_subid_body.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/test/test_tag.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/test/test_tags_api.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/test/test_tags_subid_body.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/test/test_tags_subid_body1.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/test/test_team.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/test/test_team_tags_api.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/test/test_teamgroup.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/test/test_teamgroup_users.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/test/test_teamgroups_api.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/test/test_teamgroups_subid_body.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/test/test_teams_api.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/test/test_teams_body.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/test/test_teams_id_body.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/test/test_todoitem.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/test/test_todolist_api.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/test/test_todolist_body.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/test/test_todolist_id_body.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/test/test_unfinished_step.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/test/test_unfinished_steps.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/test/test_unfinished_steps_api.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/test/test_upload.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/test/test_uploads_api.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/test/test_uploads_subid_body.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/test/test_uploads_subid_body1.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/test/test_user_uploads_api.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/test/test_users.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/test/test_users_api.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/test/test_users_body.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/test/test_users_full.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/test/test_users_full_teams.py +0 -0
- {elabapi_python-5.3.0 → elabapi_python-5.3.1}/test/test_users_id_body.py +0 -0
|
@@ -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.3.
|
|
7
|
+
- Package version: 5.3.1
|
|
8
8
|
- Build package: io.swagger.codegen.v3.generators.python.PythonClientCodegen
|
|
9
9
|
|
|
10
10
|
## Requirements.
|
|
@@ -170,11 +170,12 @@ Class | Method | HTTP request | Description
|
|
|
170
170
|
*ItemsApi* | [**post_item**](docs/ItemsApi.md#post_item) | **POST** /items | Create an item
|
|
171
171
|
*ItemsApi* | [**post_item_by_id**](docs/ItemsApi.md#post_item_by_id) | **POST** /items/{id} | Duplicate an item with its ID
|
|
172
172
|
*ItemsApi* | [**read_items**](docs/ItemsApi.md#read_items) | **GET** /items | Read all items that are accessible
|
|
173
|
-
*
|
|
174
|
-
*
|
|
175
|
-
*
|
|
176
|
-
*
|
|
177
|
-
*
|
|
173
|
+
*ItemsTypesResourcesTemplatesApi* | [**delete_items_type**](docs/ItemsTypesResourcesTemplatesApi.md#delete_items_type) | **DELETE** /items_types/{id} | Delete a resource template.
|
|
174
|
+
*ItemsTypesResourcesTemplatesApi* | [**get_items_type**](docs/ItemsTypesResourcesTemplatesApi.md#get_items_type) | **GET** /items_types/{id} | Read a resource template
|
|
175
|
+
*ItemsTypesResourcesTemplatesApi* | [**patch_items_type**](docs/ItemsTypesResourcesTemplatesApi.md#patch_items_type) | **PATCH** /items_types/{id} | Modify a resource template
|
|
176
|
+
*ItemsTypesResourcesTemplatesApi* | [**post_items_types**](docs/ItemsTypesResourcesTemplatesApi.md#post_items_types) | **POST** /items_types | Create a resource template
|
|
177
|
+
*ItemsTypesResourcesTemplatesApi* | [**post_items_types_by_id**](docs/ItemsTypesResourcesTemplatesApi.md#post_items_types_by_id) | **POST** /items_types/{id} | Duplicate a resource template with its ID
|
|
178
|
+
*ItemsTypesResourcesTemplatesApi* | [**read_items_types**](docs/ItemsTypesResourcesTemplatesApi.md#read_items_types) | **GET** /items_types | Read all resources templates that are accessible
|
|
178
179
|
*LinksToExperimentsApi* | [**delete_entity_experiments_link**](docs/LinksToExperimentsApi.md#delete_entity_experiments_link) | **DELETE** /{entity_type}/{id}/experiments_links/{subid} | Delete an experiment link.
|
|
179
180
|
*LinksToExperimentsApi* | [**post_entity_experiments_links**](docs/LinksToExperimentsApi.md#post_entity_experiments_links) | **POST** /{entity_type}/{id}/experiments_links/{subid} | Create or import a link.
|
|
180
181
|
*LinksToExperimentsApi* | [**read_entity_experiments_links**](docs/LinksToExperimentsApi.md#read_entity_experiments_links) | **GET** /{entity_type}/{id}/experiments_links | Read all experiments links of that entity.
|
|
@@ -186,6 +187,11 @@ Class | Method | HTTP request | Description
|
|
|
186
187
|
*NotificationsApi* | [**read_notification**](docs/NotificationsApi.md#read_notification) | **GET** /users/{id}/notifications/{subid} | Read a notification.
|
|
187
188
|
*NotificationsApi* | [**read_notifications**](docs/NotificationsApi.md#read_notifications) | **GET** /users/{id}/notifications | Read notifications of a user.
|
|
188
189
|
*ReportsApi* | [**get_reports**](docs/ReportsApi.md#get_reports) | **GET** /reports | Get usage reports
|
|
190
|
+
*ResourcesCategoriesApi* | [**delete_rescat**](docs/ResourcesCategoriesApi.md#delete_rescat) | **DELETE** /teams/{id}/resources_categories/{subid} | Delete a category.
|
|
191
|
+
*ResourcesCategoriesApi* | [**patch_rescat**](docs/ResourcesCategoriesApi.md#patch_rescat) | **PATCH** /teams/{id}/resources_categories/{subid} | Modify a category.
|
|
192
|
+
*ResourcesCategoriesApi* | [**post_team_one_rescat**](docs/ResourcesCategoriesApi.md#post_team_one_rescat) | **POST** /teams/{id}/resources_categories | Create a new category for resources.
|
|
193
|
+
*ResourcesCategoriesApi* | [**read_team_one_rescat**](docs/ResourcesCategoriesApi.md#read_team_one_rescat) | **GET** /teams/{id}/resources_categories/{subid} | Read a category.
|
|
194
|
+
*ResourcesCategoriesApi* | [**read_team_resources_categories**](docs/ResourcesCategoriesApi.md#read_team_resources_categories) | **GET** /teams/{id}/resources_categories | Read resources categories of a team.
|
|
189
195
|
*ResourcesStatusApi* | [**delete_resstatus**](docs/ResourcesStatusApi.md#delete_resstatus) | **DELETE** /teams/{id}/items_status/{subid} | Delete a status.
|
|
190
196
|
*ResourcesStatusApi* | [**patch_resstatus**](docs/ResourcesStatusApi.md#patch_resstatus) | **PATCH** /teams/{id}/items_status/{subid} | Modify a status.
|
|
191
197
|
*ResourcesStatusApi* | [**post_team_one_resstat**](docs/ResourcesStatusApi.md#post_team_one_resstat) | **POST** /teams/{id}/items_status | Create a new status for resources.
|
|
@@ -275,6 +281,7 @@ Class | Method | HTTP request | Description
|
|
|
275
281
|
- [IdExperimentsCategoriesBody](docs/IdExperimentsCategoriesBody.md)
|
|
276
282
|
- [IdExperimentsStatusBody](docs/IdExperimentsStatusBody.md)
|
|
277
283
|
- [IdItemsStatusBody](docs/IdItemsStatusBody.md)
|
|
284
|
+
- [IdResourcesCategoriesBody](docs/IdResourcesCategoriesBody.md)
|
|
278
285
|
- [IdStepsBody](docs/IdStepsBody.md)
|
|
279
286
|
- [IdTagsBody](docs/IdTagsBody.md)
|
|
280
287
|
- [IdTagsBody1](docs/IdTagsBody1.md)
|
|
@@ -297,8 +304,8 @@ Class | Method | HTTP request | Description
|
|
|
297
304
|
- [ItemsIdBody](docs/ItemsIdBody.md)
|
|
298
305
|
- [ItemsIdBody1](docs/ItemsIdBody1.md)
|
|
299
306
|
- [ItemsLinksSubidBody](docs/ItemsLinksSubidBody.md)
|
|
300
|
-
- [
|
|
301
|
-
- [
|
|
307
|
+
- [ItemsTypesIdBody](docs/ItemsTypesIdBody.md)
|
|
308
|
+
- [ItemsTypesIdBody1](docs/ItemsTypesIdBody1.md)
|
|
302
309
|
- [Link](docs/Link.md)
|
|
303
310
|
- [Metadata](docs/Metadata.md)
|
|
304
311
|
- [MetadataElabftw](docs/MetadataElabftw.md)
|
|
@@ -31,11 +31,12 @@ from elabapi_python.api.idps_api import IdpsApi
|
|
|
31
31
|
from elabapi_python.api.import_api import ImportApi
|
|
32
32
|
from elabapi_python.api.info_api import InfoApi
|
|
33
33
|
from elabapi_python.api.items_api import ItemsApi
|
|
34
|
-
from elabapi_python.api.
|
|
34
|
+
from elabapi_python.api.items_types__resources_templates_api import ItemsTypesResourcesTemplatesApi
|
|
35
35
|
from elabapi_python.api.links_to_experiments_api import LinksToExperimentsApi
|
|
36
36
|
from elabapi_python.api.links_to_items_api import LinksToItemsApi
|
|
37
37
|
from elabapi_python.api.notifications_api import NotificationsApi
|
|
38
38
|
from elabapi_python.api.reports_api import ReportsApi
|
|
39
|
+
from elabapi_python.api.resources_categories_api import ResourcesCategoriesApi
|
|
39
40
|
from elabapi_python.api.resources_status_api import ResourcesStatusApi
|
|
40
41
|
from elabapi_python.api.revisions_api import RevisionsApi
|
|
41
42
|
from elabapi_python.api.steps_api import StepsApi
|
|
@@ -90,6 +91,7 @@ from elabapi_python.models.id_comments_body import IdCommentsBody
|
|
|
90
91
|
from elabapi_python.models.id_experiments_categories_body import IdExperimentsCategoriesBody
|
|
91
92
|
from elabapi_python.models.id_experiments_status_body import IdExperimentsStatusBody
|
|
92
93
|
from elabapi_python.models.id_items_status_body import IdItemsStatusBody
|
|
94
|
+
from elabapi_python.models.id_resources_categories_body import IdResourcesCategoriesBody
|
|
93
95
|
from elabapi_python.models.id_steps_body import IdStepsBody
|
|
94
96
|
from elabapi_python.models.id_tags_body import IdTagsBody
|
|
95
97
|
from elabapi_python.models.id_tags_body1 import IdTagsBody1
|
|
@@ -112,8 +114,8 @@ from elabapi_python.models.item import Item
|
|
|
112
114
|
from elabapi_python.models.items_id_body import ItemsIdBody
|
|
113
115
|
from elabapi_python.models.items_id_body1 import ItemsIdBody1
|
|
114
116
|
from elabapi_python.models.items_links_subid_body import ItemsLinksSubidBody
|
|
115
|
-
from elabapi_python.models.
|
|
116
|
-
from elabapi_python.models.
|
|
117
|
+
from elabapi_python.models.items_types_id_body import ItemsTypesIdBody
|
|
118
|
+
from elabapi_python.models.items_types_id_body1 import ItemsTypesIdBody1
|
|
117
119
|
from elabapi_python.models.link import Link
|
|
118
120
|
from elabapi_python.models.metadata import Metadata
|
|
119
121
|
from elabapi_python.models.metadata_elabftw import MetadataElabftw
|
|
@@ -19,11 +19,12 @@ from elabapi_python.api.idps_api import IdpsApi
|
|
|
19
19
|
from elabapi_python.api.import_api import ImportApi
|
|
20
20
|
from elabapi_python.api.info_api import InfoApi
|
|
21
21
|
from elabapi_python.api.items_api import ItemsApi
|
|
22
|
-
from elabapi_python.api.
|
|
22
|
+
from elabapi_python.api.items_types__resources_templates_api import ItemsTypesResourcesTemplatesApi
|
|
23
23
|
from elabapi_python.api.links_to_experiments_api import LinksToExperimentsApi
|
|
24
24
|
from elabapi_python.api.links_to_items_api import LinksToItemsApi
|
|
25
25
|
from elabapi_python.api.notifications_api import NotificationsApi
|
|
26
26
|
from elabapi_python.api.reports_api import ReportsApi
|
|
27
|
+
from elabapi_python.api.resources_categories_api import ResourcesCategoriesApi
|
|
27
28
|
from elabapi_python.api.resources_status_api import ResourcesStatusApi
|
|
28
29
|
from elabapi_python.api.revisions_api import RevisionsApi
|
|
29
30
|
from elabapi_python.api.steps_api import StepsApi
|
|
@@ -20,7 +20,7 @@ import six
|
|
|
20
20
|
from elabapi_python.api_client import ApiClient
|
|
21
21
|
|
|
22
22
|
|
|
23
|
-
class
|
|
23
|
+
class ItemsTypesResourcesTemplatesApi(object):
|
|
24
24
|
"""NOTE: This class is auto generated by the swagger code generator program.
|
|
25
25
|
|
|
26
26
|
Do not edit the class manually.
|
|
@@ -33,16 +33,16 @@ class ItemsTypesApi(object):
|
|
|
33
33
|
self.api_client = api_client
|
|
34
34
|
|
|
35
35
|
def delete_items_type(self, id, **kwargs): # noqa: E501
|
|
36
|
-
"""Delete a resource
|
|
36
|
+
"""Delete a resource template. # noqa: E501
|
|
37
37
|
|
|
38
|
-
The resource
|
|
38
|
+
The resource template gets soft-deleted. # noqa: E501
|
|
39
39
|
This method makes a synchronous HTTP request by default. To make an
|
|
40
40
|
asynchronous HTTP request, please pass async_req=True
|
|
41
41
|
>>> thread = api.delete_items_type(id, async_req=True)
|
|
42
42
|
>>> result = thread.get()
|
|
43
43
|
|
|
44
44
|
:param async_req bool
|
|
45
|
-
:param int id: ID of the resource
|
|
45
|
+
:param int id: ID of the resource template (required)
|
|
46
46
|
:return: None
|
|
47
47
|
If the method is called asynchronously,
|
|
48
48
|
returns the request thread.
|
|
@@ -55,16 +55,16 @@ class ItemsTypesApi(object):
|
|
|
55
55
|
return data
|
|
56
56
|
|
|
57
57
|
def delete_items_type_with_http_info(self, id, **kwargs): # noqa: E501
|
|
58
|
-
"""Delete a resource
|
|
58
|
+
"""Delete a resource template. # noqa: E501
|
|
59
59
|
|
|
60
|
-
The resource
|
|
60
|
+
The resource template gets soft-deleted. # noqa: E501
|
|
61
61
|
This method makes a synchronous HTTP request by default. To make an
|
|
62
62
|
asynchronous HTTP request, please pass async_req=True
|
|
63
63
|
>>> thread = api.delete_items_type_with_http_info(id, async_req=True)
|
|
64
64
|
>>> result = thread.get()
|
|
65
65
|
|
|
66
66
|
:param async_req bool
|
|
67
|
-
:param int id: ID of the resource
|
|
67
|
+
:param int id: ID of the resource template (required)
|
|
68
68
|
:return: None
|
|
69
69
|
If the method is called asynchronously,
|
|
70
70
|
returns the request thread.
|
|
@@ -124,7 +124,7 @@ class ItemsTypesApi(object):
|
|
|
124
124
|
collection_formats=collection_formats)
|
|
125
125
|
|
|
126
126
|
def get_items_type(self, id, **kwargs): # noqa: E501
|
|
127
|
-
"""Read a resource
|
|
127
|
+
"""Read a resource template # noqa: E501
|
|
128
128
|
|
|
129
129
|
This method makes a synchronous HTTP request by default. To make an
|
|
130
130
|
asynchronous HTTP request, please pass async_req=True
|
|
@@ -132,8 +132,8 @@ class ItemsTypesApi(object):
|
|
|
132
132
|
>>> result = thread.get()
|
|
133
133
|
|
|
134
134
|
:param async_req bool
|
|
135
|
-
:param int id: ID of the resource
|
|
136
|
-
:return:
|
|
135
|
+
:param int id: ID of the resource template (required)
|
|
136
|
+
:return: EntityTemplate
|
|
137
137
|
If the method is called asynchronously,
|
|
138
138
|
returns the request thread.
|
|
139
139
|
"""
|
|
@@ -145,7 +145,7 @@ class ItemsTypesApi(object):
|
|
|
145
145
|
return data
|
|
146
146
|
|
|
147
147
|
def get_items_type_with_http_info(self, id, **kwargs): # noqa: E501
|
|
148
|
-
"""Read a resource
|
|
148
|
+
"""Read a resource template # noqa: E501
|
|
149
149
|
|
|
150
150
|
This method makes a synchronous HTTP request by default. To make an
|
|
151
151
|
asynchronous HTTP request, please pass async_req=True
|
|
@@ -153,8 +153,8 @@ class ItemsTypesApi(object):
|
|
|
153
153
|
>>> result = thread.get()
|
|
154
154
|
|
|
155
155
|
:param async_req bool
|
|
156
|
-
:param int id: ID of the resource
|
|
157
|
-
:return:
|
|
156
|
+
:param int id: ID of the resource template (required)
|
|
157
|
+
:return: EntityTemplate
|
|
158
158
|
If the method is called asynchronously,
|
|
159
159
|
returns the request thread.
|
|
160
160
|
"""
|
|
@@ -208,7 +208,7 @@ class ItemsTypesApi(object):
|
|
|
208
208
|
body=body_params,
|
|
209
209
|
post_params=form_params,
|
|
210
210
|
files=local_var_files,
|
|
211
|
-
response_type='
|
|
211
|
+
response_type='EntityTemplate', # noqa: E501
|
|
212
212
|
auth_settings=auth_settings,
|
|
213
213
|
async_req=params.get('async_req'),
|
|
214
214
|
_return_http_data_only=params.get('_return_http_data_only'),
|
|
@@ -217,7 +217,7 @@ class ItemsTypesApi(object):
|
|
|
217
217
|
collection_formats=collection_formats)
|
|
218
218
|
|
|
219
219
|
def patch_items_type(self, id, **kwargs): # noqa: E501
|
|
220
|
-
"""Modify a resource
|
|
220
|
+
"""Modify a resource template # noqa: E501
|
|
221
221
|
|
|
222
222
|
This method makes a synchronous HTTP request by default. To make an
|
|
223
223
|
asynchronous HTTP request, please pass async_req=True
|
|
@@ -225,9 +225,9 @@ class ItemsTypesApi(object):
|
|
|
225
225
|
>>> result = thread.get()
|
|
226
226
|
|
|
227
227
|
:param async_req bool
|
|
228
|
-
:param int id: ID of the resource
|
|
229
|
-
:param
|
|
230
|
-
:return:
|
|
228
|
+
:param int id: ID of the resource template (required)
|
|
229
|
+
:param ItemsTypesIdBody1 body: Parameters for modifying a resource template
|
|
230
|
+
:return: EntityTemplate
|
|
231
231
|
If the method is called asynchronously,
|
|
232
232
|
returns the request thread.
|
|
233
233
|
"""
|
|
@@ -239,7 +239,7 @@ class ItemsTypesApi(object):
|
|
|
239
239
|
return data
|
|
240
240
|
|
|
241
241
|
def patch_items_type_with_http_info(self, id, **kwargs): # noqa: E501
|
|
242
|
-
"""Modify a resource
|
|
242
|
+
"""Modify a resource template # noqa: E501
|
|
243
243
|
|
|
244
244
|
This method makes a synchronous HTTP request by default. To make an
|
|
245
245
|
asynchronous HTTP request, please pass async_req=True
|
|
@@ -247,9 +247,9 @@ class ItemsTypesApi(object):
|
|
|
247
247
|
>>> result = thread.get()
|
|
248
248
|
|
|
249
249
|
:param async_req bool
|
|
250
|
-
:param int id: ID of the resource
|
|
251
|
-
:param
|
|
252
|
-
:return:
|
|
250
|
+
:param int id: ID of the resource template (required)
|
|
251
|
+
:param ItemsTypesIdBody1 body: Parameters for modifying a resource template
|
|
252
|
+
:return: EntityTemplate
|
|
253
253
|
If the method is called asynchronously,
|
|
254
254
|
returns the request thread.
|
|
255
255
|
"""
|
|
@@ -309,7 +309,7 @@ class ItemsTypesApi(object):
|
|
|
309
309
|
body=body_params,
|
|
310
310
|
post_params=form_params,
|
|
311
311
|
files=local_var_files,
|
|
312
|
-
response_type='
|
|
312
|
+
response_type='EntityTemplate', # noqa: E501
|
|
313
313
|
auth_settings=auth_settings,
|
|
314
314
|
async_req=params.get('async_req'),
|
|
315
315
|
_return_http_data_only=params.get('_return_http_data_only'),
|
|
@@ -318,7 +318,7 @@ class ItemsTypesApi(object):
|
|
|
318
318
|
collection_formats=collection_formats)
|
|
319
319
|
|
|
320
320
|
def post_items_types(self, **kwargs): # noqa: E501
|
|
321
|
-
"""Create a resource
|
|
321
|
+
"""Create a resource template # noqa: E501
|
|
322
322
|
|
|
323
323
|
This method makes a synchronous HTTP request by default. To make an
|
|
324
324
|
asynchronous HTTP request, please pass async_req=True
|
|
@@ -326,7 +326,7 @@ class ItemsTypesApi(object):
|
|
|
326
326
|
>>> result = thread.get()
|
|
327
327
|
|
|
328
328
|
:param async_req bool
|
|
329
|
-
:param
|
|
329
|
+
:param EntityTemplateEditable body: Parameters for creating a resource template
|
|
330
330
|
:return: None
|
|
331
331
|
If the method is called asynchronously,
|
|
332
332
|
returns the request thread.
|
|
@@ -339,7 +339,7 @@ class ItemsTypesApi(object):
|
|
|
339
339
|
return data
|
|
340
340
|
|
|
341
341
|
def post_items_types_with_http_info(self, **kwargs): # noqa: E501
|
|
342
|
-
"""Create a resource
|
|
342
|
+
"""Create a resource template # noqa: E501
|
|
343
343
|
|
|
344
344
|
This method makes a synchronous HTTP request by default. To make an
|
|
345
345
|
asynchronous HTTP request, please pass async_req=True
|
|
@@ -347,7 +347,7 @@ class ItemsTypesApi(object):
|
|
|
347
347
|
>>> result = thread.get()
|
|
348
348
|
|
|
349
349
|
:param async_req bool
|
|
350
|
-
:param
|
|
350
|
+
:param EntityTemplateEditable body: Parameters for creating a resource template
|
|
351
351
|
:return: None
|
|
352
352
|
If the method is called asynchronously,
|
|
353
353
|
returns the request thread.
|
|
@@ -406,8 +406,105 @@ class ItemsTypesApi(object):
|
|
|
406
406
|
_request_timeout=params.get('_request_timeout'),
|
|
407
407
|
collection_formats=collection_formats)
|
|
408
408
|
|
|
409
|
+
def post_items_types_by_id(self, id, **kwargs): # noqa: E501
|
|
410
|
+
"""Duplicate a resource template with its ID # noqa: E501
|
|
411
|
+
|
|
412
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
413
|
+
asynchronous HTTP request, please pass async_req=True
|
|
414
|
+
>>> thread = api.post_items_types_by_id(id, async_req=True)
|
|
415
|
+
>>> result = thread.get()
|
|
416
|
+
|
|
417
|
+
:param async_req bool
|
|
418
|
+
:param int id: The unique identifier of the resource template to duplicate. (required)
|
|
419
|
+
:param ItemsTypesIdBody body: Parameters for duplicating a resource template
|
|
420
|
+
:return: None
|
|
421
|
+
If the method is called asynchronously,
|
|
422
|
+
returns the request thread.
|
|
423
|
+
"""
|
|
424
|
+
kwargs['_return_http_data_only'] = True
|
|
425
|
+
if kwargs.get('async_req'):
|
|
426
|
+
return self.post_items_types_by_id_with_http_info(id, **kwargs) # noqa: E501
|
|
427
|
+
else:
|
|
428
|
+
(data) = self.post_items_types_by_id_with_http_info(id, **kwargs) # noqa: E501
|
|
429
|
+
return data
|
|
430
|
+
|
|
431
|
+
def post_items_types_by_id_with_http_info(self, id, **kwargs): # noqa: E501
|
|
432
|
+
"""Duplicate a resource template with its ID # noqa: E501
|
|
433
|
+
|
|
434
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
435
|
+
asynchronous HTTP request, please pass async_req=True
|
|
436
|
+
>>> thread = api.post_items_types_by_id_with_http_info(id, async_req=True)
|
|
437
|
+
>>> result = thread.get()
|
|
438
|
+
|
|
439
|
+
:param async_req bool
|
|
440
|
+
:param int id: The unique identifier of the resource template to duplicate. (required)
|
|
441
|
+
:param ItemsTypesIdBody body: Parameters for duplicating a resource template
|
|
442
|
+
:return: None
|
|
443
|
+
If the method is called asynchronously,
|
|
444
|
+
returns the request thread.
|
|
445
|
+
"""
|
|
446
|
+
|
|
447
|
+
all_params = ['id', 'body'] # noqa: E501
|
|
448
|
+
all_params.append('async_req')
|
|
449
|
+
all_params.append('_return_http_data_only')
|
|
450
|
+
all_params.append('_preload_content')
|
|
451
|
+
all_params.append('_request_timeout')
|
|
452
|
+
|
|
453
|
+
params = locals()
|
|
454
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
455
|
+
if key not in all_params:
|
|
456
|
+
raise TypeError(
|
|
457
|
+
"Got an unexpected keyword argument '%s'"
|
|
458
|
+
" to method post_items_types_by_id" % key
|
|
459
|
+
)
|
|
460
|
+
params[key] = val
|
|
461
|
+
del params['kwargs']
|
|
462
|
+
# verify the required parameter 'id' is set
|
|
463
|
+
if ('id' not in params or
|
|
464
|
+
params['id'] is None):
|
|
465
|
+
raise ValueError("Missing the required parameter `id` when calling `post_items_types_by_id`") # noqa: E501
|
|
466
|
+
|
|
467
|
+
collection_formats = {}
|
|
468
|
+
|
|
469
|
+
path_params = {}
|
|
470
|
+
if 'id' in params:
|
|
471
|
+
path_params['id'] = params['id'] # noqa: E501
|
|
472
|
+
|
|
473
|
+
query_params = []
|
|
474
|
+
|
|
475
|
+
header_params = {}
|
|
476
|
+
|
|
477
|
+
form_params = []
|
|
478
|
+
local_var_files = {}
|
|
479
|
+
|
|
480
|
+
body_params = None
|
|
481
|
+
if 'body' in params:
|
|
482
|
+
body_params = params['body']
|
|
483
|
+
# HTTP header `Content-Type`
|
|
484
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
485
|
+
['application/json']) # noqa: E501
|
|
486
|
+
|
|
487
|
+
# Authentication setting
|
|
488
|
+
auth_settings = ['token'] # noqa: E501
|
|
489
|
+
|
|
490
|
+
return self.api_client.call_api(
|
|
491
|
+
'/items_types/{id}', 'POST',
|
|
492
|
+
path_params,
|
|
493
|
+
query_params,
|
|
494
|
+
header_params,
|
|
495
|
+
body=body_params,
|
|
496
|
+
post_params=form_params,
|
|
497
|
+
files=local_var_files,
|
|
498
|
+
response_type=None, # noqa: E501
|
|
499
|
+
auth_settings=auth_settings,
|
|
500
|
+
async_req=params.get('async_req'),
|
|
501
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
502
|
+
_preload_content=params.get('_preload_content', True),
|
|
503
|
+
_request_timeout=params.get('_request_timeout'),
|
|
504
|
+
collection_formats=collection_formats)
|
|
505
|
+
|
|
409
506
|
def read_items_types(self, **kwargs): # noqa: E501
|
|
410
|
-
"""Read all resources
|
|
507
|
+
"""Read all resources templates that are accessible # noqa: E501
|
|
411
508
|
|
|
412
509
|
This method makes a synchronous HTTP request by default. To make an
|
|
413
510
|
asynchronous HTTP request, please pass async_req=True
|
|
@@ -415,7 +512,7 @@ class ItemsTypesApi(object):
|
|
|
415
512
|
>>> result = thread.get()
|
|
416
513
|
|
|
417
514
|
:param async_req bool
|
|
418
|
-
:return: list[
|
|
515
|
+
:return: list[EntityTemplate]
|
|
419
516
|
If the method is called asynchronously,
|
|
420
517
|
returns the request thread.
|
|
421
518
|
"""
|
|
@@ -427,7 +524,7 @@ class ItemsTypesApi(object):
|
|
|
427
524
|
return data
|
|
428
525
|
|
|
429
526
|
def read_items_types_with_http_info(self, **kwargs): # noqa: E501
|
|
430
|
-
"""Read all resources
|
|
527
|
+
"""Read all resources templates that are accessible # noqa: E501
|
|
431
528
|
|
|
432
529
|
This method makes a synchronous HTTP request by default. To make an
|
|
433
530
|
asynchronous HTTP request, please pass async_req=True
|
|
@@ -435,7 +532,7 @@ class ItemsTypesApi(object):
|
|
|
435
532
|
>>> result = thread.get()
|
|
436
533
|
|
|
437
534
|
:param async_req bool
|
|
438
|
-
:return: list[
|
|
535
|
+
:return: list[EntityTemplate]
|
|
439
536
|
If the method is called asynchronously,
|
|
440
537
|
returns the request thread.
|
|
441
538
|
"""
|
|
@@ -483,7 +580,7 @@ class ItemsTypesApi(object):
|
|
|
483
580
|
body=body_params,
|
|
484
581
|
post_params=form_params,
|
|
485
582
|
files=local_var_files,
|
|
486
|
-
response_type='list[
|
|
583
|
+
response_type='list[EntityTemplate]', # noqa: E501
|
|
487
584
|
auth_settings=auth_settings,
|
|
488
585
|
async_req=params.get('async_req'),
|
|
489
586
|
_return_http_data_only=params.get('_return_http_data_only'),
|