foxinternalclient 5.2.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- foxinternalclient-5.2.0/PKG-INFO +25 -0
- foxinternalclient-5.2.0/README.md +206 -0
- foxinternalclient-5.2.0/foxinternalclient/__init__.py +83 -0
- foxinternalclient-5.2.0/foxinternalclient/api/__init__.py +10 -0
- foxinternalclient-5.2.0/foxinternalclient/api/device_api.py +1305 -0
- foxinternalclient-5.2.0/foxinternalclient/api/fox_factory_api.py +1906 -0
- foxinternalclient-5.2.0/foxinternalclient/api/gitlab_api.py +314 -0
- foxinternalclient-5.2.0/foxinternalclient/api/internal_api.py +4956 -0
- foxinternalclient-5.2.0/foxinternalclient/api/release_api.py +1511 -0
- foxinternalclient-5.2.0/foxinternalclient/api/stats_api.py +285 -0
- foxinternalclient-5.2.0/foxinternalclient/api_client.py +801 -0
- foxinternalclient-5.2.0/foxinternalclient/api_response.py +21 -0
- foxinternalclient-5.2.0/foxinternalclient/configuration.py +591 -0
- foxinternalclient-5.2.0/foxinternalclient/exceptions.py +217 -0
- foxinternalclient-5.2.0/foxinternalclient/models/__init__.py +61 -0
- foxinternalclient-5.2.0/foxinternalclient/models/body_change_password_profile_change_password_post.py +90 -0
- foxinternalclient-5.2.0/foxinternalclient/models/build_status_enum.py +42 -0
- foxinternalclient-5.2.0/foxinternalclient/models/build_task_response.py +116 -0
- foxinternalclient-5.2.0/foxinternalclient/models/build_task_short_response.py +107 -0
- foxinternalclient-5.2.0/foxinternalclient/models/device_internal_response.py +143 -0
- foxinternalclient-5.2.0/foxinternalclient/models/device_response.py +130 -0
- foxinternalclient-5.2.0/foxinternalclient/models/device_stats_response.py +92 -0
- foxinternalclient-5.2.0/foxinternalclient/models/device_update_body.py +128 -0
- foxinternalclient-5.2.0/foxinternalclient/models/ff_status_enum.py +39 -0
- foxinternalclient-5.2.0/foxinternalclient/models/ff_status_response.py +89 -0
- foxinternalclient-5.2.0/foxinternalclient/models/global_stats_aggregation_model.py +94 -0
- foxinternalclient-5.2.0/foxinternalclient/models/http_validation_error.py +96 -0
- foxinternalclient-5.2.0/foxinternalclient/models/list_response_release_response.py +100 -0
- foxinternalclient-5.2.0/foxinternalclient/models/list_response_short_device_response.py +100 -0
- foxinternalclient-5.2.0/foxinternalclient/models/list_response_short_release_response.py +100 -0
- foxinternalclient-5.2.0/foxinternalclient/models/list_response_str.py +92 -0
- foxinternalclient-5.2.0/foxinternalclient/models/list_response_user_short_response.py +100 -0
- foxinternalclient-5.2.0/foxinternalclient/models/log_list_response.py +102 -0
- foxinternalclient-5.2.0/foxinternalclient/models/log_response.py +134 -0
- foxinternalclient-5.2.0/foxinternalclient/models/maintainer_short_model.py +94 -0
- foxinternalclient-5.2.0/foxinternalclient/models/new_build_task_body.py +112 -0
- foxinternalclient-5.2.0/foxinternalclient/models/new_device_body.py +99 -0
- foxinternalclient-5.2.0/foxinternalclient/models/recovery_img_response.py +90 -0
- foxinternalclient-5.2.0/foxinternalclient/models/release_groups_response.py +105 -0
- foxinternalclient-5.2.0/foxinternalclient/models/release_internal_response.py +191 -0
- foxinternalclient-5.2.0/foxinternalclient/models/release_internal_response_prop_value.py +156 -0
- foxinternalclient-5.2.0/foxinternalclient/models/release_response.py +154 -0
- foxinternalclient-5.2.0/foxinternalclient/models/release_stats_response.py +92 -0
- foxinternalclient-5.2.0/foxinternalclient/models/release_type.py +39 -0
- foxinternalclient-5.2.0/foxinternalclient/models/release_update_body.py +114 -0
- foxinternalclient-5.2.0/foxinternalclient/models/releases_sort.py +38 -0
- foxinternalclient-5.2.0/foxinternalclient/models/response_get_releases_releases_get.py +135 -0
- foxinternalclient-5.2.0/foxinternalclient/models/short_device_response.py +110 -0
- foxinternalclient-5.2.0/foxinternalclient/models/short_release_response.py +124 -0
- foxinternalclient-5.2.0/foxinternalclient/models/task_update_body.py +101 -0
- foxinternalclient-5.2.0/foxinternalclient/models/token_response.py +90 -0
- foxinternalclient-5.2.0/foxinternalclient/models/user_gitlab.py +88 -0
- foxinternalclient-5.2.0/foxinternalclient/models/user_internal_response.py +146 -0
- foxinternalclient-5.2.0/foxinternalclient/models/user_mail.py +88 -0
- foxinternalclient-5.2.0/foxinternalclient/models/user_short_response.py +94 -0
- foxinternalclient-5.2.0/foxinternalclient/models/user_telegram.py +88 -0
- foxinternalclient-5.2.0/foxinternalclient/models/user_update_body.py +121 -0
- foxinternalclient-5.2.0/foxinternalclient/models/validation_error.py +100 -0
- foxinternalclient-5.2.0/foxinternalclient/models/validation_error_loc_inner.py +139 -0
- foxinternalclient-5.2.0/foxinternalclient/py.typed +0 -0
- foxinternalclient-5.2.0/foxinternalclient/rest.py +214 -0
- foxinternalclient-5.2.0/foxinternalclient.egg-info/PKG-INFO +25 -0
- foxinternalclient-5.2.0/foxinternalclient.egg-info/SOURCES.txt +118 -0
- foxinternalclient-5.2.0/foxinternalclient.egg-info/dependency_links.txt +1 -0
- foxinternalclient-5.2.0/foxinternalclient.egg-info/requires.txt +6 -0
- foxinternalclient-5.2.0/foxinternalclient.egg-info/top_level.txt +1 -0
- foxinternalclient-5.2.0/pyproject.toml +91 -0
- foxinternalclient-5.2.0/setup.cfg +7 -0
- foxinternalclient-5.2.0/setup.py +52 -0
- foxinternalclient-5.2.0/test/test_body_change_password_profile_change_password_post.py +55 -0
- foxinternalclient-5.2.0/test/test_build_status_enum.py +34 -0
- foxinternalclient-5.2.0/test/test_build_task_response.py +74 -0
- foxinternalclient-5.2.0/test/test_build_task_short_response.py +68 -0
- foxinternalclient-5.2.0/test/test_device_api.py +60 -0
- foxinternalclient-5.2.0/test/test_device_internal_response.py +109 -0
- foxinternalclient-5.2.0/test/test_device_response.py +91 -0
- foxinternalclient-5.2.0/test/test_device_stats_response.py +65 -0
- foxinternalclient-5.2.0/test/test_device_update_body.py +61 -0
- foxinternalclient-5.2.0/test/test_ff_status_enum.py +34 -0
- foxinternalclient-5.2.0/test/test_ff_status_response.py +53 -0
- foxinternalclient-5.2.0/test/test_fox_factory_api.py +81 -0
- foxinternalclient-5.2.0/test/test_gitlab_api.py +39 -0
- foxinternalclient-5.2.0/test/test_global_stats_aggregation_model.py +63 -0
- foxinternalclient-5.2.0/test/test_http_validation_error.py +59 -0
- foxinternalclient-5.2.0/test/test_internal_api.py +151 -0
- foxinternalclient-5.2.0/test/test_list_response_release_response.py +113 -0
- foxinternalclient-5.2.0/test/test_list_response_short_device_response.py +87 -0
- foxinternalclient-5.2.0/test/test_list_response_short_release_response.py +85 -0
- foxinternalclient-5.2.0/test/test_list_response_str.py +59 -0
- foxinternalclient-5.2.0/test/test_list_response_user_short_response.py +67 -0
- foxinternalclient-5.2.0/test/test_log_list_response.py +93 -0
- foxinternalclient-5.2.0/test/test_log_response.py +74 -0
- foxinternalclient-5.2.0/test/test_maintainer_short_model.py +59 -0
- foxinternalclient-5.2.0/test/test_new_build_task_body.py +59 -0
- foxinternalclient-5.2.0/test/test_new_device_body.py +67 -0
- foxinternalclient-5.2.0/test/test_recovery_img_response.py +55 -0
- foxinternalclient-5.2.0/test/test_release_api.py +60 -0
- foxinternalclient-5.2.0/test/test_release_groups_response.py +115 -0
- foxinternalclient-5.2.0/test/test_release_internal_response.py +124 -0
- foxinternalclient-5.2.0/test/test_release_internal_response_prop_value.py +51 -0
- foxinternalclient-5.2.0/test/test_release_response.py +103 -0
- foxinternalclient-5.2.0/test/test_release_stats_response.py +65 -0
- foxinternalclient-5.2.0/test/test_release_type.py +34 -0
- foxinternalclient-5.2.0/test/test_release_update_body.py +59 -0
- foxinternalclient-5.2.0/test/test_releases_sort.py +34 -0
- foxinternalclient-5.2.0/test/test_response_get_releases_releases_get.py +117 -0
- foxinternalclient-5.2.0/test/test_short_device_response.py +79 -0
- foxinternalclient-5.2.0/test/test_short_release_response.py +75 -0
- foxinternalclient-5.2.0/test/test_stats_api.py +39 -0
- foxinternalclient-5.2.0/test/test_task_update_body.py +55 -0
- foxinternalclient-5.2.0/test/test_token_response.py +54 -0
- foxinternalclient-5.2.0/test/test_user_gitlab.py +53 -0
- foxinternalclient-5.2.0/test/test_user_internal_response.py +106 -0
- foxinternalclient-5.2.0/test/test_user_mail.py +53 -0
- foxinternalclient-5.2.0/test/test_user_short_response.py +59 -0
- foxinternalclient-5.2.0/test/test_user_telegram.py +53 -0
- foxinternalclient-5.2.0/test/test_user_update_body.py +58 -0
- foxinternalclient-5.2.0/test/test_validation_error.py +61 -0
- foxinternalclient-5.2.0/test/test_validation_error_loc_inner.py +51 -0
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: foxinternalclient
|
|
3
|
+
Version: 5.2.0
|
|
4
|
+
Summary: Fox API
|
|
5
|
+
Home-page:
|
|
6
|
+
Author: OpenAPI Generator community
|
|
7
|
+
Author-email: admin@orangefox.tech
|
|
8
|
+
Keywords: OpenAPI,OpenAPI-Generator,Fox API
|
|
9
|
+
Description-Content-Type: text/markdown
|
|
10
|
+
Requires-Dist: urllib3<3.0.0,>=2.1.0
|
|
11
|
+
Requires-Dist: python-dateutil>=2.8.2
|
|
12
|
+
Requires-Dist: aiohttp>=3.8.4
|
|
13
|
+
Requires-Dist: aiohttp-retry>=2.8.3
|
|
14
|
+
Requires-Dist: pydantic>=2
|
|
15
|
+
Requires-Dist: typing-extensions>=4.7.1
|
|
16
|
+
Dynamic: author
|
|
17
|
+
Dynamic: author-email
|
|
18
|
+
Dynamic: description
|
|
19
|
+
Dynamic: description-content-type
|
|
20
|
+
Dynamic: keywords
|
|
21
|
+
Dynamic: requires-dist
|
|
22
|
+
Dynamic: summary
|
|
23
|
+
|
|
24
|
+
Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application's access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 20 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
|
|
25
|
+
|
|
@@ -0,0 +1,206 @@
|
|
|
1
|
+
# foxinternalclient
|
|
2
|
+
|
|
3
|
+
Warning: Please add a custom user agent header to your requests.
|
|
4
|
+
This would help us fighting against DDoS attacks in future, while keeping your application's access to the API.
|
|
5
|
+
In future, this may be a mandatory requirement.
|
|
6
|
+
|
|
7
|
+
To reduce the system load, the API endpoints are rate limited.
|
|
8
|
+
The default limit is 20 requests per minute. Contact admin@orangefox.tech if you need a higher limit.
|
|
9
|
+
|
|
10
|
+
The requests may be logged for analytics and development purposes.
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
|
14
|
+
|
|
15
|
+
- API version: 5.2.0
|
|
16
|
+
- Package version: 5.2.0
|
|
17
|
+
- Generator version: 7.13.0
|
|
18
|
+
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
|
|
19
|
+
|
|
20
|
+
## Requirements.
|
|
21
|
+
|
|
22
|
+
Python 3.9+
|
|
23
|
+
|
|
24
|
+
## Installation & Usage
|
|
25
|
+
### pip install
|
|
26
|
+
|
|
27
|
+
If the python package is hosted on a repository, you can install directly using:
|
|
28
|
+
|
|
29
|
+
```sh
|
|
30
|
+
pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git
|
|
31
|
+
```
|
|
32
|
+
(you may need to run `pip` with root permission: `sudo pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git`)
|
|
33
|
+
|
|
34
|
+
Then import the package:
|
|
35
|
+
```python
|
|
36
|
+
import foxinternalclient
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
### Setuptools
|
|
40
|
+
|
|
41
|
+
Install via [Setuptools](http://pypi.python.org/pypi/setuptools).
|
|
42
|
+
|
|
43
|
+
```sh
|
|
44
|
+
python setup.py install --user
|
|
45
|
+
```
|
|
46
|
+
(or `sudo python setup.py install` to install the package for all users)
|
|
47
|
+
|
|
48
|
+
Then import the package:
|
|
49
|
+
```python
|
|
50
|
+
import foxinternalclient
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
### Tests
|
|
54
|
+
|
|
55
|
+
Execute `pytest` to run the tests.
|
|
56
|
+
|
|
57
|
+
## Getting Started
|
|
58
|
+
|
|
59
|
+
Please follow the [installation procedure](#installation--usage) and then run the following:
|
|
60
|
+
|
|
61
|
+
```python
|
|
62
|
+
|
|
63
|
+
import foxinternalclient
|
|
64
|
+
from foxinternalclient.rest import ApiException
|
|
65
|
+
from pprint import pprint
|
|
66
|
+
|
|
67
|
+
# Defining the host is optional and defaults to https://api.orangefox.download
|
|
68
|
+
# See configuration.py for a list of all supported configuration parameters.
|
|
69
|
+
configuration = foxinternalclient.Configuration(
|
|
70
|
+
host = "https://api.orangefox.download"
|
|
71
|
+
)
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
# Enter a context with an instance of the API client
|
|
76
|
+
async with foxinternalclient.ApiClient(configuration) as api_client:
|
|
77
|
+
# Create an instance of the API class
|
|
78
|
+
api_instance = foxinternalclient.DeviceApi(api_client)
|
|
79
|
+
device_id = foxinternalclient.AnyOf() # AnyOf | (optional)
|
|
80
|
+
id = foxinternalclient.AnyOf() # AnyOf | Filter by Device ID (deprecated) (optional)
|
|
81
|
+
codename = 'codename_example' # str | Not recommended to use when you can (optional)
|
|
82
|
+
|
|
83
|
+
try:
|
|
84
|
+
# Get Device
|
|
85
|
+
api_response = await api_instance.get_device_devices_get_get(device_id=device_id, id=id, codename=codename)
|
|
86
|
+
print("The response of DeviceApi->get_device_devices_get_get:\n")
|
|
87
|
+
pprint(api_response)
|
|
88
|
+
except ApiException as e:
|
|
89
|
+
print("Exception when calling DeviceApi->get_device_devices_get_get: %s\n" % e)
|
|
90
|
+
|
|
91
|
+
```
|
|
92
|
+
|
|
93
|
+
## Documentation for API Endpoints
|
|
94
|
+
|
|
95
|
+
All URIs are relative to *https://api.orangefox.download*
|
|
96
|
+
|
|
97
|
+
Class | Method | HTTP request | Description
|
|
98
|
+
------------ | ------------- | ------------- | -------------
|
|
99
|
+
*DeviceApi* | [**get_device_devices_get_get**](docs/DeviceApi.md#get_device_devices_get_get) | **GET** /devices/get | Get Device
|
|
100
|
+
*DeviceApi* | [**get_device_short_devices_device_id_get**](docs/DeviceApi.md#get_device_short_devices_device_id_get) | **GET** /devices/{device_id} | Get Device Short
|
|
101
|
+
*DeviceApi* | [**get_devices_devices_get**](docs/DeviceApi.md#get_devices_devices_get) | **GET** /devices/ | Get Devices
|
|
102
|
+
*DeviceApi* | [**get_oems_list_oems_get**](docs/DeviceApi.md#get_oems_list_oems_get) | **GET** /oems/ | Get Oems List
|
|
103
|
+
*FoxFactoryApi* | [**cancel_task_factory_task_id_cancel_post**](docs/FoxFactoryApi.md#cancel_task_factory_task_id_cancel_post) | **POST** /factory/{task_id}/cancel | Cancel Task
|
|
104
|
+
*FoxFactoryApi* | [**delete_task_factory_task_id_delete**](docs/FoxFactoryApi.md#delete_task_factory_task_id_delete) | **DELETE** /factory/{task_id} | Delete Task
|
|
105
|
+
*FoxFactoryApi* | [**factory_status_factory_status_get**](docs/FoxFactoryApi.md#factory_status_factory_status_get) | **GET** /factory/status | Factory Status
|
|
106
|
+
*FoxFactoryApi* | [**get_task_factory_task_id_get**](docs/FoxFactoryApi.md#get_task_factory_task_id_get) | **GET** /factory/{task_id} | Get Task
|
|
107
|
+
*FoxFactoryApi* | [**list_tasks_factory_get**](docs/FoxFactoryApi.md#list_tasks_factory_get) | **GET** /factory/ | List Tasks
|
|
108
|
+
*FoxFactoryApi* | [**new_task_factory_post**](docs/FoxFactoryApi.md#new_task_factory_post) | **POST** /factory/ | New Task
|
|
109
|
+
*FoxFactoryApi* | [**update_task_factory_task_id_patch**](docs/FoxFactoryApi.md#update_task_factory_task_id_patch) | **PATCH** /factory/{task_id} | Update Task
|
|
110
|
+
*GitlabApi* | [**device_add_gitlab_repo_gitlab_device_device_id_gitlab_post**](docs/GitlabApi.md#device_add_gitlab_repo_gitlab_device_device_id_gitlab_post) | **POST** /gitlab/device/{device_id}/gitlab | Device Add Gitlab Repo
|
|
111
|
+
*InternalApi* | [**change_password_profile_change_password_post**](docs/InternalApi.md#change_password_profile_change_password_post) | **POST** /profile/change_password | Change Password
|
|
112
|
+
*InternalApi* | [**del_release_internal_releases_release_id_delete**](docs/InternalApi.md#del_release_internal_releases_release_id_delete) | **DELETE** /internal/releases/{release_id} | Del Release
|
|
113
|
+
*InternalApi* | [**delete_user_internal_users_user_id_delete**](docs/InternalApi.md#delete_user_internal_users_user_id_delete) | **DELETE** /internal/users/{user_id} | Delete User
|
|
114
|
+
*InternalApi* | [**edit_release_internal_releases_release_id_put**](docs/InternalApi.md#edit_release_internal_releases_release_id_put) | **PUT** /internal/releases/{release_id} | Edit Release
|
|
115
|
+
*InternalApi* | [**get_device_info_internal_devices_device_id_get**](docs/InternalApi.md#get_device_info_internal_devices_device_id_get) | **GET** /internal/devices/{device_id} | Get Device Info
|
|
116
|
+
*InternalApi* | [**get_logs_internal_logs_get**](docs/InternalApi.md#get_logs_internal_logs_get) | **GET** /internal/logs/ | Get Logs
|
|
117
|
+
*InternalApi* | [**get_release_info_internal_releases_release_id_get**](docs/InternalApi.md#get_release_info_internal_releases_release_id_get) | **GET** /internal/releases/{release_id} | Get Release Info
|
|
118
|
+
*InternalApi* | [**get_release_zip_internal_releases_release_id_dl_get**](docs/InternalApi.md#get_release_zip_internal_releases_release_id_dl_get) | **GET** /internal/releases/{release_id}/dl | Get Release Zip
|
|
119
|
+
*InternalApi* | [**get_user_by_id_internal_users_user_id_get**](docs/InternalApi.md#get_user_by_id_internal_users_user_id_get) | **GET** /internal/users/{user_id} | Get User By Id
|
|
120
|
+
*InternalApi* | [**list_users_internal_users_get**](docs/InternalApi.md#list_users_internal_users_get) | **GET** /internal/users/ | List Users
|
|
121
|
+
*InternalApi* | [**login_oauth_auth_login_post**](docs/InternalApi.md#login_oauth_auth_login_post) | **POST** /auth/login | Login Oauth
|
|
122
|
+
*InternalApi* | [**logout_auth_logout_post**](docs/InternalApi.md#logout_auth_logout_post) | **POST** /auth/logout | Logout
|
|
123
|
+
*InternalApi* | [**new_device_internal_devices_post**](docs/InternalApi.md#new_device_internal_devices_post) | **POST** /internal/devices/ | New Device
|
|
124
|
+
*InternalApi* | [**new_release_internal_releases_post**](docs/InternalApi.md#new_release_internal_releases_post) | **POST** /internal/releases/ | New Release
|
|
125
|
+
*InternalApi* | [**renew_auth_renew_post**](docs/InternalApi.md#renew_auth_renew_post) | **POST** /auth/renew | Renew
|
|
126
|
+
*InternalApi* | [**update_device_internal_devices_device_id_put**](docs/InternalApi.md#update_device_internal_devices_device_id_put) | **PUT** /internal/devices/{device_id} | Update Device
|
|
127
|
+
*InternalApi* | [**update_user_internal_users_user_id_put**](docs/InternalApi.md#update_user_internal_users_user_id_put) | **PUT** /internal/users/{user_id} | Update User
|
|
128
|
+
*ReleaseApi* | [**get_release_releases_get_get**](docs/ReleaseApi.md#get_release_releases_get_get) | **GET** /releases/get | Get Release
|
|
129
|
+
*ReleaseApi* | [**get_release_short_releases_release_id_get**](docs/ReleaseApi.md#get_release_short_releases_release_id_get) | **GET** /releases/{release_id} | Get Release Short
|
|
130
|
+
*ReleaseApi* | [**get_releases_releases_get**](docs/ReleaseApi.md#get_releases_releases_get) | **GET** /releases/ | Get Releases
|
|
131
|
+
*ReleaseApi* | [**get_updates_updates_last_known_id_get**](docs/ReleaseApi.md#get_updates_updates_last_known_id_get) | **GET** /updates/{last_known_id} | Get Updates
|
|
132
|
+
*StatsApi* | [**public_stats_stats_get**](docs/StatsApi.md#public_stats_stats_get) | **GET** /stats/ | Public Stats
|
|
133
|
+
|
|
134
|
+
|
|
135
|
+
## Documentation For Models
|
|
136
|
+
|
|
137
|
+
- [BodyChangePasswordProfileChangePasswordPost](docs/BodyChangePasswordProfileChangePasswordPost.md)
|
|
138
|
+
- [BuildStatusEnum](docs/BuildStatusEnum.md)
|
|
139
|
+
- [BuildTaskResponse](docs/BuildTaskResponse.md)
|
|
140
|
+
- [BuildTaskShortResponse](docs/BuildTaskShortResponse.md)
|
|
141
|
+
- [DeviceInternalResponse](docs/DeviceInternalResponse.md)
|
|
142
|
+
- [DeviceResponse](docs/DeviceResponse.md)
|
|
143
|
+
- [DeviceStatsResponse](docs/DeviceStatsResponse.md)
|
|
144
|
+
- [DeviceUpdateBody](docs/DeviceUpdateBody.md)
|
|
145
|
+
- [FFStatusEnum](docs/FFStatusEnum.md)
|
|
146
|
+
- [FFStatusResponse](docs/FFStatusResponse.md)
|
|
147
|
+
- [GlobalStatsAggregationModel](docs/GlobalStatsAggregationModel.md)
|
|
148
|
+
- [HTTPValidationError](docs/HTTPValidationError.md)
|
|
149
|
+
- [ListResponseReleaseResponse](docs/ListResponseReleaseResponse.md)
|
|
150
|
+
- [ListResponseShortDeviceResponse](docs/ListResponseShortDeviceResponse.md)
|
|
151
|
+
- [ListResponseShortReleaseResponse](docs/ListResponseShortReleaseResponse.md)
|
|
152
|
+
- [ListResponseStr](docs/ListResponseStr.md)
|
|
153
|
+
- [ListResponseUserShortResponse](docs/ListResponseUserShortResponse.md)
|
|
154
|
+
- [LogListResponse](docs/LogListResponse.md)
|
|
155
|
+
- [LogResponse](docs/LogResponse.md)
|
|
156
|
+
- [MaintainerShortModel](docs/MaintainerShortModel.md)
|
|
157
|
+
- [NewBuildTaskBody](docs/NewBuildTaskBody.md)
|
|
158
|
+
- [NewDeviceBody](docs/NewDeviceBody.md)
|
|
159
|
+
- [RecoveryImgResponse](docs/RecoveryImgResponse.md)
|
|
160
|
+
- [ReleaseGroupsResponse](docs/ReleaseGroupsResponse.md)
|
|
161
|
+
- [ReleaseInternalResponse](docs/ReleaseInternalResponse.md)
|
|
162
|
+
- [ReleaseInternalResponsePropValue](docs/ReleaseInternalResponsePropValue.md)
|
|
163
|
+
- [ReleaseResponse](docs/ReleaseResponse.md)
|
|
164
|
+
- [ReleaseStatsResponse](docs/ReleaseStatsResponse.md)
|
|
165
|
+
- [ReleaseType](docs/ReleaseType.md)
|
|
166
|
+
- [ReleaseUpdateBody](docs/ReleaseUpdateBody.md)
|
|
167
|
+
- [ReleasesSort](docs/ReleasesSort.md)
|
|
168
|
+
- [ResponseGetReleasesReleasesGet](docs/ResponseGetReleasesReleasesGet.md)
|
|
169
|
+
- [ShortDeviceResponse](docs/ShortDeviceResponse.md)
|
|
170
|
+
- [ShortReleaseResponse](docs/ShortReleaseResponse.md)
|
|
171
|
+
- [TaskUpdateBody](docs/TaskUpdateBody.md)
|
|
172
|
+
- [TokenResponse](docs/TokenResponse.md)
|
|
173
|
+
- [UserGitlab](docs/UserGitlab.md)
|
|
174
|
+
- [UserInternalResponse](docs/UserInternalResponse.md)
|
|
175
|
+
- [UserMail](docs/UserMail.md)
|
|
176
|
+
- [UserShortResponse](docs/UserShortResponse.md)
|
|
177
|
+
- [UserTelegram](docs/UserTelegram.md)
|
|
178
|
+
- [UserUpdateBody](docs/UserUpdateBody.md)
|
|
179
|
+
- [ValidationError](docs/ValidationError.md)
|
|
180
|
+
- [ValidationErrorLocInner](docs/ValidationErrorLocInner.md)
|
|
181
|
+
|
|
182
|
+
|
|
183
|
+
<a id="documentation-for-authorization"></a>
|
|
184
|
+
## Documentation For Authorization
|
|
185
|
+
|
|
186
|
+
|
|
187
|
+
Authentication schemes defined for the API:
|
|
188
|
+
<a id="bearer_auth"></a>
|
|
189
|
+
### bearer_auth
|
|
190
|
+
|
|
191
|
+
- **Type**: Bearer authentication (JWT)
|
|
192
|
+
|
|
193
|
+
<a id="oauth2_password"></a>
|
|
194
|
+
### oauth2_password
|
|
195
|
+
|
|
196
|
+
- **Type**: OAuth
|
|
197
|
+
- **Flow**: password
|
|
198
|
+
- **Authorization URL**:
|
|
199
|
+
- **Scopes**: N/A
|
|
200
|
+
|
|
201
|
+
|
|
202
|
+
## Author
|
|
203
|
+
|
|
204
|
+
admin@orangefox.tech
|
|
205
|
+
|
|
206
|
+
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
# flake8: noqa
|
|
4
|
+
|
|
5
|
+
"""
|
|
6
|
+
Fox API
|
|
7
|
+
|
|
8
|
+
Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application's access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 20 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
|
|
9
|
+
|
|
10
|
+
The version of the OpenAPI document: 5.2.0
|
|
11
|
+
Contact: admin@orangefox.tech
|
|
12
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
13
|
+
|
|
14
|
+
Do not edit the class manually.
|
|
15
|
+
""" # noqa: E501
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
__version__ = "5.2.0"
|
|
19
|
+
|
|
20
|
+
# import apis into sdk package
|
|
21
|
+
from foxinternalclient.api.device_api import DeviceApi
|
|
22
|
+
from foxinternalclient.api.fox_factory_api import FoxFactoryApi
|
|
23
|
+
from foxinternalclient.api.gitlab_api import GitlabApi
|
|
24
|
+
from foxinternalclient.api.internal_api import InternalApi
|
|
25
|
+
from foxinternalclient.api.release_api import ReleaseApi
|
|
26
|
+
from foxinternalclient.api.stats_api import StatsApi
|
|
27
|
+
|
|
28
|
+
# import ApiClient
|
|
29
|
+
from foxinternalclient.api_response import ApiResponse
|
|
30
|
+
from foxinternalclient.api_client import ApiClient
|
|
31
|
+
from foxinternalclient.configuration import Configuration
|
|
32
|
+
from foxinternalclient.exceptions import OpenApiException
|
|
33
|
+
from foxinternalclient.exceptions import ApiTypeError
|
|
34
|
+
from foxinternalclient.exceptions import ApiValueError
|
|
35
|
+
from foxinternalclient.exceptions import ApiKeyError
|
|
36
|
+
from foxinternalclient.exceptions import ApiAttributeError
|
|
37
|
+
from foxinternalclient.exceptions import ApiException
|
|
38
|
+
|
|
39
|
+
# import models into sdk package
|
|
40
|
+
from foxinternalclient.models.body_change_password_profile_change_password_post import BodyChangePasswordProfileChangePasswordPost
|
|
41
|
+
from foxinternalclient.models.build_status_enum import BuildStatusEnum
|
|
42
|
+
from foxinternalclient.models.build_task_response import BuildTaskResponse
|
|
43
|
+
from foxinternalclient.models.build_task_short_response import BuildTaskShortResponse
|
|
44
|
+
from foxinternalclient.models.device_internal_response import DeviceInternalResponse
|
|
45
|
+
from foxinternalclient.models.device_response import DeviceResponse
|
|
46
|
+
from foxinternalclient.models.device_stats_response import DeviceStatsResponse
|
|
47
|
+
from foxinternalclient.models.device_update_body import DeviceUpdateBody
|
|
48
|
+
from foxinternalclient.models.ff_status_enum import FFStatusEnum
|
|
49
|
+
from foxinternalclient.models.ff_status_response import FFStatusResponse
|
|
50
|
+
from foxinternalclient.models.global_stats_aggregation_model import GlobalStatsAggregationModel
|
|
51
|
+
from foxinternalclient.models.http_validation_error import HTTPValidationError
|
|
52
|
+
from foxinternalclient.models.list_response_release_response import ListResponseReleaseResponse
|
|
53
|
+
from foxinternalclient.models.list_response_short_device_response import ListResponseShortDeviceResponse
|
|
54
|
+
from foxinternalclient.models.list_response_short_release_response import ListResponseShortReleaseResponse
|
|
55
|
+
from foxinternalclient.models.list_response_str import ListResponseStr
|
|
56
|
+
from foxinternalclient.models.list_response_user_short_response import ListResponseUserShortResponse
|
|
57
|
+
from foxinternalclient.models.log_list_response import LogListResponse
|
|
58
|
+
from foxinternalclient.models.log_response import LogResponse
|
|
59
|
+
from foxinternalclient.models.maintainer_short_model import MaintainerShortModel
|
|
60
|
+
from foxinternalclient.models.new_build_task_body import NewBuildTaskBody
|
|
61
|
+
from foxinternalclient.models.new_device_body import NewDeviceBody
|
|
62
|
+
from foxinternalclient.models.recovery_img_response import RecoveryImgResponse
|
|
63
|
+
from foxinternalclient.models.release_groups_response import ReleaseGroupsResponse
|
|
64
|
+
from foxinternalclient.models.release_internal_response import ReleaseInternalResponse
|
|
65
|
+
from foxinternalclient.models.release_internal_response_prop_value import ReleaseInternalResponsePropValue
|
|
66
|
+
from foxinternalclient.models.release_response import ReleaseResponse
|
|
67
|
+
from foxinternalclient.models.release_stats_response import ReleaseStatsResponse
|
|
68
|
+
from foxinternalclient.models.release_type import ReleaseType
|
|
69
|
+
from foxinternalclient.models.release_update_body import ReleaseUpdateBody
|
|
70
|
+
from foxinternalclient.models.releases_sort import ReleasesSort
|
|
71
|
+
from foxinternalclient.models.response_get_releases_releases_get import ResponseGetReleasesReleasesGet
|
|
72
|
+
from foxinternalclient.models.short_device_response import ShortDeviceResponse
|
|
73
|
+
from foxinternalclient.models.short_release_response import ShortReleaseResponse
|
|
74
|
+
from foxinternalclient.models.task_update_body import TaskUpdateBody
|
|
75
|
+
from foxinternalclient.models.token_response import TokenResponse
|
|
76
|
+
from foxinternalclient.models.user_gitlab import UserGitlab
|
|
77
|
+
from foxinternalclient.models.user_internal_response import UserInternalResponse
|
|
78
|
+
from foxinternalclient.models.user_mail import UserMail
|
|
79
|
+
from foxinternalclient.models.user_short_response import UserShortResponse
|
|
80
|
+
from foxinternalclient.models.user_telegram import UserTelegram
|
|
81
|
+
from foxinternalclient.models.user_update_body import UserUpdateBody
|
|
82
|
+
from foxinternalclient.models.validation_error import ValidationError
|
|
83
|
+
from foxinternalclient.models.validation_error_loc_inner import ValidationErrorLocInner
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# flake8: noqa
|
|
2
|
+
|
|
3
|
+
# import apis into api package
|
|
4
|
+
from foxinternalclient.api.device_api import DeviceApi
|
|
5
|
+
from foxinternalclient.api.fox_factory_api import FoxFactoryApi
|
|
6
|
+
from foxinternalclient.api.gitlab_api import GitlabApi
|
|
7
|
+
from foxinternalclient.api.internal_api import InternalApi
|
|
8
|
+
from foxinternalclient.api.release_api import ReleaseApi
|
|
9
|
+
from foxinternalclient.api.stats_api import StatsApi
|
|
10
|
+
|