teamdbapi 3.10.1__tar.gz → 3.11.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.
- {teamdbapi-3.10.1 → teamdbapi-3.11.0}/LICENSE +1 -1
- teamdbapi-3.11.0/PKG-INFO +135 -0
- teamdbapi-3.11.0/README.md +115 -0
- {teamdbapi-3.10.1 → teamdbapi-3.11.0}/pyproject.toml +1 -1
- {teamdbapi-3.10.1 → teamdbapi-3.11.0}/teamdbapi/api/assembly_api.py +21 -21
- {teamdbapi-3.10.1 → teamdbapi-3.11.0}/teamdbapi/api/car_api.py +9 -9
- {teamdbapi-3.10.1 → teamdbapi-3.11.0}/teamdbapi/api/component_api.py +12 -12
- {teamdbapi-3.10.1 → teamdbapi-3.11.0}/teamdbapi/api/config_api.py +1 -1
- {teamdbapi-3.10.1 → teamdbapi-3.11.0}/teamdbapi/api/criteria_api.py +6 -6
- {teamdbapi-3.10.1 → teamdbapi-3.11.0}/teamdbapi/api/edit_api.py +6 -6
- {teamdbapi-3.10.1 → teamdbapi-3.11.0}/teamdbapi/api/event_api.py +9 -9
- {teamdbapi-3.10.1 → teamdbapi-3.11.0}/teamdbapi/api/fixed_field_api.py +3 -3
- {teamdbapi-3.10.1 → teamdbapi-3.11.0}/teamdbapi/api/group_api.py +6 -6
- {teamdbapi-3.10.1 → teamdbapi-3.11.0}/teamdbapi/api/import_export_api.py +7 -7
- {teamdbapi-3.10.1 → teamdbapi-3.11.0}/teamdbapi/api/issue_api.py +18 -18
- {teamdbapi-3.10.1 → teamdbapi-3.11.0}/teamdbapi/api/lap_api.py +7 -7
- {teamdbapi-3.10.1 → teamdbapi-3.11.0}/teamdbapi/api/lap_report_api.py +5 -5
- {teamdbapi-3.10.1 → teamdbapi-3.11.0}/teamdbapi/api/model_field_api.py +7 -7
- {teamdbapi-3.10.1 → teamdbapi-3.11.0}/teamdbapi/api/mounting_api.py +3 -3
- {teamdbapi-3.10.1 → teamdbapi-3.11.0}/teamdbapi/api/notes_authorization_api.py +3 -3
- {teamdbapi-3.10.1 → teamdbapi-3.11.0}/teamdbapi/api/overall_api.py +1 -1
- {teamdbapi-3.10.1 → teamdbapi-3.11.0}/teamdbapi/api/parameter_api.py +11 -11
- {teamdbapi-3.10.1 → teamdbapi-3.11.0}/teamdbapi/api/parameter_binding_api.py +5 -5
- {teamdbapi-3.10.1 → teamdbapi-3.11.0}/teamdbapi/api/part_api.py +9 -9
- {teamdbapi-3.10.1 → teamdbapi-3.11.0}/teamdbapi/api/report_api.py +1 -1
- {teamdbapi-3.10.1 → teamdbapi-3.11.0}/teamdbapi/api/revision_api.py +14 -14
- {teamdbapi-3.10.1 → teamdbapi-3.11.0}/teamdbapi/api/revision_editor_selector_api.py +9 -9
- {teamdbapi-3.10.1 → teamdbapi-3.11.0}/teamdbapi/api/run_api.py +6 -6
- {teamdbapi-3.10.1 → teamdbapi-3.11.0}/teamdbapi/api/script_api.py +5 -5
- {teamdbapi-3.10.1 → teamdbapi-3.11.0}/teamdbapi/api/session_api.py +7 -7
- {teamdbapi-3.10.1 → teamdbapi-3.11.0}/teamdbapi/api/target_api.py +4 -4
- {teamdbapi-3.10.1 → teamdbapi-3.11.0}/teamdbapi/api/team_db_list_api.py +10 -10
- {teamdbapi-3.10.1 → teamdbapi-3.11.0}/teamdbapi/api/team_db_view_api.py +5 -5
- {teamdbapi-3.10.1 → teamdbapi-3.11.0}/teamdbapi/api/tire_api.py +6 -6
- {teamdbapi-3.10.1 → teamdbapi-3.11.0}/teamdbapi/api/tire_set_api.py +5 -5
- {teamdbapi-3.10.1 → teamdbapi-3.11.0}/teamdbapi/api/track_api.py +5 -5
- {teamdbapi-3.10.1 → teamdbapi-3.11.0}/teamdbapi/api/track_layout_api.py +5 -5
- {teamdbapi-3.10.1 → teamdbapi-3.11.0}/teamdbapi/api/update_request_api.py +2 -2
- {teamdbapi-3.10.1 → teamdbapi-3.11.0}/teamdbapi/api/user_api.py +5 -5
- {teamdbapi-3.10.1 → teamdbapi-3.11.0}/teamdbapi/api/value_field_api.py +6 -6
- {teamdbapi-3.10.1 → teamdbapi-3.11.0}/teamdbapi/api/version_api.py +4 -4
- {teamdbapi-3.10.1 → teamdbapi-3.11.0}/teamdbapi/configuration.py +7 -0
- {teamdbapi-3.10.1 → teamdbapi-3.11.0}/teamdbapi/models/part_count.py +2 -2
- {teamdbapi-3.10.1 → teamdbapi-3.11.0}/teamdbapi/models/team_db_list_item.py +31 -3
- teamdbapi-3.10.1/PKG-INFO +0 -91
- teamdbapi-3.10.1/README.md +0 -71
- {teamdbapi-3.10.1 → teamdbapi-3.11.0}/.gitignore +0 -0
- {teamdbapi-3.10.1 → teamdbapi-3.11.0}/.swagger-codegen/VERSION +0 -0
- {teamdbapi-3.10.1 → teamdbapi-3.11.0}/.swagger-codegen-ignore +0 -0
- {teamdbapi-3.10.1 → teamdbapi-3.11.0}/.travis.yml +0 -0
- {teamdbapi-3.10.1 → teamdbapi-3.11.0}/git_push.sh +0 -0
- {teamdbapi-3.10.1 → teamdbapi-3.11.0}/requirements.txt +0 -0
- {teamdbapi-3.10.1 → teamdbapi-3.11.0}/setup.py +0 -0
- {teamdbapi-3.10.1 → teamdbapi-3.11.0}/teamdbapi/__init__.py +0 -0
- {teamdbapi-3.10.1 → teamdbapi-3.11.0}/teamdbapi/api/__init__.py +0 -0
- {teamdbapi-3.10.1 → teamdbapi-3.11.0}/teamdbapi/api_client.py +0 -0
- {teamdbapi-3.10.1 → teamdbapi-3.11.0}/teamdbapi/models/__init__.py +0 -0
- {teamdbapi-3.10.1 → teamdbapi-3.11.0}/teamdbapi/models/add_part_car_parameter_arg.py +0 -0
- {teamdbapi-3.10.1 → teamdbapi-3.11.0}/teamdbapi/models/assembly.py +0 -0
- {teamdbapi-3.10.1 → teamdbapi-3.11.0}/teamdbapi/models/bleed_adjustment.py +0 -0
- {teamdbapi-3.10.1 → teamdbapi-3.11.0}/teamdbapi/models/calibration.py +0 -0
- {teamdbapi-3.10.1 → teamdbapi-3.11.0}/teamdbapi/models/car.py +0 -0
- {teamdbapi-3.10.1 → teamdbapi-3.11.0}/teamdbapi/models/car_parameters_context.py +0 -0
- {teamdbapi-3.10.1 → teamdbapi-3.11.0}/teamdbapi/models/compare_options.py +0 -0
- {teamdbapi-3.10.1 → teamdbapi-3.11.0}/teamdbapi/models/compare_result.py +0 -0
- {teamdbapi-3.10.1 → teamdbapi-3.11.0}/teamdbapi/models/compare_result_detail.py +0 -0
- {teamdbapi-3.10.1 → teamdbapi-3.11.0}/teamdbapi/models/component.py +0 -0
- {teamdbapi-3.10.1 → teamdbapi-3.11.0}/teamdbapi/models/copy_from_tags_args.py +0 -0
- {teamdbapi-3.10.1 → teamdbapi-3.11.0}/teamdbapi/models/couple_guid_text.py +0 -0
- {teamdbapi-3.10.1 → teamdbapi-3.11.0}/teamdbapi/models/criteria.py +0 -0
- {teamdbapi-3.10.1 → teamdbapi-3.11.0}/teamdbapi/models/criteria_set.py +0 -0
- {teamdbapi-3.10.1 → teamdbapi-3.11.0}/teamdbapi/models/criteria_value.py +0 -0
- {teamdbapi-3.10.1 → teamdbapi-3.11.0}/teamdbapi/models/criteria_value_detail.py +0 -0
- {teamdbapi-3.10.1 → teamdbapi-3.11.0}/teamdbapi/models/event.py +0 -0
- {teamdbapi-3.10.1 → teamdbapi-3.11.0}/teamdbapi/models/file_revision_info.py +0 -0
- {teamdbapi-3.10.1 → teamdbapi-3.11.0}/teamdbapi/models/fixed_field.py +0 -0
- {teamdbapi-3.10.1 → teamdbapi-3.11.0}/teamdbapi/models/group.py +0 -0
- {teamdbapi-3.10.1 → teamdbapi-3.11.0}/teamdbapi/models/import_parameters_args.py +0 -0
- {teamdbapi-3.10.1 → teamdbapi-3.11.0}/teamdbapi/models/import_parameters_results.py +0 -0
- {teamdbapi-3.10.1 → teamdbapi-3.11.0}/teamdbapi/models/import_revisions_args.py +0 -0
- {teamdbapi-3.10.1 → teamdbapi-3.11.0}/teamdbapi/models/import_revisions_info.py +0 -0
- {teamdbapi-3.10.1 → teamdbapi-3.11.0}/teamdbapi/models/import_revisions_results.py +0 -0
- {teamdbapi-3.10.1 → teamdbapi-3.11.0}/teamdbapi/models/issue.py +0 -0
- {teamdbapi-3.10.1 → teamdbapi-3.11.0}/teamdbapi/models/issue_custom_field_value.py +0 -0
- {teamdbapi-3.10.1 → teamdbapi-3.11.0}/teamdbapi/models/issue_priority.py +0 -0
- {teamdbapi-3.10.1 → teamdbapi-3.11.0}/teamdbapi/models/issue_project.py +0 -0
- {teamdbapi-3.10.1 → teamdbapi-3.11.0}/teamdbapi/models/issue_sector.py +0 -0
- {teamdbapi-3.10.1 → teamdbapi-3.11.0}/teamdbapi/models/issue_status.py +0 -0
- {teamdbapi-3.10.1 → teamdbapi-3.11.0}/teamdbapi/models/issue_type.py +0 -0
- {teamdbapi-3.10.1 → teamdbapi-3.11.0}/teamdbapi/models/issue_workflow.py +0 -0
- {teamdbapi-3.10.1 → teamdbapi-3.11.0}/teamdbapi/models/item_value.py +0 -0
- {teamdbapi-3.10.1 → teamdbapi-3.11.0}/teamdbapi/models/item_value_key.py +0 -0
- {teamdbapi-3.10.1 → teamdbapi-3.11.0}/teamdbapi/models/lap.py +0 -0
- {teamdbapi-3.10.1 → teamdbapi-3.11.0}/teamdbapi/models/lap_report_options.py +0 -0
- {teamdbapi-3.10.1 → teamdbapi-3.11.0}/teamdbapi/models/model_field.py +0 -0
- {teamdbapi-3.10.1 → teamdbapi-3.11.0}/teamdbapi/models/model_field_authorization.py +0 -0
- {teamdbapi-3.10.1 → teamdbapi-3.11.0}/teamdbapi/models/mounting.py +0 -0
- {teamdbapi-3.10.1 → teamdbapi-3.11.0}/teamdbapi/models/notes_authorization.py +0 -0
- {teamdbapi-3.10.1 → teamdbapi-3.11.0}/teamdbapi/models/notes_context.py +0 -0
- {teamdbapi-3.10.1 → teamdbapi-3.11.0}/teamdbapi/models/overall.py +0 -0
- {teamdbapi-3.10.1 → teamdbapi-3.11.0}/teamdbapi/models/parameter.py +0 -0
- {teamdbapi-3.10.1 → teamdbapi-3.11.0}/teamdbapi/models/parameter_binding.py +0 -0
- {teamdbapi-3.10.1 → teamdbapi-3.11.0}/teamdbapi/models/parameter_cross_table.py +0 -0
- {teamdbapi-3.10.1 → teamdbapi-3.11.0}/teamdbapi/models/part.py +0 -0
- {teamdbapi-3.10.1 → teamdbapi-3.11.0}/teamdbapi/models/part_car_parameters.py +0 -0
- {teamdbapi-3.10.1 → teamdbapi-3.11.0}/teamdbapi/models/revision.py +0 -0
- {teamdbapi-3.10.1 → teamdbapi-3.11.0}/teamdbapi/models/revision_value.py +0 -0
- {teamdbapi-3.10.1 → teamdbapi-3.11.0}/teamdbapi/models/run.py +0 -0
- {teamdbapi-3.10.1 → teamdbapi-3.11.0}/teamdbapi/models/script.py +0 -0
- {teamdbapi-3.10.1 → teamdbapi-3.11.0}/teamdbapi/models/session.py +0 -0
- {teamdbapi-3.10.1 → teamdbapi-3.11.0}/teamdbapi/models/string_with_font_style.py +0 -0
- {teamdbapi-3.10.1 → teamdbapi-3.11.0}/teamdbapi/models/target.py +0 -0
- {teamdbapi-3.10.1 → teamdbapi-3.11.0}/teamdbapi/models/team_db_list.py +0 -0
- {teamdbapi-3.10.1 → teamdbapi-3.11.0}/teamdbapi/models/tire.py +0 -0
- {teamdbapi-3.10.1 → teamdbapi-3.11.0}/teamdbapi/models/tire_set.py +0 -0
- {teamdbapi-3.10.1 → teamdbapi-3.11.0}/teamdbapi/models/track.py +0 -0
- {teamdbapi-3.10.1 → teamdbapi-3.11.0}/teamdbapi/models/track_layout.py +0 -0
- {teamdbapi-3.10.1 → teamdbapi-3.11.0}/teamdbapi/models/user.py +0 -0
- {teamdbapi-3.10.1 → teamdbapi-3.11.0}/teamdbapi/models/user_group.py +0 -0
- {teamdbapi-3.10.1 → teamdbapi-3.11.0}/teamdbapi/models/value_field.py +0 -0
- {teamdbapi-3.10.1 → teamdbapi-3.11.0}/teamdbapi/models/version.py +0 -0
- {teamdbapi-3.10.1 → teamdbapi-3.11.0}/teamdbapi/rest.py +0 -0
- {teamdbapi-3.10.1 → teamdbapi-3.11.0}/test-requirements.txt +0 -0
- {teamdbapi-3.10.1 → teamdbapi-3.11.0}/tox.ini +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
Copyright ©
|
|
1
|
+
Copyright © 2026 Trackside Software
|
|
2
2
|
|
|
3
3
|
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
4
4
|
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: teamdbapi
|
|
3
|
+
Version: 3.11.0
|
|
4
|
+
Summary: Easily access the TeamDB Web API.
|
|
5
|
+
Keywords: teamdbapi,Trackside,Trackside Software,TeamDB
|
|
6
|
+
Author-email: Trackside Software <support@trackside.fr>
|
|
7
|
+
Requires-Python: >=3.4
|
|
8
|
+
Description-Content-Type: text/markdown
|
|
9
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
10
|
+
Classifier: Programming Language :: Python
|
|
11
|
+
Classifier: Programming Language :: Python :: 3
|
|
12
|
+
License-File: LICENSE
|
|
13
|
+
Requires-Dist: certifi >= 14.05.14
|
|
14
|
+
Requires-Dist: six >= 1.10
|
|
15
|
+
Requires-Dist: python_dateutil >= 2.5.3
|
|
16
|
+
Requires-Dist: setuptools >= 21.0.0
|
|
17
|
+
Requires-Dist: urllib3 >= 1.15.1
|
|
18
|
+
Project-URL: Home, https://www.tracksidesoftware.fr/teamdb
|
|
19
|
+
|
|
20
|
+
# teamdbapi
|
|
21
|
+
This module enables you to easily access the TeamDB Web API.
|
|
22
|
+
|
|
23
|
+
- Package version: 3.11.0
|
|
24
|
+
- TeamDB Web API version: 2.0
|
|
25
|
+
|
|
26
|
+
## Requirements.
|
|
27
|
+
|
|
28
|
+
- Python 3.4+
|
|
29
|
+
- TeamDB 3.11.0
|
|
30
|
+
|
|
31
|
+
## Installation and usage
|
|
32
|
+
### pip install
|
|
33
|
+
|
|
34
|
+
Install via [pip](https://pypi.org/project/pip/).
|
|
35
|
+
|
|
36
|
+
```sh
|
|
37
|
+
pip install teamdbapi
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
Then import the package:
|
|
41
|
+
```python
|
|
42
|
+
import teamdbapi
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
## Getting Started
|
|
46
|
+
|
|
47
|
+
Please follow the installation procedure above and then, depending your TeamDB WebApi configuration, try the following :
|
|
48
|
+
|
|
49
|
+
### Using the HTTP protocole
|
|
50
|
+
|
|
51
|
+
```python
|
|
52
|
+
import teamdbapi
|
|
53
|
+
from teamdbapi.rest import ApiException
|
|
54
|
+
|
|
55
|
+
# Create a Configuration object
|
|
56
|
+
configuration = teamdbapi.Configuration()
|
|
57
|
+
configuration.host = "http://localhost:9001" # Replace with your TeamDB API address if different
|
|
58
|
+
|
|
59
|
+
# Create an instance of the Client API
|
|
60
|
+
client_api = teamdbapi.ApiClient(configuration)
|
|
61
|
+
|
|
62
|
+
# Create an instance of the Assembly API using the client_api
|
|
63
|
+
assembly_api = teamdbapi.AssemblyApi(client_api)
|
|
64
|
+
|
|
65
|
+
# Try to execute the request
|
|
66
|
+
try:
|
|
67
|
+
|
|
68
|
+
# Retrieve and print the current assembly before modification
|
|
69
|
+
result = assembly_api.get_current_assembly()
|
|
70
|
+
print(result)
|
|
71
|
+
|
|
72
|
+
# Set the desired current assembly, and print the response details
|
|
73
|
+
result = assembly_api.select_current_assembly_with_http_info(assembly_id = "6189993b-ad4d-4c41-8268-8419a63e5554") # Replace with your own valid Assembly id.
|
|
74
|
+
print(result)
|
|
75
|
+
|
|
76
|
+
# Retrieve and print the current assembly after modification
|
|
77
|
+
result = assembly_api.get_current_assembly()
|
|
78
|
+
print(result)
|
|
79
|
+
|
|
80
|
+
except ApiException as e:
|
|
81
|
+
print("Exception when selecting the current assembly : %s\n" % e)
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
### Using the HTTPS protocole
|
|
85
|
+
|
|
86
|
+
```python
|
|
87
|
+
import teamdbapi
|
|
88
|
+
from teamdbapi.rest import ApiException
|
|
89
|
+
|
|
90
|
+
# Create a Configuration object
|
|
91
|
+
configuration = teamdbapi.Configuration()
|
|
92
|
+
configuration.host = "https://localhost:9001" # Replace with your TeamDB API address if different
|
|
93
|
+
configuration.api_key['TDB_API_Key'] = 'user_token' # Replace {user_token} by a valid TeamDB WebApi user token.
|
|
94
|
+
|
|
95
|
+
# Create an instance of the Client API
|
|
96
|
+
client_api = teamdbapi.ApiClient(configuration)
|
|
97
|
+
|
|
98
|
+
# Create an instance of the Assembly API using the client_api
|
|
99
|
+
assembly_api = teamdbapi.AssemblyApi(client_api)
|
|
100
|
+
|
|
101
|
+
# Try to execute the request
|
|
102
|
+
try:
|
|
103
|
+
|
|
104
|
+
# Retrieve and print the current assembly before modification
|
|
105
|
+
result = assembly_api.get_current_assembly()
|
|
106
|
+
print(result)
|
|
107
|
+
|
|
108
|
+
# Set the desired current assembly, and print the response details
|
|
109
|
+
result = assembly_api.select_current_assembly_with_http_info(assembly_id = "6189993b-ad4d-4c41-8268-8419a63e5554") # Replace with your own valid Assembly id.
|
|
110
|
+
print(result)
|
|
111
|
+
|
|
112
|
+
# Retrieve and print the current assembly after modification
|
|
113
|
+
result = assembly_api.get_current_assembly()
|
|
114
|
+
print(result)
|
|
115
|
+
|
|
116
|
+
except ApiException as e:
|
|
117
|
+
print("Exception when selecting the current assembly : %s\n" % e)
|
|
118
|
+
```
|
|
119
|
+
|
|
120
|
+
**_NOTE:_** Each method has a detailed version (for example: select_current_assembly => select_current_assembly_with_http_info). This can be useful, for example, if you want to retrieve a detailed response: content, HTTP status code, HTTP header.
|
|
121
|
+
|
|
122
|
+
## Documentation for API Endpoints
|
|
123
|
+
|
|
124
|
+
With a TeamDB Client, check the documentation at *http://localhost:9001* (Default value for the TeamDB Web API URL)
|
|
125
|
+
|
|
126
|
+
## Documentation For Authorization
|
|
127
|
+
|
|
128
|
+
Endpoints are subject to the same authorization as in TeamDB.
|
|
129
|
+
|
|
130
|
+
## Author
|
|
131
|
+
|
|
132
|
+
Trackside Software
|
|
133
|
+
support@trackside.fr
|
|
134
|
+
|
|
135
|
+
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
# teamdbapi
|
|
2
|
+
This module enables you to easily access the TeamDB Web API.
|
|
3
|
+
|
|
4
|
+
- Package version: 3.11.0
|
|
5
|
+
- TeamDB Web API version: 2.0
|
|
6
|
+
|
|
7
|
+
## Requirements.
|
|
8
|
+
|
|
9
|
+
- Python 3.4+
|
|
10
|
+
- TeamDB 3.11.0
|
|
11
|
+
|
|
12
|
+
## Installation and usage
|
|
13
|
+
### pip install
|
|
14
|
+
|
|
15
|
+
Install via [pip](https://pypi.org/project/pip/).
|
|
16
|
+
|
|
17
|
+
```sh
|
|
18
|
+
pip install teamdbapi
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
Then import the package:
|
|
22
|
+
```python
|
|
23
|
+
import teamdbapi
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
## Getting Started
|
|
27
|
+
|
|
28
|
+
Please follow the installation procedure above and then, depending your TeamDB WebApi configuration, try the following :
|
|
29
|
+
|
|
30
|
+
### Using the HTTP protocole
|
|
31
|
+
|
|
32
|
+
```python
|
|
33
|
+
import teamdbapi
|
|
34
|
+
from teamdbapi.rest import ApiException
|
|
35
|
+
|
|
36
|
+
# Create a Configuration object
|
|
37
|
+
configuration = teamdbapi.Configuration()
|
|
38
|
+
configuration.host = "http://localhost:9001" # Replace with your TeamDB API address if different
|
|
39
|
+
|
|
40
|
+
# Create an instance of the Client API
|
|
41
|
+
client_api = teamdbapi.ApiClient(configuration)
|
|
42
|
+
|
|
43
|
+
# Create an instance of the Assembly API using the client_api
|
|
44
|
+
assembly_api = teamdbapi.AssemblyApi(client_api)
|
|
45
|
+
|
|
46
|
+
# Try to execute the request
|
|
47
|
+
try:
|
|
48
|
+
|
|
49
|
+
# Retrieve and print the current assembly before modification
|
|
50
|
+
result = assembly_api.get_current_assembly()
|
|
51
|
+
print(result)
|
|
52
|
+
|
|
53
|
+
# Set the desired current assembly, and print the response details
|
|
54
|
+
result = assembly_api.select_current_assembly_with_http_info(assembly_id = "6189993b-ad4d-4c41-8268-8419a63e5554") # Replace with your own valid Assembly id.
|
|
55
|
+
print(result)
|
|
56
|
+
|
|
57
|
+
# Retrieve and print the current assembly after modification
|
|
58
|
+
result = assembly_api.get_current_assembly()
|
|
59
|
+
print(result)
|
|
60
|
+
|
|
61
|
+
except ApiException as e:
|
|
62
|
+
print("Exception when selecting the current assembly : %s\n" % e)
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
### Using the HTTPS protocole
|
|
66
|
+
|
|
67
|
+
```python
|
|
68
|
+
import teamdbapi
|
|
69
|
+
from teamdbapi.rest import ApiException
|
|
70
|
+
|
|
71
|
+
# Create a Configuration object
|
|
72
|
+
configuration = teamdbapi.Configuration()
|
|
73
|
+
configuration.host = "https://localhost:9001" # Replace with your TeamDB API address if different
|
|
74
|
+
configuration.api_key['TDB_API_Key'] = 'user_token' # Replace {user_token} by a valid TeamDB WebApi user token.
|
|
75
|
+
|
|
76
|
+
# Create an instance of the Client API
|
|
77
|
+
client_api = teamdbapi.ApiClient(configuration)
|
|
78
|
+
|
|
79
|
+
# Create an instance of the Assembly API using the client_api
|
|
80
|
+
assembly_api = teamdbapi.AssemblyApi(client_api)
|
|
81
|
+
|
|
82
|
+
# Try to execute the request
|
|
83
|
+
try:
|
|
84
|
+
|
|
85
|
+
# Retrieve and print the current assembly before modification
|
|
86
|
+
result = assembly_api.get_current_assembly()
|
|
87
|
+
print(result)
|
|
88
|
+
|
|
89
|
+
# Set the desired current assembly, and print the response details
|
|
90
|
+
result = assembly_api.select_current_assembly_with_http_info(assembly_id = "6189993b-ad4d-4c41-8268-8419a63e5554") # Replace with your own valid Assembly id.
|
|
91
|
+
print(result)
|
|
92
|
+
|
|
93
|
+
# Retrieve and print the current assembly after modification
|
|
94
|
+
result = assembly_api.get_current_assembly()
|
|
95
|
+
print(result)
|
|
96
|
+
|
|
97
|
+
except ApiException as e:
|
|
98
|
+
print("Exception when selecting the current assembly : %s\n" % e)
|
|
99
|
+
```
|
|
100
|
+
|
|
101
|
+
**_NOTE:_** Each method has a detailed version (for example: select_current_assembly => select_current_assembly_with_http_info). This can be useful, for example, if you want to retrieve a detailed response: content, HTTP status code, HTTP header.
|
|
102
|
+
|
|
103
|
+
## Documentation for API Endpoints
|
|
104
|
+
|
|
105
|
+
With a TeamDB Client, check the documentation at *http://localhost:9001* (Default value for the TeamDB Web API URL)
|
|
106
|
+
|
|
107
|
+
## Documentation For Authorization
|
|
108
|
+
|
|
109
|
+
Endpoints are subject to the same authorization as in TeamDB.
|
|
110
|
+
|
|
111
|
+
## Author
|
|
112
|
+
|
|
113
|
+
Trackside Software
|
|
114
|
+
support@trackside.fr
|
|
115
|
+
|
|
@@ -120,7 +120,7 @@ class AssemblyApi(object):
|
|
|
120
120
|
['application/json-patch+json', 'application/json', 'text/json', 'application/*+json']) # noqa: E501
|
|
121
121
|
|
|
122
122
|
# Authentication setting
|
|
123
|
-
auth_settings = [] # noqa: E501
|
|
123
|
+
auth_settings = ['TdbApiKey'] # noqa: E501
|
|
124
124
|
|
|
125
125
|
return self.api_client.call_api(
|
|
126
126
|
'/teamdbapi/v2.0/assembly/{assemblyId}/addrevisions', 'POST',
|
|
@@ -225,7 +225,7 @@ class AssemblyApi(object):
|
|
|
225
225
|
['application/json-patch+json', 'application/json', 'text/json', 'application/*+json']) # noqa: E501
|
|
226
226
|
|
|
227
227
|
# Authentication setting
|
|
228
|
-
auth_settings = [] # noqa: E501
|
|
228
|
+
auth_settings = ['TdbApiKey'] # noqa: E501
|
|
229
229
|
|
|
230
230
|
return self.api_client.call_api(
|
|
231
231
|
'/teamdbapi/v2.0/assembly/{assemblyId}/addtag', 'POST',
|
|
@@ -318,7 +318,7 @@ class AssemblyApi(object):
|
|
|
318
318
|
['application/json', 'text/json']) # noqa: E501
|
|
319
319
|
|
|
320
320
|
# Authentication setting
|
|
321
|
-
auth_settings = [] # noqa: E501
|
|
321
|
+
auth_settings = ['TdbApiKey'] # noqa: E501
|
|
322
322
|
|
|
323
323
|
return self.api_client.call_api(
|
|
324
324
|
'/teamdbapi/v2.0/run/{runId}/assemblies', 'GET',
|
|
@@ -427,7 +427,7 @@ class AssemblyApi(object):
|
|
|
427
427
|
['application/json-patch+json', 'application/json', 'text/json', 'application/*+json']) # noqa: E501
|
|
428
428
|
|
|
429
429
|
# Authentication setting
|
|
430
|
-
auth_settings = [] # noqa: E501
|
|
430
|
+
auth_settings = ['TdbApiKey'] # noqa: E501
|
|
431
431
|
|
|
432
432
|
return self.api_client.call_api(
|
|
433
433
|
'/teamdbapi/v2.0/assembly/compare', 'POST',
|
|
@@ -526,7 +526,7 @@ class AssemblyApi(object):
|
|
|
526
526
|
['application/json-patch+json', 'application/json', 'text/json', 'application/*+json']) # noqa: E501
|
|
527
527
|
|
|
528
528
|
# Authentication setting
|
|
529
|
-
auth_settings = [] # noqa: E501
|
|
529
|
+
auth_settings = ['TdbApiKey'] # noqa: E501
|
|
530
530
|
|
|
531
531
|
return self.api_client.call_api(
|
|
532
532
|
'/teamdbapi/v2.0/assembly', 'POST',
|
|
@@ -619,7 +619,7 @@ class AssemblyApi(object):
|
|
|
619
619
|
['application/json', 'text/json']) # noqa: E501
|
|
620
620
|
|
|
621
621
|
# Authentication setting
|
|
622
|
-
auth_settings = [] # noqa: E501
|
|
622
|
+
auth_settings = ['TdbApiKey'] # noqa: E501
|
|
623
623
|
|
|
624
624
|
return self.api_client.call_api(
|
|
625
625
|
'/teamdbapi/v2.0/assembly/{assemblyId}', 'DELETE',
|
|
@@ -716,7 +716,7 @@ class AssemblyApi(object):
|
|
|
716
716
|
['application/json', 'text/json']) # noqa: E501
|
|
717
717
|
|
|
718
718
|
# Authentication setting
|
|
719
|
-
auth_settings = [] # noqa: E501
|
|
719
|
+
auth_settings = ['TdbApiKey'] # noqa: E501
|
|
720
720
|
|
|
721
721
|
return self.api_client.call_api(
|
|
722
722
|
'/teamdbapi/v2.0/assembly/{assemblyId}/duplicate', 'POST',
|
|
@@ -817,7 +817,7 @@ class AssemblyApi(object):
|
|
|
817
817
|
['application/json', 'text/json']) # noqa: E501
|
|
818
818
|
|
|
819
819
|
# Authentication setting
|
|
820
|
-
auth_settings = [] # noqa: E501
|
|
820
|
+
auth_settings = ['TdbApiKey'] # noqa: E501
|
|
821
821
|
|
|
822
822
|
return self.api_client.call_api(
|
|
823
823
|
'/teamdbapi/v2.0/assembly/{assemblyId}/export', 'POST',
|
|
@@ -910,7 +910,7 @@ class AssemblyApi(object):
|
|
|
910
910
|
['application/json', 'text/json']) # noqa: E501
|
|
911
911
|
|
|
912
912
|
# Authentication setting
|
|
913
|
-
auth_settings = [] # noqa: E501
|
|
913
|
+
auth_settings = ['TdbApiKey'] # noqa: E501
|
|
914
914
|
|
|
915
915
|
return self.api_client.call_api(
|
|
916
916
|
'/teamdbapi/v2.0/version/{versionId}/assemblies', 'GET',
|
|
@@ -1003,7 +1003,7 @@ class AssemblyApi(object):
|
|
|
1003
1003
|
['application/json', 'text/json']) # noqa: E501
|
|
1004
1004
|
|
|
1005
1005
|
# Authentication setting
|
|
1006
|
-
auth_settings = [] # noqa: E501
|
|
1006
|
+
auth_settings = ['TdbApiKey'] # noqa: E501
|
|
1007
1007
|
|
|
1008
1008
|
return self.api_client.call_api(
|
|
1009
1009
|
'/teamdbapi/v2.0/assembly/{assemblyId}', 'GET',
|
|
@@ -1088,7 +1088,7 @@ class AssemblyApi(object):
|
|
|
1088
1088
|
['application/json', 'text/json']) # noqa: E501
|
|
1089
1089
|
|
|
1090
1090
|
# Authentication setting
|
|
1091
|
-
auth_settings = [] # noqa: E501
|
|
1091
|
+
auth_settings = ['TdbApiKey'] # noqa: E501
|
|
1092
1092
|
|
|
1093
1093
|
return self.api_client.call_api(
|
|
1094
1094
|
'/teamdbapi/v2.0/assembly/current', 'GET',
|
|
@@ -1181,7 +1181,7 @@ class AssemblyApi(object):
|
|
|
1181
1181
|
['application/json', 'text/json']) # noqa: E501
|
|
1182
1182
|
|
|
1183
1183
|
# Authentication setting
|
|
1184
|
-
auth_settings = [] # noqa: E501
|
|
1184
|
+
auth_settings = ['TdbApiKey'] # noqa: E501
|
|
1185
1185
|
|
|
1186
1186
|
return self.api_client.call_api(
|
|
1187
1187
|
'/teamdbapi/v2.0/assembly/{assemblyId}/grouprevisions', 'GET',
|
|
@@ -1282,7 +1282,7 @@ class AssemblyApi(object):
|
|
|
1282
1282
|
['application/json', 'text/json']) # noqa: E501
|
|
1283
1283
|
|
|
1284
1284
|
# Authentication setting
|
|
1285
|
-
auth_settings = [] # noqa: E501
|
|
1285
|
+
auth_settings = ['TdbApiKey'] # noqa: E501
|
|
1286
1286
|
|
|
1287
1287
|
return self.api_client.call_api(
|
|
1288
1288
|
'/teamdbapi/v2.0/assembly/{assemblyId}/group/{groupId}/revisions', 'GET',
|
|
@@ -1383,7 +1383,7 @@ class AssemblyApi(object):
|
|
|
1383
1383
|
['application/json', 'text/json']) # noqa: E501
|
|
1384
1384
|
|
|
1385
1385
|
# Authentication setting
|
|
1386
|
-
auth_settings = [] # noqa: E501
|
|
1386
|
+
auth_settings = ['TdbApiKey'] # noqa: E501
|
|
1387
1387
|
|
|
1388
1388
|
return self.api_client.call_api(
|
|
1389
1389
|
'/teamdbapi/v2.0/assembly/import', 'POST',
|
|
@@ -1484,7 +1484,7 @@ class AssemblyApi(object):
|
|
|
1484
1484
|
['application/json', 'text/json']) # noqa: E501
|
|
1485
1485
|
|
|
1486
1486
|
# Authentication setting
|
|
1487
|
-
auth_settings = [] # noqa: E501
|
|
1487
|
+
auth_settings = ['TdbApiKey'] # noqa: E501
|
|
1488
1488
|
|
|
1489
1489
|
return self.api_client.call_api(
|
|
1490
1490
|
'/teamdbapi/v2.0/run/{runId}/linkassembly', 'POST',
|
|
@@ -1585,7 +1585,7 @@ class AssemblyApi(object):
|
|
|
1585
1585
|
['application/json', 'text/json']) # noqa: E501
|
|
1586
1586
|
|
|
1587
1587
|
# Authentication setting
|
|
1588
|
-
auth_settings = [] # noqa: E501
|
|
1588
|
+
auth_settings = ['TdbApiKey'] # noqa: E501
|
|
1589
1589
|
|
|
1590
1590
|
return self.api_client.call_api(
|
|
1591
1591
|
'/teamdbapi/v2.0/assembly/{assemblyId}/lock', 'POST',
|
|
@@ -1690,7 +1690,7 @@ class AssemblyApi(object):
|
|
|
1690
1690
|
['application/json-patch+json', 'application/json', 'text/json', 'application/*+json']) # noqa: E501
|
|
1691
1691
|
|
|
1692
1692
|
# Authentication setting
|
|
1693
|
-
auth_settings = [] # noqa: E501
|
|
1693
|
+
auth_settings = ['TdbApiKey'] # noqa: E501
|
|
1694
1694
|
|
|
1695
1695
|
return self.api_client.call_api(
|
|
1696
1696
|
'/teamdbapi/v2.0/assembly/{assemblyId}/removerevisions', 'POST',
|
|
@@ -1791,7 +1791,7 @@ class AssemblyApi(object):
|
|
|
1791
1791
|
['application/json', 'text/json']) # noqa: E501
|
|
1792
1792
|
|
|
1793
1793
|
# Authentication setting
|
|
1794
|
-
auth_settings = [] # noqa: E501
|
|
1794
|
+
auth_settings = ['TdbApiKey'] # noqa: E501
|
|
1795
1795
|
|
|
1796
1796
|
return self.api_client.call_api(
|
|
1797
1797
|
'/teamdbapi/v2.0/assembly/{assemblyId}/removetag', 'POST',
|
|
@@ -1884,7 +1884,7 @@ class AssemblyApi(object):
|
|
|
1884
1884
|
['application/json', 'text/json']) # noqa: E501
|
|
1885
1885
|
|
|
1886
1886
|
# Authentication setting
|
|
1887
|
-
auth_settings = [] # noqa: E501
|
|
1887
|
+
auth_settings = ['TdbApiKey'] # noqa: E501
|
|
1888
1888
|
|
|
1889
1889
|
return self.api_client.call_api(
|
|
1890
1890
|
'/teamdbapi/v2.0/assembly/current', 'POST',
|
|
@@ -1985,7 +1985,7 @@ class AssemblyApi(object):
|
|
|
1985
1985
|
['application/json', 'text/json']) # noqa: E501
|
|
1986
1986
|
|
|
1987
1987
|
# Authentication setting
|
|
1988
|
-
auth_settings = [] # noqa: E501
|
|
1988
|
+
auth_settings = ['TdbApiKey'] # noqa: E501
|
|
1989
1989
|
|
|
1990
1990
|
return self.api_client.call_api(
|
|
1991
1991
|
'/teamdbapi/v2.0/run/{runId}/unlinkassembly', 'POST',
|
|
@@ -2090,7 +2090,7 @@ class AssemblyApi(object):
|
|
|
2090
2090
|
['application/json-patch+json', 'application/json', 'text/json', 'application/*+json']) # noqa: E501
|
|
2091
2091
|
|
|
2092
2092
|
# Authentication setting
|
|
2093
|
-
auth_settings = [] # noqa: E501
|
|
2093
|
+
auth_settings = ['TdbApiKey'] # noqa: E501
|
|
2094
2094
|
|
|
2095
2095
|
return self.api_client.call_api(
|
|
2096
2096
|
'/teamdbapi/v2.0/assembly/{assemblyId}', 'PUT',
|
|
@@ -112,7 +112,7 @@ class CarApi(object):
|
|
|
112
112
|
['application/json-patch+json', 'application/json', 'text/json', 'application/*+json']) # noqa: E501
|
|
113
113
|
|
|
114
114
|
# Authentication setting
|
|
115
|
-
auth_settings = [] # noqa: E501
|
|
115
|
+
auth_settings = ['TdbApiKey'] # noqa: E501
|
|
116
116
|
|
|
117
117
|
return self.api_client.call_api(
|
|
118
118
|
'/teamdbapi/v2.0/car', 'POST',
|
|
@@ -209,7 +209,7 @@ class CarApi(object):
|
|
|
209
209
|
['application/json-patch+json', 'application/json', 'text/json', 'application/*+json']) # noqa: E501
|
|
210
210
|
|
|
211
211
|
# Authentication setting
|
|
212
|
-
auth_settings = [] # noqa: E501
|
|
212
|
+
auth_settings = ['TdbApiKey'] # noqa: E501
|
|
213
213
|
|
|
214
214
|
return self.api_client.call_api(
|
|
215
215
|
'/teamdbapi/v2.0/cartype', 'POST',
|
|
@@ -302,7 +302,7 @@ class CarApi(object):
|
|
|
302
302
|
['application/json', 'text/json']) # noqa: E501
|
|
303
303
|
|
|
304
304
|
# Authentication setting
|
|
305
|
-
auth_settings = [] # noqa: E501
|
|
305
|
+
auth_settings = ['TdbApiKey'] # noqa: E501
|
|
306
306
|
|
|
307
307
|
return self.api_client.call_api(
|
|
308
308
|
'/teamdbapi/v2.0/car/{carId}', 'DELETE',
|
|
@@ -395,7 +395,7 @@ class CarApi(object):
|
|
|
395
395
|
['application/json', 'text/json']) # noqa: E501
|
|
396
396
|
|
|
397
397
|
# Authentication setting
|
|
398
|
-
auth_settings = [] # noqa: E501
|
|
398
|
+
auth_settings = ['TdbApiKey'] # noqa: E501
|
|
399
399
|
|
|
400
400
|
return self.api_client.call_api(
|
|
401
401
|
'/teamdbapi/v2.0/cartype/{carTypeId}', 'DELETE',
|
|
@@ -488,7 +488,7 @@ class CarApi(object):
|
|
|
488
488
|
['application/json', 'text/json']) # noqa: E501
|
|
489
489
|
|
|
490
490
|
# Authentication setting
|
|
491
|
-
auth_settings = [] # noqa: E501
|
|
491
|
+
auth_settings = ['TdbApiKey'] # noqa: E501
|
|
492
492
|
|
|
493
493
|
return self.api_client.call_api(
|
|
494
494
|
'/teamdbapi/v2.0/car/{carId}', 'GET',
|
|
@@ -581,7 +581,7 @@ class CarApi(object):
|
|
|
581
581
|
['application/json', 'text/json']) # noqa: E501
|
|
582
582
|
|
|
583
583
|
# Authentication setting
|
|
584
|
-
auth_settings = [] # noqa: E501
|
|
584
|
+
auth_settings = ['TdbApiKey'] # noqa: E501
|
|
585
585
|
|
|
586
586
|
return self.api_client.call_api(
|
|
587
587
|
'/teamdbapi/v2.0/event/{eventId}/cars', 'GET',
|
|
@@ -666,7 +666,7 @@ class CarApi(object):
|
|
|
666
666
|
['application/json', 'text/json']) # noqa: E501
|
|
667
667
|
|
|
668
668
|
# Authentication setting
|
|
669
|
-
auth_settings = [] # noqa: E501
|
|
669
|
+
auth_settings = ['TdbApiKey'] # noqa: E501
|
|
670
670
|
|
|
671
671
|
return self.api_client.call_api(
|
|
672
672
|
'/teamdbapi/v2.0/cartypes', 'GET',
|
|
@@ -751,7 +751,7 @@ class CarApi(object):
|
|
|
751
751
|
['application/json', 'text/json']) # noqa: E501
|
|
752
752
|
|
|
753
753
|
# Authentication setting
|
|
754
|
-
auth_settings = [] # noqa: E501
|
|
754
|
+
auth_settings = ['TdbApiKey'] # noqa: E501
|
|
755
755
|
|
|
756
756
|
return self.api_client.call_api(
|
|
757
757
|
'/teamdbapi/v2.0/car/current', 'GET',
|
|
@@ -856,7 +856,7 @@ class CarApi(object):
|
|
|
856
856
|
['application/json-patch+json', 'application/json', 'text/json', 'application/*+json']) # noqa: E501
|
|
857
857
|
|
|
858
858
|
# Authentication setting
|
|
859
|
-
auth_settings = [] # noqa: E501
|
|
859
|
+
auth_settings = ['TdbApiKey'] # noqa: E501
|
|
860
860
|
|
|
861
861
|
return self.api_client.call_api(
|
|
862
862
|
'/teamdbapi/v2.0/car/{carId}', 'PUT',
|
|
@@ -124,7 +124,7 @@ class ComponentApi(object):
|
|
|
124
124
|
['application/json-patch+json', 'application/json', 'text/json', 'application/*+json']) # noqa: E501
|
|
125
125
|
|
|
126
126
|
# Authentication setting
|
|
127
|
-
auth_settings = [] # noqa: E501
|
|
127
|
+
auth_settings = ['TdbApiKey'] # noqa: E501
|
|
128
128
|
|
|
129
129
|
return self.api_client.call_api(
|
|
130
130
|
'/teamdbapi/v2.0/component/{componentId}/revision/{revisionId}/addcontent', 'POST',
|
|
@@ -225,7 +225,7 @@ class ComponentApi(object):
|
|
|
225
225
|
['application/json-patch+json', 'application/json', 'text/json', 'application/*+json']) # noqa: E501
|
|
226
226
|
|
|
227
227
|
# Authentication setting
|
|
228
|
-
auth_settings = [] # noqa: E501
|
|
228
|
+
auth_settings = ['TdbApiKey'] # noqa: E501
|
|
229
229
|
|
|
230
230
|
return self.api_client.call_api(
|
|
231
231
|
'/teamdbapi/v2.0/part/{partId}/component', 'POST',
|
|
@@ -326,7 +326,7 @@ class ComponentApi(object):
|
|
|
326
326
|
['application/json', 'text/json']) # noqa: E501
|
|
327
327
|
|
|
328
328
|
# Authentication setting
|
|
329
|
-
auth_settings = [] # noqa: E501
|
|
329
|
+
auth_settings = ['TdbApiKey'] # noqa: E501
|
|
330
330
|
|
|
331
331
|
return self.api_client.call_api(
|
|
332
332
|
'/teamdbapi/v2.0/component/{componentId}/revision/{revisionId}', 'GET',
|
|
@@ -427,7 +427,7 @@ class ComponentApi(object):
|
|
|
427
427
|
['application/json', 'text/json']) # noqa: E501
|
|
428
428
|
|
|
429
429
|
# Authentication setting
|
|
430
|
-
auth_settings = [] # noqa: E501
|
|
430
|
+
auth_settings = ['TdbApiKey'] # noqa: E501
|
|
431
431
|
|
|
432
432
|
return self.api_client.call_api(
|
|
433
433
|
'/teamdbapi/v2.0/component/{componentId}/revision/{revisionId}/content', 'GET',
|
|
@@ -528,7 +528,7 @@ class ComponentApi(object):
|
|
|
528
528
|
['application/json', 'text/json']) # noqa: E501
|
|
529
529
|
|
|
530
530
|
# Authentication setting
|
|
531
|
-
auth_settings = [] # noqa: E501
|
|
531
|
+
auth_settings = ['TdbApiKey'] # noqa: E501
|
|
532
532
|
|
|
533
533
|
return self.api_client.call_api(
|
|
534
534
|
'/teamdbapi/v2.0/component/{componentId}/revision/{revisionId}/criteria', 'GET',
|
|
@@ -629,7 +629,7 @@ class ComponentApi(object):
|
|
|
629
629
|
['application/json', 'text/json']) # noqa: E501
|
|
630
630
|
|
|
631
631
|
# Authentication setting
|
|
632
|
-
auth_settings = [] # noqa: E501
|
|
632
|
+
auth_settings = ['TdbApiKey'] # noqa: E501
|
|
633
633
|
|
|
634
634
|
return self.api_client.call_api(
|
|
635
635
|
'/teamdbapi/v2.0/component/{componentId}/revision/{revisionId}/criteriadetails', 'GET',
|
|
@@ -722,7 +722,7 @@ class ComponentApi(object):
|
|
|
722
722
|
['application/json', 'text/json']) # noqa: E501
|
|
723
723
|
|
|
724
724
|
# Authentication setting
|
|
725
|
-
auth_settings = [] # noqa: E501
|
|
725
|
+
auth_settings = ['TdbApiKey'] # noqa: E501
|
|
726
726
|
|
|
727
727
|
return self.api_client.call_api(
|
|
728
728
|
'/teamdbapi/v2.0/component/{componentId}/revisions', 'GET',
|
|
@@ -815,7 +815,7 @@ class ComponentApi(object):
|
|
|
815
815
|
['application/json', 'text/json']) # noqa: E501
|
|
816
816
|
|
|
817
817
|
# Authentication setting
|
|
818
|
-
auth_settings = [] # noqa: E501
|
|
818
|
+
auth_settings = ['TdbApiKey'] # noqa: E501
|
|
819
819
|
|
|
820
820
|
return self.api_client.call_api(
|
|
821
821
|
'/teamdbapi/v2.0/part/{partId}/components', 'GET',
|
|
@@ -924,7 +924,7 @@ class ComponentApi(object):
|
|
|
924
924
|
['application/json-patch+json', 'application/json', 'text/json', 'application/*+json']) # noqa: E501
|
|
925
925
|
|
|
926
926
|
# Authentication setting
|
|
927
|
-
auth_settings = [] # noqa: E501
|
|
927
|
+
auth_settings = ['TdbApiKey'] # noqa: E501
|
|
928
928
|
|
|
929
929
|
return self.api_client.call_api(
|
|
930
930
|
'/teamdbapi/v2.0/component/{componentId}/revision/{revisionId}/removecontent', 'POST',
|
|
@@ -1041,7 +1041,7 @@ class ComponentApi(object):
|
|
|
1041
1041
|
['application/json', 'text/json']) # noqa: E501
|
|
1042
1042
|
|
|
1043
1043
|
# Authentication setting
|
|
1044
|
-
auth_settings = [] # noqa: E501
|
|
1044
|
+
auth_settings = ['TdbApiKey'] # noqa: E501
|
|
1045
1045
|
|
|
1046
1046
|
return self.api_client.call_api(
|
|
1047
1047
|
'/teamdbapi/v2.0/component/{componentId}/revision/{revisionId}/subComponent/{subComponentRevisionId}/parameterBinding/{parameterBinding}', 'PUT',
|
|
@@ -1126,7 +1126,7 @@ class ComponentApi(object):
|
|
|
1126
1126
|
['application/json', 'text/json']) # noqa: E501
|
|
1127
1127
|
|
|
1128
1128
|
# Authentication setting
|
|
1129
|
-
auth_settings = [] # noqa: E501
|
|
1129
|
+
auth_settings = ['TdbApiKey'] # noqa: E501
|
|
1130
1130
|
|
|
1131
1131
|
return self.api_client.call_api(
|
|
1132
1132
|
'/teamdbapi/v2.0/component/export', 'POST',
|
|
@@ -1239,7 +1239,7 @@ class ComponentApi(object):
|
|
|
1239
1239
|
['application/json-patch+json', 'application/json', 'text/json', 'application/*+json']) # noqa: E501
|
|
1240
1240
|
|
|
1241
1241
|
# Authentication setting
|
|
1242
|
-
auth_settings = [] # noqa: E501
|
|
1242
|
+
auth_settings = ['TdbApiKey'] # noqa: E501
|
|
1243
1243
|
|
|
1244
1244
|
return self.api_client.call_api(
|
|
1245
1245
|
'/teamdbapi/v2.0/component/{componentId}/revision/{revisionId}', 'PUT',
|
|
@@ -100,7 +100,7 @@ class ConfigApi(object):
|
|
|
100
100
|
['application/json', 'text/json']) # noqa: E501
|
|
101
101
|
|
|
102
102
|
# Authentication setting
|
|
103
|
-
auth_settings = [] # noqa: E501
|
|
103
|
+
auth_settings = ['TdbApiKey'] # noqa: E501
|
|
104
104
|
|
|
105
105
|
return self.api_client.call_api(
|
|
106
106
|
'/teamdbapi/v2.0/server/uri', 'GET',
|