elabapi-python 0.1.5__py3-none-any.whl → 0.1.7__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (176) hide show
  1. elabapi_python/__init__.py +4 -1
  2. elabapi_python/api/api_keys_api.py +5 -1
  3. elabapi_python/api/comments_api.py +5 -1
  4. elabapi_python/api/config_api.py +5 -1
  5. elabapi_python/api/events_api.py +5 -1
  6. elabapi_python/api/experiments_api.py +5 -1
  7. elabapi_python/api/experiments_templates_api.py +14 -2
  8. elabapi_python/api/favorite_tags_api.py +5 -1
  9. elabapi_python/api/items_api.py +10 -2
  10. elabapi_python/api/items_types_api.py +5 -1
  11. elabapi_python/api/links_to_experiments_api.py +5 -1
  12. elabapi_python/api/links_to_items_api.py +5 -1
  13. elabapi_python/api/notifications_api.py +5 -1
  14. elabapi_python/api/status_api.py +5 -1
  15. elabapi_python/api/steps_api.py +5 -1
  16. elabapi_python/api/tags_api.py +11 -7
  17. elabapi_python/api/team_tags_api.py +96 -3
  18. elabapi_python/api/teamgroups_api.py +5 -1
  19. elabapi_python/api/teams_api.py +1 -1
  20. elabapi_python/api/todolist_api.py +5 -1
  21. elabapi_python/api/unfinished_steps_api.py +1 -1
  22. elabapi_python/api/uploads_api.py +8 -4
  23. elabapi_python/api/users_api.py +104 -1
  24. elabapi_python/api_client.py +2 -2
  25. elabapi_python/configuration.py +3 -3
  26. elabapi_python/models/__init__.py +4 -1
  27. elabapi_python/models/apikey.py +1 -1
  28. elabapi_python/models/apikeys_body.py +1 -1
  29. elabapi_python/models/comment.py +1 -1
  30. elabapi_python/models/config.py +28 -2
  31. elabapi_python/models/entity.py +16 -16
  32. elabapi_python/models/event.py +1 -1
  33. elabapi_python/models/events_id_body.py +1 -1
  34. elabapi_python/models/events_id_body1.py +1 -1
  35. elabapi_python/models/eventsid_delta.py +1 -1
  36. elabapi_python/models/experiment.py +1 -1
  37. elabapi_python/models/experiment_template.py +1 -1
  38. elabapi_python/models/experiments_body.py +1 -1
  39. elabapi_python/models/experiments_id_body.py +1 -1
  40. elabapi_python/models/experiments_links_subid_body.py +1 -1
  41. elabapi_python/models/experiments_templates_body.py +1 -1
  42. elabapi_python/models/experiments_templates_id_body.py +84 -0
  43. elabapi_python/models/favtags_body.py +1 -1
  44. elabapi_python/models/id.py +1 -1
  45. elabapi_python/models/id1.py +1 -1
  46. elabapi_python/models/id2.py +1 -1
  47. elabapi_python/models/id_comments_body.py +1 -1
  48. elabapi_python/models/id_status_body.py +1 -1
  49. elabapi_python/models/id_steps_body.py +1 -1
  50. elabapi_python/models/id_tags_body.py +1 -1
  51. elabapi_python/models/id_teamgroups_body.py +1 -1
  52. elabapi_python/models/id_uploads_body.py +1 -1
  53. elabapi_python/models/inline_response200.py +1 -1
  54. elabapi_python/models/inline_response2001.py +1 -1
  55. elabapi_python/models/inline_response2002.py +1 -1
  56. elabapi_python/models/inline_response2003.py +1 -1
  57. elabapi_python/models/item.py +1 -1
  58. elabapi_python/models/items_body.py +1 -1
  59. elabapi_python/models/items_id_body.py +1 -1
  60. elabapi_python/models/items_links_subid_body.py +1 -1
  61. elabapi_python/models/items_type.py +1 -1
  62. elabapi_python/models/items_types_body.py +1 -1
  63. elabapi_python/models/link.py +1 -1
  64. elabapi_python/models/notification.py +1 -1
  65. elabapi_python/models/status.py +1 -1
  66. elabapi_python/models/step.py +1 -1
  67. elabapi_python/models/steps_subid_body.py +1 -1
  68. elabapi_python/models/tag.py +1 -1
  69. elabapi_python/models/tags_subid_body.py +1 -1
  70. elabapi_python/models/team.py +1 -1
  71. elabapi_python/models/team_tags_body.py +19 -23
  72. elabapi_python/models/team_tags_body1.py +116 -0
  73. elabapi_python/models/team_tags_id_body.py +1 -1
  74. elabapi_python/models/teamgroup.py +1 -1
  75. elabapi_python/models/teamgroup_users.py +1 -1
  76. elabapi_python/models/teamgroups_subid_body.py +1 -1
  77. elabapi_python/models/teams_body.py +1 -1
  78. elabapi_python/models/todoitem.py +1 -1
  79. elabapi_python/models/todolist_body.py +1 -1
  80. elabapi_python/models/todolist_id_body.py +1 -1
  81. elabapi_python/models/unfinished_step.py +1 -1
  82. elabapi_python/models/unfinished_steps.py +1 -1
  83. elabapi_python/models/upload.py +1 -1
  84. elabapi_python/models/uploads_subid_body.py +1 -1
  85. elabapi_python/models/users.py +1 -1
  86. elabapi_python/models/users_body.py +1 -1
  87. elabapi_python/models/users_id_body.py +84 -0
  88. elabapi_python/rest.py +1 -1
  89. {elabapi_python-0.1.5.dist-info → elabapi_python-0.1.7.dist-info}/METADATA +2 -2
  90. elabapi_python-0.1.7.dist-info/RECORD +177 -0
  91. test/test_api_keys_api.py +1 -1
  92. test/test_apikey.py +1 -1
  93. test/test_apikeys_body.py +1 -1
  94. test/test_comment.py +1 -1
  95. test/test_comments_api.py +1 -1
  96. test/test_config.py +1 -1
  97. test/test_config_api.py +1 -1
  98. test/test_entity.py +1 -1
  99. test/test_event.py +1 -1
  100. test/test_events_api.py +1 -1
  101. test/test_events_id_body.py +1 -1
  102. test/test_events_id_body1.py +1 -1
  103. test/test_eventsid_delta.py +1 -1
  104. test/test_experiment.py +1 -1
  105. test/test_experiment_template.py +1 -1
  106. test/test_experiments_api.py +1 -1
  107. test/test_experiments_body.py +1 -1
  108. test/test_experiments_id_body.py +1 -1
  109. test/test_experiments_links_subid_body.py +1 -1
  110. test/test_experiments_templates_api.py +1 -1
  111. test/test_experiments_templates_body.py +1 -1
  112. test/test_experiments_templates_id_body.py +39 -0
  113. test/test_favorite_tags_api.py +1 -1
  114. test/test_favtags_body.py +1 -1
  115. test/test_id.py +1 -1
  116. test/test_id1.py +1 -1
  117. test/test_id2.py +1 -1
  118. test/test_id_comments_body.py +1 -1
  119. test/test_id_status_body.py +1 -1
  120. test/test_id_steps_body.py +1 -1
  121. test/test_id_tags_body.py +1 -1
  122. test/test_id_teamgroups_body.py +1 -1
  123. test/test_id_uploads_body.py +1 -1
  124. test/test_inline_response200.py +1 -1
  125. test/test_inline_response2001.py +1 -1
  126. test/test_inline_response2002.py +1 -1
  127. test/test_inline_response2003.py +1 -1
  128. test/test_item.py +1 -1
  129. test/test_items_api.py +1 -1
  130. test/test_items_body.py +1 -1
  131. test/test_items_id_body.py +1 -1
  132. test/test_items_links_subid_body.py +1 -1
  133. test/test_items_type.py +1 -1
  134. test/test_items_types_api.py +1 -1
  135. test/test_items_types_body.py +1 -1
  136. test/test_link.py +1 -1
  137. test/test_links_to_experiments_api.py +1 -1
  138. test/test_links_to_items_api.py +1 -1
  139. test/test_notification.py +1 -1
  140. test/test_notifications_api.py +1 -1
  141. test/test_status.py +1 -1
  142. test/test_status_api.py +1 -1
  143. test/test_step.py +1 -1
  144. test/test_steps_api.py +1 -1
  145. test/test_steps_subid_body.py +1 -1
  146. test/test_tag.py +1 -1
  147. test/test_tags_api.py +3 -3
  148. test/test_tags_subid_body.py +1 -1
  149. test/test_team.py +1 -1
  150. test/test_team_tags_api.py +8 -1
  151. test/test_team_tags_body.py +1 -1
  152. test/test_team_tags_body1.py +39 -0
  153. test/test_team_tags_id_body.py +1 -1
  154. test/test_teamgroup.py +1 -1
  155. test/test_teamgroup_users.py +1 -1
  156. test/test_teamgroups_api.py +1 -1
  157. test/test_teamgroups_subid_body.py +1 -1
  158. test/test_teams_api.py +1 -1
  159. test/test_teams_body.py +1 -1
  160. test/test_todoitem.py +1 -1
  161. test/test_todolist_api.py +1 -1
  162. test/test_todolist_body.py +1 -1
  163. test/test_todolist_id_body.py +1 -1
  164. test/test_unfinished_step.py +1 -1
  165. test/test_unfinished_steps.py +1 -1
  166. test/test_unfinished_steps_api.py +1 -1
  167. test/test_upload.py +1 -1
  168. test/test_uploads_api.py +1 -1
  169. test/test_uploads_subid_body.py +1 -1
  170. test/test_users.py +1 -1
  171. test/test_users_api.py +8 -1
  172. test/test_users_body.py +1 -1
  173. test/test_users_id_body.py +39 -0
  174. elabapi_python-0.1.5.dist-info/RECORD +0 -171
  175. {elabapi_python-0.1.5.dist-info → elabapi_python-0.1.7.dist-info}/WHEEL +0 -0
  176. {elabapi_python-0.1.5.dist-info → elabapi_python-0.1.7.dist-info}/top_level.txt +0 -0
@@ -5,7 +5,7 @@
5
5
  """
6
6
  eLabFTW REST API v2 Documentation
7
7
 
8
- Some description of the api. # noqa: E501
8
+ This document describes all available endpoints and methods for eLabFTW's API version 2. # noqa: E501
9
9
 
10
10
  OpenAPI spec version: 2.0.0
11
11
 
@@ -56,6 +56,7 @@ from elabapi_python.models.experiments_body import ExperimentsBody
56
56
  from elabapi_python.models.experiments_id_body import ExperimentsIdBody
57
57
  from elabapi_python.models.experiments_links_subid_body import ExperimentsLinksSubidBody
58
58
  from elabapi_python.models.experiments_templates_body import ExperimentsTemplatesBody
59
+ from elabapi_python.models.experiments_templates_id_body import ExperimentsTemplatesIdBody
59
60
  from elabapi_python.models.favtags_body import FavtagsBody
60
61
  from elabapi_python.models.id import Id
61
62
  from elabapi_python.models.id1 import Id1
@@ -85,6 +86,7 @@ from elabapi_python.models.tag import Tag
85
86
  from elabapi_python.models.tags_subid_body import TagsSubidBody
86
87
  from elabapi_python.models.team import Team
87
88
  from elabapi_python.models.team_tags_body import TeamTagsBody
89
+ from elabapi_python.models.team_tags_body1 import TeamTagsBody1
88
90
  from elabapi_python.models.team_tags_id_body import TeamTagsIdBody
89
91
  from elabapi_python.models.teamgroup import Teamgroup
90
92
  from elabapi_python.models.teamgroup_users import TeamgroupUsers
@@ -99,3 +101,4 @@ from elabapi_python.models.upload import Upload
99
101
  from elabapi_python.models.uploads_subid_body import UploadsSubidBody
100
102
  from elabapi_python.models.users import Users
101
103
  from elabapi_python.models.users_body import UsersBody
104
+ from elabapi_python.models.users_id_body import UsersIdBody
@@ -3,7 +3,7 @@
3
3
  """
4
4
  eLabFTW REST API v2 Documentation
5
5
 
6
- Some description of the api. # noqa: E501
6
+ This document describes all available endpoints and methods for eLabFTW's API version 2. # noqa: E501
7
7
 
8
8
  OpenAPI spec version: 2.0.0
9
9
 
@@ -104,6 +104,10 @@ 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
+
107
111
  # Authentication setting
108
112
  auth_settings = ['token'] # noqa: E501
109
113
 
@@ -3,7 +3,7 @@
3
3
  """
4
4
  eLabFTW REST API v2 Documentation
5
5
 
6
- Some description of the api. # noqa: E501
6
+ This document describes all available endpoints and methods for eLabFTW's API version 2. # noqa: E501
7
7
 
8
8
  OpenAPI spec version: 2.0.0
9
9
 
@@ -120,6 +120,10 @@ 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
+
123
127
  # Authentication setting
124
128
  auth_settings = ['token'] # noqa: E501
125
129
 
@@ -3,7 +3,7 @@
3
3
  """
4
4
  eLabFTW REST API v2 Documentation
5
5
 
6
- Some description of the api. # noqa: E501
6
+ This document describes all available endpoints and methods for eLabFTW's API version 2. # noqa: E501
7
7
 
8
8
  OpenAPI spec version: 2.0.0
9
9
 
@@ -94,6 +94,10 @@ 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
+
97
101
  # Authentication setting
98
102
  auth_settings = ['token'] # noqa: E501
99
103
 
@@ -3,7 +3,7 @@
3
3
  """
4
4
  eLabFTW REST API v2 Documentation
5
5
 
6
- Some description of the api. # noqa: E501
6
+ This document describes all available endpoints and methods for eLabFTW's API version 2. # noqa: E501
7
7
 
8
8
  OpenAPI spec version: 2.0.0
9
9
 
@@ -102,6 +102,10 @@ 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
+
105
109
  # Authentication setting
106
110
  auth_settings = ['token'] # noqa: E501
107
111
 
@@ -3,7 +3,7 @@
3
3
  """
4
4
  eLabFTW REST API v2 Documentation
5
5
 
6
- Some description of the api. # noqa: E501
6
+ This document describes all available endpoints and methods for eLabFTW's API version 2. # noqa: E501
7
7
 
8
8
  OpenAPI spec version: 2.0.0
9
9
 
@@ -104,6 +104,10 @@ 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
+
107
111
  # Authentication setting
108
112
  auth_settings = ['token'] # noqa: E501
109
113
 
@@ -3,7 +3,7 @@
3
3
  """
4
4
  eLabFTW REST API v2 Documentation
5
5
 
6
- Some description of the api. # noqa: E501
6
+ This document describes all available endpoints and methods for eLabFTW's API version 2. # noqa: E501
7
7
 
8
8
  OpenAPI spec version: 2.0.0
9
9
 
@@ -104,6 +104,10 @@ class ExperimentsTemplatesApi(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
+
107
111
  # Authentication setting
108
112
  auth_settings = ['token'] # noqa: E501
109
113
 
@@ -226,6 +230,7 @@ class ExperimentsTemplatesApi(object):
226
230
 
227
231
  :param async_req bool
228
232
  :param int id: ID of the experiment template (required)
233
+ :param ExperimentsTemplatesIdBody body: Parameters for modifying an experiment template
229
234
  :return: ExperimentTemplate
230
235
  If the method is called asynchronously,
231
236
  returns the request thread.
@@ -247,12 +252,13 @@ class ExperimentsTemplatesApi(object):
247
252
 
248
253
  :param async_req bool
249
254
  :param int id: ID of the experiment template (required)
255
+ :param ExperimentsTemplatesIdBody body: Parameters for modifying an experiment template
250
256
  :return: ExperimentTemplate
251
257
  If the method is called asynchronously,
252
258
  returns the request thread.
253
259
  """
254
260
 
255
- all_params = ['id'] # noqa: E501
261
+ all_params = ['id', 'body'] # noqa: E501
256
262
  all_params.append('async_req')
257
263
  all_params.append('_return_http_data_only')
258
264
  all_params.append('_preload_content')
@@ -286,10 +292,16 @@ class ExperimentsTemplatesApi(object):
286
292
  local_var_files = {}
287
293
 
288
294
  body_params = None
295
+ if 'body' in params:
296
+ body_params = params['body']
289
297
  # HTTP header `Accept`
290
298
  header_params['Accept'] = self.api_client.select_header_accept(
291
299
  ['application/json']) # noqa: E501
292
300
 
301
+ # HTTP header `Content-Type`
302
+ header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
303
+ ['application/json']) # noqa: E501
304
+
293
305
  # Authentication setting
294
306
  auth_settings = ['token'] # noqa: E501
295
307
 
@@ -3,7 +3,7 @@
3
3
  """
4
4
  eLabFTW REST API v2 Documentation
5
5
 
6
- Some description of the api. # noqa: E501
6
+ This document describes all available endpoints and methods for eLabFTW's API version 2. # noqa: E501
7
7
 
8
8
  OpenAPI spec version: 2.0.0
9
9
 
@@ -102,6 +102,10 @@ class FavoriteTagsApi(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
+
105
109
  # Authentication setting
106
110
  auth_settings = ['token'] # noqa: E501
107
111
 
@@ -3,7 +3,7 @@
3
3
  """
4
4
  eLabFTW REST API v2 Documentation
5
5
 
6
- Some description of the api. # noqa: E501
6
+ This document describes all available endpoints and methods for eLabFTW's API version 2. # noqa: E501
7
7
 
8
8
  OpenAPI spec version: 2.0.0
9
9
 
@@ -104,6 +104,10 @@ class ItemsApi(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
+
107
111
  # Authentication setting
108
112
  auth_settings = ['token'] # noqa: E501
109
113
 
@@ -133,6 +137,7 @@ class ItemsApi(object):
133
137
 
134
138
  :param async_req bool
135
139
  :param int id: ID of the item (required)
140
+ :param str format: Get the entity in a different format like csv, pdf, eln or zip. \"pdfa\" means archive pdf (PDF/A), same with \"zipa\".
136
141
  :return: Item
137
142
  If the method is called asynchronously,
138
143
  returns the request thread.
@@ -154,12 +159,13 @@ class ItemsApi(object):
154
159
 
155
160
  :param async_req bool
156
161
  :param int id: ID of the item (required)
162
+ :param str format: Get the entity in a different format like csv, pdf, eln or zip. \"pdfa\" means archive pdf (PDF/A), same with \"zipa\".
157
163
  :return: Item
158
164
  If the method is called asynchronously,
159
165
  returns the request thread.
160
166
  """
161
167
 
162
- all_params = ['id'] # noqa: E501
168
+ all_params = ['id', 'format'] # noqa: E501
163
169
  all_params.append('async_req')
164
170
  all_params.append('_return_http_data_only')
165
171
  all_params.append('_preload_content')
@@ -186,6 +192,8 @@ class ItemsApi(object):
186
192
  path_params['id'] = params['id'] # noqa: E501
187
193
 
188
194
  query_params = []
195
+ if 'format' in params:
196
+ query_params.append(('format', params['format'])) # noqa: E501
189
197
 
190
198
  header_params = {}
191
199
 
@@ -3,7 +3,7 @@
3
3
  """
4
4
  eLabFTW REST API v2 Documentation
5
5
 
6
- Some description of the api. # noqa: E501
6
+ This document describes all available endpoints and methods for eLabFTW's API version 2. # noqa: E501
7
7
 
8
8
  OpenAPI spec version: 2.0.0
9
9
 
@@ -104,6 +104,10 @@ class ItemsTypesApi(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
+
107
111
  # Authentication setting
108
112
  auth_settings = ['token'] # noqa: E501
109
113
 
@@ -3,7 +3,7 @@
3
3
  """
4
4
  eLabFTW REST API v2 Documentation
5
5
 
6
- Some description of the api. # noqa: E501
6
+ This document describes all available endpoints and methods for eLabFTW's API version 2. # noqa: E501
7
7
 
8
8
  OpenAPI spec version: 2.0.0
9
9
 
@@ -120,6 +120,10 @@ class LinksToExperimentsApi(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
+
123
127
  # Authentication setting
124
128
  auth_settings = ['token'] # noqa: E501
125
129
 
@@ -3,7 +3,7 @@
3
3
  """
4
4
  eLabFTW REST API v2 Documentation
5
5
 
6
- Some description of the api. # noqa: E501
6
+ This document describes all available endpoints and methods for eLabFTW's API version 2. # noqa: E501
7
7
 
8
8
  OpenAPI spec version: 2.0.0
9
9
 
@@ -120,6 +120,10 @@ class LinksToItemsApi(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
+
123
127
  # Authentication setting
124
128
  auth_settings = ['token'] # noqa: E501
125
129
 
@@ -3,7 +3,7 @@
3
3
  """
4
4
  eLabFTW REST API v2 Documentation
5
5
 
6
- Some description of the api. # noqa: E501
6
+ This document describes all available endpoints and methods for eLabFTW's API version 2. # noqa: E501
7
7
 
8
8
  OpenAPI spec version: 2.0.0
9
9
 
@@ -104,6 +104,10 @@ class NotificationsApi(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
+
107
111
  # Authentication setting
108
112
  auth_settings = ['token'] # noqa: E501
109
113
 
@@ -3,7 +3,7 @@
3
3
  """
4
4
  eLabFTW REST API v2 Documentation
5
5
 
6
- Some description of the api. # noqa: E501
6
+ This document describes all available endpoints and methods for eLabFTW's API version 2. # noqa: E501
7
7
 
8
8
  OpenAPI spec version: 2.0.0
9
9
 
@@ -110,6 +110,10 @@ class StatusApi(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
+
113
117
  # Authentication setting
114
118
  auth_settings = ['token'] # noqa: E501
115
119
 
@@ -3,7 +3,7 @@
3
3
  """
4
4
  eLabFTW REST API v2 Documentation
5
5
 
6
- Some description of the api. # noqa: E501
6
+ This document describes all available endpoints and methods for eLabFTW's API version 2. # noqa: E501
7
7
 
8
8
  OpenAPI spec version: 2.0.0
9
9
 
@@ -120,6 +120,10 @@ class StepsApi(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
+
123
127
  # Authentication setting
124
128
  auth_settings = ['token'] # noqa: E501
125
129
 
@@ -3,7 +3,7 @@
3
3
  """
4
4
  eLabFTW REST API v2 Documentation
5
5
 
6
- Some description of the api. # noqa: E501
6
+ This document describes all available endpoints and methods for eLabFTW's API version 2. # noqa: E501
7
7
 
8
8
  OpenAPI spec version: 2.0.0
9
9
 
@@ -33,9 +33,9 @@ class TagsApi(object):
33
33
  self.api_client = api_client
34
34
 
35
35
  def delete_tag(self, entity_type, id, subid, **kwargs): # noqa: E501
36
- """Delete a tag. # noqa: E501
36
+ """Delete all tags. # noqa: E501
37
37
 
38
- The tag gets deleted. # noqa: E501
38
+ All the tags from that entity get removed. # 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_tag(entity_type, id, subid, async_req=True)
@@ -57,9 +57,9 @@ class TagsApi(object):
57
57
  return data
58
58
 
59
59
  def delete_tag_with_http_info(self, entity_type, id, subid, **kwargs): # noqa: E501
60
- """Delete a tag. # noqa: E501
60
+ """Delete all tags. # noqa: E501
61
61
 
62
- The tag gets deleted. # noqa: E501
62
+ All the tags from that entity get removed. # noqa: E501
63
63
  This method makes a synchronous HTTP request by default. To make an
64
64
  asynchronous HTTP request, please pass async_req=True
65
65
  >>> thread = api.delete_tag_with_http_info(entity_type, id, subid, async_req=True)
@@ -120,6 +120,10 @@ class TagsApi(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
+
123
127
  # Authentication setting
124
128
  auth_settings = ['token'] # noqa: E501
125
129
 
@@ -140,7 +144,7 @@ class TagsApi(object):
140
144
  collection_formats=collection_formats)
141
145
 
142
146
  def patch_tag(self, entity_type, id, subid, **kwargs): # noqa: E501
143
- """Actions on a tag. # noqa: E501
147
+ """Actions on a tag (like removing it from the entity). # noqa: E501
144
148
 
145
149
  This method makes a synchronous HTTP request by default. To make an
146
150
  asynchronous HTTP request, please pass async_req=True
@@ -164,7 +168,7 @@ class TagsApi(object):
164
168
  return data
165
169
 
166
170
  def patch_tag_with_http_info(self, entity_type, id, subid, **kwargs): # noqa: E501
167
- """Actions on a tag. # noqa: E501
171
+ """Actions on a tag (like removing it from the entity). # noqa: E501
168
172
 
169
173
  This method makes a synchronous HTTP request by default. To make an
170
174
  asynchronous HTTP request, please pass async_req=True
@@ -3,7 +3,7 @@
3
3
  """
4
4
  eLabFTW REST API v2 Documentation
5
5
 
6
- Some description of the api. # noqa: E501
6
+ This document describes all available endpoints and methods for eLabFTW's API version 2. # noqa: E501
7
7
 
8
8
  OpenAPI spec version: 2.0.0
9
9
 
@@ -102,6 +102,10 @@ class TeamTagsApi(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
+
105
109
  # Authentication setting
106
110
  auth_settings = ['token'] # noqa: E501
107
111
 
@@ -130,7 +134,7 @@ class TeamTagsApi(object):
130
134
  >>> result = thread.get()
131
135
 
132
136
  :param async_req bool
133
- :param TeamTagsBody body: Parameters for modifying team tags.
137
+ :param TeamTagsBody1 body: Parameters for modifying team tags.
134
138
  :return: list[Tag]
135
139
  If the method is called asynchronously,
136
140
  returns the request thread.
@@ -151,7 +155,7 @@ class TeamTagsApi(object):
151
155
  >>> result = thread.get()
152
156
 
153
157
  :param async_req bool
154
- :param TeamTagsBody body: Parameters for modifying team tags.
158
+ :param TeamTagsBody1 body: Parameters for modifying team tags.
155
159
  :return: list[Tag]
156
160
  If the method is called asynchronously,
157
161
  returns the request thread.
@@ -315,6 +319,95 @@ class TeamTagsApi(object):
315
319
  _request_timeout=params.get('_request_timeout'),
316
320
  collection_formats=collection_formats)
317
321
 
322
+ def post_team_tag(self, **kwargs): # noqa: E501
323
+ """Create a tag in the team. # noqa: E501
324
+
325
+ This method makes a synchronous HTTP request by default. To make an
326
+ asynchronous HTTP request, please pass async_req=True
327
+ >>> thread = api.post_team_tag(async_req=True)
328
+ >>> result = thread.get()
329
+
330
+ :param async_req bool
331
+ :param TeamTagsBody body: Parameters for adding a tag in the team.
332
+ :return: None
333
+ If the method is called asynchronously,
334
+ returns the request thread.
335
+ """
336
+ kwargs['_return_http_data_only'] = True
337
+ if kwargs.get('async_req'):
338
+ return self.post_team_tag_with_http_info(**kwargs) # noqa: E501
339
+ else:
340
+ (data) = self.post_team_tag_with_http_info(**kwargs) # noqa: E501
341
+ return data
342
+
343
+ def post_team_tag_with_http_info(self, **kwargs): # noqa: E501
344
+ """Create a tag in the team. # noqa: E501
345
+
346
+ This method makes a synchronous HTTP request by default. To make an
347
+ asynchronous HTTP request, please pass async_req=True
348
+ >>> thread = api.post_team_tag_with_http_info(async_req=True)
349
+ >>> result = thread.get()
350
+
351
+ :param async_req bool
352
+ :param TeamTagsBody body: Parameters for adding a tag in the team.
353
+ :return: None
354
+ If the method is called asynchronously,
355
+ returns the request thread.
356
+ """
357
+
358
+ all_params = ['body'] # noqa: E501
359
+ all_params.append('async_req')
360
+ all_params.append('_return_http_data_only')
361
+ all_params.append('_preload_content')
362
+ all_params.append('_request_timeout')
363
+
364
+ params = locals()
365
+ for key, val in six.iteritems(params['kwargs']):
366
+ if key not in all_params:
367
+ raise TypeError(
368
+ "Got an unexpected keyword argument '%s'"
369
+ " to method post_team_tag" % key
370
+ )
371
+ params[key] = val
372
+ del params['kwargs']
373
+
374
+ collection_formats = {}
375
+
376
+ path_params = {}
377
+
378
+ query_params = []
379
+
380
+ header_params = {}
381
+
382
+ form_params = []
383
+ local_var_files = {}
384
+
385
+ body_params = None
386
+ if 'body' in params:
387
+ body_params = params['body']
388
+ # HTTP header `Content-Type`
389
+ header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
390
+ ['application/json']) # noqa: E501
391
+
392
+ # Authentication setting
393
+ auth_settings = ['token'] # noqa: E501
394
+
395
+ return self.api_client.call_api(
396
+ '/team_tags', 'POST',
397
+ path_params,
398
+ query_params,
399
+ header_params,
400
+ body=body_params,
401
+ post_params=form_params,
402
+ files=local_var_files,
403
+ response_type=None, # noqa: E501
404
+ auth_settings=auth_settings,
405
+ async_req=params.get('async_req'),
406
+ _return_http_data_only=params.get('_return_http_data_only'),
407
+ _preload_content=params.get('_preload_content', True),
408
+ _request_timeout=params.get('_request_timeout'),
409
+ collection_formats=collection_formats)
410
+
318
411
  def read_team_tag(self, id, **kwargs): # noqa: E501
319
412
  """Read a tag. # noqa: E501
320
413
 
@@ -3,7 +3,7 @@
3
3
  """
4
4
  eLabFTW REST API v2 Documentation
5
5
 
6
- Some description of the api. # noqa: E501
6
+ This document describes all available endpoints and methods for eLabFTW's API version 2. # noqa: E501
7
7
 
8
8
  OpenAPI spec version: 2.0.0
9
9
 
@@ -110,6 +110,10 @@ class TeamgroupsApi(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
+
113
117
  # Authentication setting
114
118
  auth_settings = ['token'] # noqa: E501
115
119
 
@@ -3,7 +3,7 @@
3
3
  """
4
4
  eLabFTW REST API v2 Documentation
5
5
 
6
- Some description of the api. # noqa: E501
6
+ This document describes all available endpoints and methods for eLabFTW's API version 2. # noqa: E501
7
7
 
8
8
  OpenAPI spec version: 2.0.0
9
9
 
@@ -3,7 +3,7 @@
3
3
  """
4
4
  eLabFTW REST API v2 Documentation
5
5
 
6
- Some description of the api. # noqa: E501
6
+ This document describes all available endpoints and methods for eLabFTW's API version 2. # noqa: E501
7
7
 
8
8
  OpenAPI spec version: 2.0.0
9
9
 
@@ -102,6 +102,10 @@ class TodolistApi(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
+
105
109
  # Authentication setting
106
110
  auth_settings = ['token'] # noqa: E501
107
111
 
@@ -3,7 +3,7 @@
3
3
  """
4
4
  eLabFTW REST API v2 Documentation
5
5
 
6
- Some description of the api. # noqa: E501
6
+ This document describes all available endpoints and methods for eLabFTW's API version 2. # noqa: E501
7
7
 
8
8
  OpenAPI spec version: 2.0.0
9
9