foxclient 5.2.1__tar.gz → 5.2.3__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.
- {foxclient-5.2.1 → foxclient-5.2.3}/PKG-INFO +1 -1
- {foxclient-5.2.1 → foxclient-5.2.3}/README.md +4 -4
- {foxclient-5.2.1 → foxclient-5.2.3}/foxclient/__init__.py +2 -2
- {foxclient-5.2.1 → foxclient-5.2.3}/foxclient/api/device_api.py +32 -32
- {foxclient-5.2.1 → foxclient-5.2.3}/foxclient/api/release_api.py +62 -62
- {foxclient-5.2.1 → foxclient-5.2.3}/foxclient/api/stats_api.py +1 -1
- {foxclient-5.2.1 → foxclient-5.2.3}/foxclient/api_client.py +2 -2
- {foxclient-5.2.1 → foxclient-5.2.3}/foxclient/configuration.py +3 -3
- {foxclient-5.2.1 → foxclient-5.2.3}/foxclient/exceptions.py +1 -1
- {foxclient-5.2.1 → foxclient-5.2.3}/foxclient/models/__init__.py +1 -1
- {foxclient-5.2.1 → foxclient-5.2.3}/foxclient/models/device_response.py +1 -1
- {foxclient-5.2.1 → foxclient-5.2.3}/foxclient/models/global_stats_aggregation_model.py +1 -1
- {foxclient-5.2.1 → foxclient-5.2.3}/foxclient/models/http_validation_error.py +1 -1
- {foxclient-5.2.1 → foxclient-5.2.3}/foxclient/models/list_response_release_response.py +1 -1
- {foxclient-5.2.1 → foxclient-5.2.3}/foxclient/models/list_response_short_device_response.py +1 -1
- {foxclient-5.2.1 → foxclient-5.2.3}/foxclient/models/list_response_short_release_response.py +1 -1
- {foxclient-5.2.1 → foxclient-5.2.3}/foxclient/models/list_response_str.py +1 -1
- {foxclient-5.2.1 → foxclient-5.2.3}/foxclient/models/maintainer_short_model.py +1 -1
- {foxclient-5.2.1 → foxclient-5.2.3}/foxclient/models/recovery_img_response.py +1 -1
- {foxclient-5.2.1 → foxclient-5.2.3}/foxclient/models/release_groups_response.py +1 -1
- {foxclient-5.2.1 → foxclient-5.2.3}/foxclient/models/release_response.py +4 -5
- {foxclient-5.2.1 → foxclient-5.2.3}/foxclient/models/release_type.py +1 -1
- {foxclient-5.2.1 → foxclient-5.2.3}/foxclient/models/releases_sort.py +1 -1
- {foxclient-5.2.1 → foxclient-5.2.3}/foxclient/models/response_get_releases.py +1 -1
- {foxclient-5.2.1 → foxclient-5.2.3}/foxclient/models/short_device_response.py +1 -1
- {foxclient-5.2.1 → foxclient-5.2.3}/foxclient/models/short_release_response.py +4 -5
- {foxclient-5.2.1 → foxclient-5.2.3}/foxclient/models/validation_error.py +1 -1
- {foxclient-5.2.1 → foxclient-5.2.3}/foxclient/models/validation_error_loc_inner.py +1 -1
- {foxclient-5.2.1 → foxclient-5.2.3}/foxclient/rest.py +2 -2
- {foxclient-5.2.1 → foxclient-5.2.3}/foxclient.egg-info/PKG-INFO +1 -1
- {foxclient-5.2.1 → foxclient-5.2.3}/pyproject.toml +1 -1
- {foxclient-5.2.1 → foxclient-5.2.3}/setup.py +2 -2
- {foxclient-5.2.1 → foxclient-5.2.3}/test/test_device_api.py +1 -1
- {foxclient-5.2.1 → foxclient-5.2.3}/test/test_device_response.py +1 -1
- {foxclient-5.2.1 → foxclient-5.2.3}/test/test_global_stats_aggregation_model.py +1 -1
- {foxclient-5.2.1 → foxclient-5.2.3}/test/test_http_validation_error.py +1 -1
- {foxclient-5.2.1 → foxclient-5.2.3}/test/test_list_response_release_response.py +3 -3
- {foxclient-5.2.1 → foxclient-5.2.3}/test/test_list_response_short_device_response.py +1 -1
- {foxclient-5.2.1 → foxclient-5.2.3}/test/test_list_response_short_release_response.py +3 -3
- {foxclient-5.2.1 → foxclient-5.2.3}/test/test_list_response_str.py +1 -1
- {foxclient-5.2.1 → foxclient-5.2.3}/test/test_maintainer_short_model.py +1 -1
- {foxclient-5.2.1 → foxclient-5.2.3}/test/test_recovery_img_response.py +1 -1
- {foxclient-5.2.1 → foxclient-5.2.3}/test/test_release_api.py +1 -1
- {foxclient-5.2.1 → foxclient-5.2.3}/test/test_release_groups_response.py +3 -3
- {foxclient-5.2.1 → foxclient-5.2.3}/test/test_release_response.py +3 -3
- {foxclient-5.2.1 → foxclient-5.2.3}/test/test_release_type.py +1 -1
- {foxclient-5.2.1 → foxclient-5.2.3}/test/test_releases_sort.py +1 -1
- {foxclient-5.2.1 → foxclient-5.2.3}/test/test_response_get_releases.py +3 -3
- {foxclient-5.2.1 → foxclient-5.2.3}/test/test_short_device_response.py +1 -1
- {foxclient-5.2.1 → foxclient-5.2.3}/test/test_short_release_response.py +3 -3
- {foxclient-5.2.1 → foxclient-5.2.3}/test/test_stats_api.py +1 -1
- {foxclient-5.2.1 → foxclient-5.2.3}/test/test_validation_error.py +1 -1
- {foxclient-5.2.1 → foxclient-5.2.3}/test/test_validation_error_loc_inner.py +1 -1
- {foxclient-5.2.1 → foxclient-5.2.3}/foxclient/api/__init__.py +0 -0
- {foxclient-5.2.1 → foxclient-5.2.3}/foxclient/api_response.py +0 -0
- {foxclient-5.2.1 → foxclient-5.2.3}/foxclient/py.typed +0 -0
- {foxclient-5.2.1 → foxclient-5.2.3}/foxclient.egg-info/SOURCES.txt +0 -0
- {foxclient-5.2.1 → foxclient-5.2.3}/foxclient.egg-info/dependency_links.txt +0 -0
- {foxclient-5.2.1 → foxclient-5.2.3}/foxclient.egg-info/requires.txt +0 -0
- {foxclient-5.2.1 → foxclient-5.2.3}/foxclient.egg-info/top_level.txt +0 -0
- {foxclient-5.2.1 → foxclient-5.2.3}/setup.cfg +0 -0
|
@@ -12,8 +12,8 @@ The requests may be logged for analytics and development purposes.
|
|
|
12
12
|
|
|
13
13
|
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
|
14
14
|
|
|
15
|
-
- API version: 5.2.
|
|
16
|
-
- Package version: 5.2.
|
|
15
|
+
- API version: 5.2.3
|
|
16
|
+
- Package version: 5.2.3
|
|
17
17
|
- Generator version: 7.13.0
|
|
18
18
|
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
|
|
19
19
|
|
|
@@ -76,8 +76,8 @@ configuration = foxclient.Configuration(
|
|
|
76
76
|
async with foxclient.ApiClient(configuration) as api_client:
|
|
77
77
|
# Create an instance of the API class
|
|
78
78
|
api_instance = foxclient.DeviceApi(api_client)
|
|
79
|
-
device_id =
|
|
80
|
-
id =
|
|
79
|
+
device_id = 'device_id_example' # str | (optional)
|
|
80
|
+
id = 'id_example' # str | Filter by Device ID (deprecated) (optional)
|
|
81
81
|
codename = 'codename_example' # str | Not recommended to use when you can (optional)
|
|
82
82
|
|
|
83
83
|
try:
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
|
|
8
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 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
|
|
9
9
|
|
|
10
|
-
The version of the OpenAPI document: 5.2.
|
|
10
|
+
The version of the OpenAPI document: 5.2.3
|
|
11
11
|
Contact: admin@orangefox.tech
|
|
12
12
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
13
13
|
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
""" # noqa: E501
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
__version__ = "5.2.
|
|
18
|
+
__version__ = "5.2.3"
|
|
19
19
|
|
|
20
20
|
# import apis into sdk package
|
|
21
21
|
from foxclient.api.device_api import DeviceApi
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
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 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 5.2.
|
|
8
|
+
The version of the OpenAPI document: 5.2.3
|
|
9
9
|
Contact: admin@orangefox.tech
|
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
11
|
|
|
@@ -18,7 +18,7 @@ from typing import Any, Dict, List, Optional, Tuple, Union
|
|
|
18
18
|
from typing_extensions import Annotated
|
|
19
19
|
|
|
20
20
|
from pydantic import Field, StrictBool, StrictInt, StrictStr
|
|
21
|
-
from typing import
|
|
21
|
+
from typing import List, Optional
|
|
22
22
|
from typing_extensions import Annotated
|
|
23
23
|
from foxclient.models.device_response import DeviceResponse
|
|
24
24
|
from foxclient.models.list_response_short_device_response import ListResponseShortDeviceResponse
|
|
@@ -45,8 +45,8 @@ class DeviceApi:
|
|
|
45
45
|
@validate_call
|
|
46
46
|
async def get_device(
|
|
47
47
|
self,
|
|
48
|
-
device_id: Optional[
|
|
49
|
-
id: Annotated[Optional[
|
|
48
|
+
device_id: Optional[StrictStr] = None,
|
|
49
|
+
id: Annotated[Optional[StrictStr], Field(description="Filter by Device ID (deprecated)")] = None,
|
|
50
50
|
codename: Annotated[Optional[StrictStr], Field(description="Not recommended to use when you can")] = None,
|
|
51
51
|
_request_timeout: Union[
|
|
52
52
|
None,
|
|
@@ -66,9 +66,9 @@ class DeviceApi:
|
|
|
66
66
|
Extended get device method, including the ability to get a device using device codename instead of the ID. /device/get?codename=lavender Due to the reasons mentioned in the /device route, identification devices using their codenames are considered unrecommended.
|
|
67
67
|
|
|
68
68
|
:param device_id:
|
|
69
|
-
:type device_id:
|
|
69
|
+
:type device_id: str
|
|
70
70
|
:param id: Filter by Device ID (deprecated)
|
|
71
|
-
:type id:
|
|
71
|
+
:type id: str
|
|
72
72
|
:param codename: Not recommended to use when you can
|
|
73
73
|
:type codename: str
|
|
74
74
|
:param _request_timeout: timeout setting for this request. If one
|
|
@@ -123,8 +123,8 @@ class DeviceApi:
|
|
|
123
123
|
@validate_call
|
|
124
124
|
async def get_device_with_http_info(
|
|
125
125
|
self,
|
|
126
|
-
device_id: Optional[
|
|
127
|
-
id: Annotated[Optional[
|
|
126
|
+
device_id: Optional[StrictStr] = None,
|
|
127
|
+
id: Annotated[Optional[StrictStr], Field(description="Filter by Device ID (deprecated)")] = None,
|
|
128
128
|
codename: Annotated[Optional[StrictStr], Field(description="Not recommended to use when you can")] = None,
|
|
129
129
|
_request_timeout: Union[
|
|
130
130
|
None,
|
|
@@ -144,9 +144,9 @@ class DeviceApi:
|
|
|
144
144
|
Extended get device method, including the ability to get a device using device codename instead of the ID. /device/get?codename=lavender Due to the reasons mentioned in the /device route, identification devices using their codenames are considered unrecommended.
|
|
145
145
|
|
|
146
146
|
:param device_id:
|
|
147
|
-
:type device_id:
|
|
147
|
+
:type device_id: str
|
|
148
148
|
:param id: Filter by Device ID (deprecated)
|
|
149
|
-
:type id:
|
|
149
|
+
:type id: str
|
|
150
150
|
:param codename: Not recommended to use when you can
|
|
151
151
|
:type codename: str
|
|
152
152
|
:param _request_timeout: timeout setting for this request. If one
|
|
@@ -201,8 +201,8 @@ class DeviceApi:
|
|
|
201
201
|
@validate_call
|
|
202
202
|
async def get_device_without_preload_content(
|
|
203
203
|
self,
|
|
204
|
-
device_id: Optional[
|
|
205
|
-
id: Annotated[Optional[
|
|
204
|
+
device_id: Optional[StrictStr] = None,
|
|
205
|
+
id: Annotated[Optional[StrictStr], Field(description="Filter by Device ID (deprecated)")] = None,
|
|
206
206
|
codename: Annotated[Optional[StrictStr], Field(description="Not recommended to use when you can")] = None,
|
|
207
207
|
_request_timeout: Union[
|
|
208
208
|
None,
|
|
@@ -222,9 +222,9 @@ class DeviceApi:
|
|
|
222
222
|
Extended get device method, including the ability to get a device using device codename instead of the ID. /device/get?codename=lavender Due to the reasons mentioned in the /device route, identification devices using their codenames are considered unrecommended.
|
|
223
223
|
|
|
224
224
|
:param device_id:
|
|
225
|
-
:type device_id:
|
|
225
|
+
:type device_id: str
|
|
226
226
|
:param id: Filter by Device ID (deprecated)
|
|
227
|
-
:type id:
|
|
227
|
+
:type id: str
|
|
228
228
|
:param codename: Not recommended to use when you can
|
|
229
229
|
:type codename: str
|
|
230
230
|
:param _request_timeout: timeout setting for this request. If one
|
|
@@ -619,9 +619,9 @@ class DeviceApi:
|
|
|
619
619
|
@validate_call
|
|
620
620
|
async def get_devices(
|
|
621
621
|
self,
|
|
622
|
-
id: Annotated[Optional[List[
|
|
623
|
-
id2: Annotated[Optional[List[
|
|
624
|
-
oem_name: Annotated[Optional[List[StrictStr]], Field(description="Filter by OEM names")] = None,
|
|
622
|
+
id: Annotated[Optional[List[StrictStr]], Field(description="Filter by Device IDs")] = None,
|
|
623
|
+
id2: Annotated[Optional[List[Optional[StrictStr]]], Field(description="Filter by Device IDs (deprecated)")] = None,
|
|
624
|
+
oem_name: Annotated[Optional[List[Optional[StrictStr]]], Field(description="Filter by OEM names")] = None,
|
|
625
625
|
codename: Annotated[Optional[List[Optional[StrictStr]]], Field(description="Filter by device codenames")] = None,
|
|
626
626
|
model_name: Annotated[Optional[List[Optional[StrictStr]]], Field(description="Filter by model names")] = None,
|
|
627
627
|
supported: Annotated[Optional[StrictBool], Field(description="Supported status")] = None,
|
|
@@ -648,11 +648,11 @@ class DeviceApi:
|
|
|
648
648
|
Get a device list. Device ID is the internal OrangeFox device identifier (https://www.mongodb.com/docs/manual/reference/method/ObjectId/). Please only use it for identification instead of codename or model_name if it's possible. You would find two Device ID query parameters here, the _id one is left deprecated due to historical reasons, please use id instead. Please note that using model_name is unrecommended and considered deprecated as it's very inconsistent around some OEMs that play with the names around. As of the current moment, the API won't support unified model names at all! In short, do not use model_name as device's identification. Be careful using codenames, there are a lot of problems and pain about those. Some OEMs keep releasing new phones with the same hardware as the old ones and may or may not update or change the codename for those. Currently, API doesn't support unified devices; they would have only one codename. Our OEMs database would not include subbrands, they instead would be added to the model name. Like oem_name: \"Xiaomi\" model_name: \"Poco F5 Pro\". The exclusions are merged ones, like OnePlus, as calling those BBK OnePlus is really weird in the respective communities. Note: You will get only a shortened device object with this method, if you want to get a full one, use \"/device/<device_id>\" or \"/device/get\" method instead.
|
|
649
649
|
|
|
650
650
|
:param id: Filter by Device IDs
|
|
651
|
-
:type id: List[
|
|
651
|
+
:type id: List[str]
|
|
652
652
|
:param id2: Filter by Device IDs (deprecated)
|
|
653
|
-
:type id2: List[
|
|
653
|
+
:type id2: List[Optional[str]]
|
|
654
654
|
:param oem_name: Filter by OEM names
|
|
655
|
-
:type oem_name: List[str]
|
|
655
|
+
:type oem_name: List[Optional[str]]
|
|
656
656
|
:param codename: Filter by device codenames
|
|
657
657
|
:type codename: List[Optional[str]]
|
|
658
658
|
:param model_name: Filter by model names
|
|
@@ -728,9 +728,9 @@ class DeviceApi:
|
|
|
728
728
|
@validate_call
|
|
729
729
|
async def get_devices_with_http_info(
|
|
730
730
|
self,
|
|
731
|
-
id: Annotated[Optional[List[
|
|
732
|
-
id2: Annotated[Optional[List[
|
|
733
|
-
oem_name: Annotated[Optional[List[StrictStr]], Field(description="Filter by OEM names")] = None,
|
|
731
|
+
id: Annotated[Optional[List[StrictStr]], Field(description="Filter by Device IDs")] = None,
|
|
732
|
+
id2: Annotated[Optional[List[Optional[StrictStr]]], Field(description="Filter by Device IDs (deprecated)")] = None,
|
|
733
|
+
oem_name: Annotated[Optional[List[Optional[StrictStr]]], Field(description="Filter by OEM names")] = None,
|
|
734
734
|
codename: Annotated[Optional[List[Optional[StrictStr]]], Field(description="Filter by device codenames")] = None,
|
|
735
735
|
model_name: Annotated[Optional[List[Optional[StrictStr]]], Field(description="Filter by model names")] = None,
|
|
736
736
|
supported: Annotated[Optional[StrictBool], Field(description="Supported status")] = None,
|
|
@@ -757,11 +757,11 @@ class DeviceApi:
|
|
|
757
757
|
Get a device list. Device ID is the internal OrangeFox device identifier (https://www.mongodb.com/docs/manual/reference/method/ObjectId/). Please only use it for identification instead of codename or model_name if it's possible. You would find two Device ID query parameters here, the _id one is left deprecated due to historical reasons, please use id instead. Please note that using model_name is unrecommended and considered deprecated as it's very inconsistent around some OEMs that play with the names around. As of the current moment, the API won't support unified model names at all! In short, do not use model_name as device's identification. Be careful using codenames, there are a lot of problems and pain about those. Some OEMs keep releasing new phones with the same hardware as the old ones and may or may not update or change the codename for those. Currently, API doesn't support unified devices; they would have only one codename. Our OEMs database would not include subbrands, they instead would be added to the model name. Like oem_name: \"Xiaomi\" model_name: \"Poco F5 Pro\". The exclusions are merged ones, like OnePlus, as calling those BBK OnePlus is really weird in the respective communities. Note: You will get only a shortened device object with this method, if you want to get a full one, use \"/device/<device_id>\" or \"/device/get\" method instead.
|
|
758
758
|
|
|
759
759
|
:param id: Filter by Device IDs
|
|
760
|
-
:type id: List[
|
|
760
|
+
:type id: List[str]
|
|
761
761
|
:param id2: Filter by Device IDs (deprecated)
|
|
762
|
-
:type id2: List[
|
|
762
|
+
:type id2: List[Optional[str]]
|
|
763
763
|
:param oem_name: Filter by OEM names
|
|
764
|
-
:type oem_name: List[str]
|
|
764
|
+
:type oem_name: List[Optional[str]]
|
|
765
765
|
:param codename: Filter by device codenames
|
|
766
766
|
:type codename: List[Optional[str]]
|
|
767
767
|
:param model_name: Filter by model names
|
|
@@ -837,9 +837,9 @@ class DeviceApi:
|
|
|
837
837
|
@validate_call
|
|
838
838
|
async def get_devices_without_preload_content(
|
|
839
839
|
self,
|
|
840
|
-
id: Annotated[Optional[List[
|
|
841
|
-
id2: Annotated[Optional[List[
|
|
842
|
-
oem_name: Annotated[Optional[List[StrictStr]], Field(description="Filter by OEM names")] = None,
|
|
840
|
+
id: Annotated[Optional[List[StrictStr]], Field(description="Filter by Device IDs")] = None,
|
|
841
|
+
id2: Annotated[Optional[List[Optional[StrictStr]]], Field(description="Filter by Device IDs (deprecated)")] = None,
|
|
842
|
+
oem_name: Annotated[Optional[List[Optional[StrictStr]]], Field(description="Filter by OEM names")] = None,
|
|
843
843
|
codename: Annotated[Optional[List[Optional[StrictStr]]], Field(description="Filter by device codenames")] = None,
|
|
844
844
|
model_name: Annotated[Optional[List[Optional[StrictStr]]], Field(description="Filter by model names")] = None,
|
|
845
845
|
supported: Annotated[Optional[StrictBool], Field(description="Supported status")] = None,
|
|
@@ -866,11 +866,11 @@ class DeviceApi:
|
|
|
866
866
|
Get a device list. Device ID is the internal OrangeFox device identifier (https://www.mongodb.com/docs/manual/reference/method/ObjectId/). Please only use it for identification instead of codename or model_name if it's possible. You would find two Device ID query parameters here, the _id one is left deprecated due to historical reasons, please use id instead. Please note that using model_name is unrecommended and considered deprecated as it's very inconsistent around some OEMs that play with the names around. As of the current moment, the API won't support unified model names at all! In short, do not use model_name as device's identification. Be careful using codenames, there are a lot of problems and pain about those. Some OEMs keep releasing new phones with the same hardware as the old ones and may or may not update or change the codename for those. Currently, API doesn't support unified devices; they would have only one codename. Our OEMs database would not include subbrands, they instead would be added to the model name. Like oem_name: \"Xiaomi\" model_name: \"Poco F5 Pro\". The exclusions are merged ones, like OnePlus, as calling those BBK OnePlus is really weird in the respective communities. Note: You will get only a shortened device object with this method, if you want to get a full one, use \"/device/<device_id>\" or \"/device/get\" method instead.
|
|
867
867
|
|
|
868
868
|
:param id: Filter by Device IDs
|
|
869
|
-
:type id: List[
|
|
869
|
+
:type id: List[str]
|
|
870
870
|
:param id2: Filter by Device IDs (deprecated)
|
|
871
|
-
:type id2: List[
|
|
871
|
+
:type id2: List[Optional[str]]
|
|
872
872
|
:param oem_name: Filter by OEM names
|
|
873
|
-
:type oem_name: List[str]
|
|
873
|
+
:type oem_name: List[Optional[str]]
|
|
874
874
|
:param codename: Filter by device codenames
|
|
875
875
|
:type codename: List[Optional[str]]
|
|
876
876
|
:param model_name: Filter by model names
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
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 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 5.2.
|
|
8
|
+
The version of the OpenAPI document: 5.2.3
|
|
9
9
|
Contact: admin@orangefox.tech
|
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
11
|
|
|
@@ -18,7 +18,7 @@ from typing import Any, Dict, List, Optional, Tuple, Union
|
|
|
18
18
|
from typing_extensions import Annotated
|
|
19
19
|
|
|
20
20
|
from pydantic import Field, StrictBool, StrictInt, StrictStr
|
|
21
|
-
from typing import
|
|
21
|
+
from typing import List, Optional
|
|
22
22
|
from typing_extensions import Annotated
|
|
23
23
|
from foxclient.models.list_response_short_release_response import ListResponseShortReleaseResponse
|
|
24
24
|
from foxclient.models.release_response import ReleaseResponse
|
|
@@ -47,8 +47,8 @@ class ReleaseApi:
|
|
|
47
47
|
@validate_call
|
|
48
48
|
async def get_release(
|
|
49
49
|
self,
|
|
50
|
-
release_id: Annotated[Optional[
|
|
51
|
-
id: Annotated[Optional[
|
|
50
|
+
release_id: Annotated[Optional[StrictStr], Field(description="Release ID")] = None,
|
|
51
|
+
id: Annotated[Optional[StrictStr], Field(description="Release ID (deprecated)")] = None,
|
|
52
52
|
build_id: Annotated[Optional[StrictStr], Field(description="Build ID, `ro.build.fox_id` prop")] = None,
|
|
53
53
|
filename: Optional[StrictStr] = None,
|
|
54
54
|
_request_timeout: Union[
|
|
@@ -69,9 +69,9 @@ class ReleaseApi:
|
|
|
69
69
|
Extended get device method, including the ability to get a device using device codename instead of the ID and Build ID. Example: /device/get?codename=lavender Calling this method without parameters will return the latest available release in the database Warning: the filename identification is deprecated! Use /release/<release_id> instead!
|
|
70
70
|
|
|
71
71
|
:param release_id: Release ID
|
|
72
|
-
:type release_id:
|
|
72
|
+
:type release_id: str
|
|
73
73
|
:param id: Release ID (deprecated)
|
|
74
|
-
:type id:
|
|
74
|
+
:type id: str
|
|
75
75
|
:param build_id: Build ID, `ro.build.fox_id` prop
|
|
76
76
|
:type build_id: str
|
|
77
77
|
:param filename:
|
|
@@ -127,8 +127,8 @@ class ReleaseApi:
|
|
|
127
127
|
@validate_call
|
|
128
128
|
async def get_release_with_http_info(
|
|
129
129
|
self,
|
|
130
|
-
release_id: Annotated[Optional[
|
|
131
|
-
id: Annotated[Optional[
|
|
130
|
+
release_id: Annotated[Optional[StrictStr], Field(description="Release ID")] = None,
|
|
131
|
+
id: Annotated[Optional[StrictStr], Field(description="Release ID (deprecated)")] = None,
|
|
132
132
|
build_id: Annotated[Optional[StrictStr], Field(description="Build ID, `ro.build.fox_id` prop")] = None,
|
|
133
133
|
filename: Optional[StrictStr] = None,
|
|
134
134
|
_request_timeout: Union[
|
|
@@ -149,9 +149,9 @@ class ReleaseApi:
|
|
|
149
149
|
Extended get device method, including the ability to get a device using device codename instead of the ID and Build ID. Example: /device/get?codename=lavender Calling this method without parameters will return the latest available release in the database Warning: the filename identification is deprecated! Use /release/<release_id> instead!
|
|
150
150
|
|
|
151
151
|
:param release_id: Release ID
|
|
152
|
-
:type release_id:
|
|
152
|
+
:type release_id: str
|
|
153
153
|
:param id: Release ID (deprecated)
|
|
154
|
-
:type id:
|
|
154
|
+
:type id: str
|
|
155
155
|
:param build_id: Build ID, `ro.build.fox_id` prop
|
|
156
156
|
:type build_id: str
|
|
157
157
|
:param filename:
|
|
@@ -207,8 +207,8 @@ class ReleaseApi:
|
|
|
207
207
|
@validate_call
|
|
208
208
|
async def get_release_without_preload_content(
|
|
209
209
|
self,
|
|
210
|
-
release_id: Annotated[Optional[
|
|
211
|
-
id: Annotated[Optional[
|
|
210
|
+
release_id: Annotated[Optional[StrictStr], Field(description="Release ID")] = None,
|
|
211
|
+
id: Annotated[Optional[StrictStr], Field(description="Release ID (deprecated)")] = None,
|
|
212
212
|
build_id: Annotated[Optional[StrictStr], Field(description="Build ID, `ro.build.fox_id` prop")] = None,
|
|
213
213
|
filename: Optional[StrictStr] = None,
|
|
214
214
|
_request_timeout: Union[
|
|
@@ -229,9 +229,9 @@ class ReleaseApi:
|
|
|
229
229
|
Extended get device method, including the ability to get a device using device codename instead of the ID and Build ID. Example: /device/get?codename=lavender Calling this method without parameters will return the latest available release in the database Warning: the filename identification is deprecated! Use /release/<release_id> instead!
|
|
230
230
|
|
|
231
231
|
:param release_id: Release ID
|
|
232
|
-
:type release_id:
|
|
232
|
+
:type release_id: str
|
|
233
233
|
:param id: Release ID (deprecated)
|
|
234
|
-
:type id:
|
|
234
|
+
:type id: str
|
|
235
235
|
:param build_id: Build ID, `ro.build.fox_id` prop
|
|
236
236
|
:type build_id: str
|
|
237
237
|
:param filename:
|
|
@@ -363,7 +363,7 @@ class ReleaseApi:
|
|
|
363
363
|
@validate_call
|
|
364
364
|
async def get_release_deprecated(
|
|
365
365
|
self,
|
|
366
|
-
release_id:
|
|
366
|
+
release_id: StrictStr,
|
|
367
367
|
_request_timeout: Union[
|
|
368
368
|
None,
|
|
369
369
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -382,7 +382,7 @@ class ReleaseApi:
|
|
|
382
382
|
Gets release information using the release ID, nothing to discuss really.
|
|
383
383
|
|
|
384
384
|
:param release_id: (required)
|
|
385
|
-
:type release_id:
|
|
385
|
+
:type release_id: str
|
|
386
386
|
:param _request_timeout: timeout setting for this request. If one
|
|
387
387
|
number provided, it will be total request
|
|
388
388
|
timeout. It can also be a pair (tuple) of
|
|
@@ -432,7 +432,7 @@ class ReleaseApi:
|
|
|
432
432
|
@validate_call
|
|
433
433
|
async def get_release_deprecated_with_http_info(
|
|
434
434
|
self,
|
|
435
|
-
release_id:
|
|
435
|
+
release_id: StrictStr,
|
|
436
436
|
_request_timeout: Union[
|
|
437
437
|
None,
|
|
438
438
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -451,7 +451,7 @@ class ReleaseApi:
|
|
|
451
451
|
Gets release information using the release ID, nothing to discuss really.
|
|
452
452
|
|
|
453
453
|
:param release_id: (required)
|
|
454
|
-
:type release_id:
|
|
454
|
+
:type release_id: str
|
|
455
455
|
:param _request_timeout: timeout setting for this request. If one
|
|
456
456
|
number provided, it will be total request
|
|
457
457
|
timeout. It can also be a pair (tuple) of
|
|
@@ -501,7 +501,7 @@ class ReleaseApi:
|
|
|
501
501
|
@validate_call
|
|
502
502
|
async def get_release_deprecated_without_preload_content(
|
|
503
503
|
self,
|
|
504
|
-
release_id:
|
|
504
|
+
release_id: StrictStr,
|
|
505
505
|
_request_timeout: Union[
|
|
506
506
|
None,
|
|
507
507
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -520,7 +520,7 @@ class ReleaseApi:
|
|
|
520
520
|
Gets release information using the release ID, nothing to discuss really.
|
|
521
521
|
|
|
522
522
|
:param release_id: (required)
|
|
523
|
-
:type release_id:
|
|
523
|
+
:type release_id: str
|
|
524
524
|
:param _request_timeout: timeout setting for this request. If one
|
|
525
525
|
number provided, it will be total request
|
|
526
526
|
timeout. It can also be a pair (tuple) of
|
|
@@ -629,17 +629,17 @@ class ReleaseApi:
|
|
|
629
629
|
@validate_call
|
|
630
630
|
async def get_releases(
|
|
631
631
|
self,
|
|
632
|
-
id: Annotated[Optional[List[
|
|
633
|
-
id2: Annotated[Optional[List[
|
|
632
|
+
id: Annotated[Optional[List[Optional[StrictStr]]], Field(description="Filter by Release IDs")] = None,
|
|
633
|
+
id2: Annotated[Optional[List[Optional[StrictStr]]], Field(description="Filter by Release IDs (deprecated)")] = None,
|
|
634
634
|
build_id: Annotated[Optional[List[StrictStr]], Field(description="Filter by Build IDs")] = None,
|
|
635
|
-
device_id: Annotated[Optional[List[
|
|
636
|
-
maintainer_id: Annotated[Optional[List[
|
|
635
|
+
device_id: Annotated[Optional[List[Optional[StrictStr]]], Field(description="Filter by Device IDs")] = None,
|
|
636
|
+
maintainer_id: Annotated[Optional[List[Optional[StrictStr]]], Field(description="Filter by Maintainer IDs")] = None,
|
|
637
637
|
codename: Annotated[Optional[List[Optional[StrictStr]]], Field(description="Filter by device codenames")] = None,
|
|
638
638
|
version: Annotated[Optional[List[Optional[StrictStr]]], Field(description="Filter by release version")] = None,
|
|
639
639
|
type: Annotated[Optional[List[ReleaseType]], Field(description="Filter by release type")] = None,
|
|
640
640
|
archived: Annotated[Optional[StrictBool], Field(description="Filter by the archived status")] = None,
|
|
641
641
|
freezed: Annotated[Optional[StrictBool], Field(description="Filter by the freezed status")] = None,
|
|
642
|
-
after_release_id: Annotated[Optional[
|
|
642
|
+
after_release_id: Annotated[Optional[StrictStr], Field(description="Show releases after the provided one")] = None,
|
|
643
643
|
after_date: Annotated[Optional[StrictInt], Field(description="Show releases after the provided timestamp")] = None,
|
|
644
644
|
sort: Annotated[Optional[ReleasesSort], Field(description="Sort mode")] = None,
|
|
645
645
|
group: Annotated[Optional[StrictBool], Field(description="Group releases by version + variant. This will change the response!")] = None,
|
|
@@ -663,15 +663,15 @@ class ReleaseApi:
|
|
|
663
663
|
Lists releases. This method contains a bunch of different parameters to filter releases for different cases. For example, you may use ?after_release_id param to get only releases that came after the last known one (aka get updates). You can filter releases by maintainer_id to get releases from a specific maintainer. This is the maintainer who released the build, not the current maintainer of the device. Getting releases by device codename is obsolete thought. The reason for this is that devices could change codenames eventually. Unfortunately, some OEMs and community make a total mess of them. Please use /device methods to determine the right device (preferably with the user decision), save the device ID somewhere and use it afterward. Version tag is deprecated for the same reason, it's not really consistent, as it might contain patch and mod versions and very different by each maintainer.
|
|
664
664
|
|
|
665
665
|
:param id: Filter by Release IDs
|
|
666
|
-
:type id: List[
|
|
666
|
+
:type id: List[Optional[str]]
|
|
667
667
|
:param id2: Filter by Release IDs (deprecated)
|
|
668
|
-
:type id2: List[
|
|
668
|
+
:type id2: List[Optional[str]]
|
|
669
669
|
:param build_id: Filter by Build IDs
|
|
670
670
|
:type build_id: List[str]
|
|
671
671
|
:param device_id: Filter by Device IDs
|
|
672
|
-
:type device_id: List[
|
|
672
|
+
:type device_id: List[Optional[str]]
|
|
673
673
|
:param maintainer_id: Filter by Maintainer IDs
|
|
674
|
-
:type maintainer_id: List[
|
|
674
|
+
:type maintainer_id: List[Optional[str]]
|
|
675
675
|
:param codename: Filter by device codenames
|
|
676
676
|
:type codename: List[Optional[str]]
|
|
677
677
|
:param version: Filter by release version
|
|
@@ -683,7 +683,7 @@ class ReleaseApi:
|
|
|
683
683
|
:param freezed: Filter by the freezed status
|
|
684
684
|
:type freezed: bool
|
|
685
685
|
:param after_release_id: Show releases after the provided one
|
|
686
|
-
:type after_release_id:
|
|
686
|
+
:type after_release_id: str
|
|
687
687
|
:param after_date: Show releases after the provided timestamp
|
|
688
688
|
:type after_date: int
|
|
689
689
|
:param sort: Sort mode
|
|
@@ -758,17 +758,17 @@ class ReleaseApi:
|
|
|
758
758
|
@validate_call
|
|
759
759
|
async def get_releases_with_http_info(
|
|
760
760
|
self,
|
|
761
|
-
id: Annotated[Optional[List[
|
|
762
|
-
id2: Annotated[Optional[List[
|
|
761
|
+
id: Annotated[Optional[List[Optional[StrictStr]]], Field(description="Filter by Release IDs")] = None,
|
|
762
|
+
id2: Annotated[Optional[List[Optional[StrictStr]]], Field(description="Filter by Release IDs (deprecated)")] = None,
|
|
763
763
|
build_id: Annotated[Optional[List[StrictStr]], Field(description="Filter by Build IDs")] = None,
|
|
764
|
-
device_id: Annotated[Optional[List[
|
|
765
|
-
maintainer_id: Annotated[Optional[List[
|
|
764
|
+
device_id: Annotated[Optional[List[Optional[StrictStr]]], Field(description="Filter by Device IDs")] = None,
|
|
765
|
+
maintainer_id: Annotated[Optional[List[Optional[StrictStr]]], Field(description="Filter by Maintainer IDs")] = None,
|
|
766
766
|
codename: Annotated[Optional[List[Optional[StrictStr]]], Field(description="Filter by device codenames")] = None,
|
|
767
767
|
version: Annotated[Optional[List[Optional[StrictStr]]], Field(description="Filter by release version")] = None,
|
|
768
768
|
type: Annotated[Optional[List[ReleaseType]], Field(description="Filter by release type")] = None,
|
|
769
769
|
archived: Annotated[Optional[StrictBool], Field(description="Filter by the archived status")] = None,
|
|
770
770
|
freezed: Annotated[Optional[StrictBool], Field(description="Filter by the freezed status")] = None,
|
|
771
|
-
after_release_id: Annotated[Optional[
|
|
771
|
+
after_release_id: Annotated[Optional[StrictStr], Field(description="Show releases after the provided one")] = None,
|
|
772
772
|
after_date: Annotated[Optional[StrictInt], Field(description="Show releases after the provided timestamp")] = None,
|
|
773
773
|
sort: Annotated[Optional[ReleasesSort], Field(description="Sort mode")] = None,
|
|
774
774
|
group: Annotated[Optional[StrictBool], Field(description="Group releases by version + variant. This will change the response!")] = None,
|
|
@@ -792,15 +792,15 @@ class ReleaseApi:
|
|
|
792
792
|
Lists releases. This method contains a bunch of different parameters to filter releases for different cases. For example, you may use ?after_release_id param to get only releases that came after the last known one (aka get updates). You can filter releases by maintainer_id to get releases from a specific maintainer. This is the maintainer who released the build, not the current maintainer of the device. Getting releases by device codename is obsolete thought. The reason for this is that devices could change codenames eventually. Unfortunately, some OEMs and community make a total mess of them. Please use /device methods to determine the right device (preferably with the user decision), save the device ID somewhere and use it afterward. Version tag is deprecated for the same reason, it's not really consistent, as it might contain patch and mod versions and very different by each maintainer.
|
|
793
793
|
|
|
794
794
|
:param id: Filter by Release IDs
|
|
795
|
-
:type id: List[
|
|
795
|
+
:type id: List[Optional[str]]
|
|
796
796
|
:param id2: Filter by Release IDs (deprecated)
|
|
797
|
-
:type id2: List[
|
|
797
|
+
:type id2: List[Optional[str]]
|
|
798
798
|
:param build_id: Filter by Build IDs
|
|
799
799
|
:type build_id: List[str]
|
|
800
800
|
:param device_id: Filter by Device IDs
|
|
801
|
-
:type device_id: List[
|
|
801
|
+
:type device_id: List[Optional[str]]
|
|
802
802
|
:param maintainer_id: Filter by Maintainer IDs
|
|
803
|
-
:type maintainer_id: List[
|
|
803
|
+
:type maintainer_id: List[Optional[str]]
|
|
804
804
|
:param codename: Filter by device codenames
|
|
805
805
|
:type codename: List[Optional[str]]
|
|
806
806
|
:param version: Filter by release version
|
|
@@ -812,7 +812,7 @@ class ReleaseApi:
|
|
|
812
812
|
:param freezed: Filter by the freezed status
|
|
813
813
|
:type freezed: bool
|
|
814
814
|
:param after_release_id: Show releases after the provided one
|
|
815
|
-
:type after_release_id:
|
|
815
|
+
:type after_release_id: str
|
|
816
816
|
:param after_date: Show releases after the provided timestamp
|
|
817
817
|
:type after_date: int
|
|
818
818
|
:param sort: Sort mode
|
|
@@ -887,17 +887,17 @@ class ReleaseApi:
|
|
|
887
887
|
@validate_call
|
|
888
888
|
async def get_releases_without_preload_content(
|
|
889
889
|
self,
|
|
890
|
-
id: Annotated[Optional[List[
|
|
891
|
-
id2: Annotated[Optional[List[
|
|
890
|
+
id: Annotated[Optional[List[Optional[StrictStr]]], Field(description="Filter by Release IDs")] = None,
|
|
891
|
+
id2: Annotated[Optional[List[Optional[StrictStr]]], Field(description="Filter by Release IDs (deprecated)")] = None,
|
|
892
892
|
build_id: Annotated[Optional[List[StrictStr]], Field(description="Filter by Build IDs")] = None,
|
|
893
|
-
device_id: Annotated[Optional[List[
|
|
894
|
-
maintainer_id: Annotated[Optional[List[
|
|
893
|
+
device_id: Annotated[Optional[List[Optional[StrictStr]]], Field(description="Filter by Device IDs")] = None,
|
|
894
|
+
maintainer_id: Annotated[Optional[List[Optional[StrictStr]]], Field(description="Filter by Maintainer IDs")] = None,
|
|
895
895
|
codename: Annotated[Optional[List[Optional[StrictStr]]], Field(description="Filter by device codenames")] = None,
|
|
896
896
|
version: Annotated[Optional[List[Optional[StrictStr]]], Field(description="Filter by release version")] = None,
|
|
897
897
|
type: Annotated[Optional[List[ReleaseType]], Field(description="Filter by release type")] = None,
|
|
898
898
|
archived: Annotated[Optional[StrictBool], Field(description="Filter by the archived status")] = None,
|
|
899
899
|
freezed: Annotated[Optional[StrictBool], Field(description="Filter by the freezed status")] = None,
|
|
900
|
-
after_release_id: Annotated[Optional[
|
|
900
|
+
after_release_id: Annotated[Optional[StrictStr], Field(description="Show releases after the provided one")] = None,
|
|
901
901
|
after_date: Annotated[Optional[StrictInt], Field(description="Show releases after the provided timestamp")] = None,
|
|
902
902
|
sort: Annotated[Optional[ReleasesSort], Field(description="Sort mode")] = None,
|
|
903
903
|
group: Annotated[Optional[StrictBool], Field(description="Group releases by version + variant. This will change the response!")] = None,
|
|
@@ -921,15 +921,15 @@ class ReleaseApi:
|
|
|
921
921
|
Lists releases. This method contains a bunch of different parameters to filter releases for different cases. For example, you may use ?after_release_id param to get only releases that came after the last known one (aka get updates). You can filter releases by maintainer_id to get releases from a specific maintainer. This is the maintainer who released the build, not the current maintainer of the device. Getting releases by device codename is obsolete thought. The reason for this is that devices could change codenames eventually. Unfortunately, some OEMs and community make a total mess of them. Please use /device methods to determine the right device (preferably with the user decision), save the device ID somewhere and use it afterward. Version tag is deprecated for the same reason, it's not really consistent, as it might contain patch and mod versions and very different by each maintainer.
|
|
922
922
|
|
|
923
923
|
:param id: Filter by Release IDs
|
|
924
|
-
:type id: List[
|
|
924
|
+
:type id: List[Optional[str]]
|
|
925
925
|
:param id2: Filter by Release IDs (deprecated)
|
|
926
|
-
:type id2: List[
|
|
926
|
+
:type id2: List[Optional[str]]
|
|
927
927
|
:param build_id: Filter by Build IDs
|
|
928
928
|
:type build_id: List[str]
|
|
929
929
|
:param device_id: Filter by Device IDs
|
|
930
|
-
:type device_id: List[
|
|
930
|
+
:type device_id: List[Optional[str]]
|
|
931
931
|
:param maintainer_id: Filter by Maintainer IDs
|
|
932
|
-
:type maintainer_id: List[
|
|
932
|
+
:type maintainer_id: List[Optional[str]]
|
|
933
933
|
:param codename: Filter by device codenames
|
|
934
934
|
:type codename: List[Optional[str]]
|
|
935
935
|
:param version: Filter by release version
|
|
@@ -941,7 +941,7 @@ class ReleaseApi:
|
|
|
941
941
|
:param freezed: Filter by the freezed status
|
|
942
942
|
:type freezed: bool
|
|
943
943
|
:param after_release_id: Show releases after the provided one
|
|
944
|
-
:type after_release_id:
|
|
944
|
+
:type after_release_id: str
|
|
945
945
|
:param after_date: Show releases after the provided timestamp
|
|
946
946
|
:type after_date: int
|
|
947
947
|
:param sort: Sort mode
|
|
@@ -1160,8 +1160,8 @@ class ReleaseApi:
|
|
|
1160
1160
|
@validate_call
|
|
1161
1161
|
async def get_updates_deprecated(
|
|
1162
1162
|
self,
|
|
1163
|
-
last_known_id:
|
|
1164
|
-
device_id: Annotated[Optional[List[
|
|
1163
|
+
last_known_id: StrictStr,
|
|
1164
|
+
device_id: Annotated[Optional[List[Optional[StrictStr]]], Field(description="Filter by device ID")] = None,
|
|
1165
1165
|
type: Annotated[Optional[List[ReleaseType]], Field(description="Filter by release type")] = None,
|
|
1166
1166
|
release_type: Annotated[Optional[List[ReleaseType]], Field(description="Filter by release type (legacy)")] = None,
|
|
1167
1167
|
skip: Annotated[Optional[StrictInt], Field(description="Skip query results")] = None,
|
|
@@ -1184,9 +1184,9 @@ class ReleaseApi:
|
|
|
1184
1184
|
Get updates method. Returns all new releases with release IDs. For example, \"/updates/<id>\" will return a list of all releases that were created after. You can also use \"device_id\" or / and \"release_type\" params. The first one will filter releases by specific devices, the second one will filter by release type. This can be useful, for example, if you want to notify users only with stable releases for this specific device. Warning: This method is obsolete! Please use /release/?after_release_id= instead!
|
|
1185
1185
|
|
|
1186
1186
|
:param last_known_id: (required)
|
|
1187
|
-
:type last_known_id:
|
|
1187
|
+
:type last_known_id: str
|
|
1188
1188
|
:param device_id: Filter by device ID
|
|
1189
|
-
:type device_id: List[
|
|
1189
|
+
:type device_id: List[Optional[str]]
|
|
1190
1190
|
:param type: Filter by release type
|
|
1191
1191
|
:type type: List[ReleaseType]
|
|
1192
1192
|
:param release_type: Filter by release type (legacy)
|
|
@@ -1249,8 +1249,8 @@ class ReleaseApi:
|
|
|
1249
1249
|
@validate_call
|
|
1250
1250
|
async def get_updates_deprecated_with_http_info(
|
|
1251
1251
|
self,
|
|
1252
|
-
last_known_id:
|
|
1253
|
-
device_id: Annotated[Optional[List[
|
|
1252
|
+
last_known_id: StrictStr,
|
|
1253
|
+
device_id: Annotated[Optional[List[Optional[StrictStr]]], Field(description="Filter by device ID")] = None,
|
|
1254
1254
|
type: Annotated[Optional[List[ReleaseType]], Field(description="Filter by release type")] = None,
|
|
1255
1255
|
release_type: Annotated[Optional[List[ReleaseType]], Field(description="Filter by release type (legacy)")] = None,
|
|
1256
1256
|
skip: Annotated[Optional[StrictInt], Field(description="Skip query results")] = None,
|
|
@@ -1273,9 +1273,9 @@ class ReleaseApi:
|
|
|
1273
1273
|
Get updates method. Returns all new releases with release IDs. For example, \"/updates/<id>\" will return a list of all releases that were created after. You can also use \"device_id\" or / and \"release_type\" params. The first one will filter releases by specific devices, the second one will filter by release type. This can be useful, for example, if you want to notify users only with stable releases for this specific device. Warning: This method is obsolete! Please use /release/?after_release_id= instead!
|
|
1274
1274
|
|
|
1275
1275
|
:param last_known_id: (required)
|
|
1276
|
-
:type last_known_id:
|
|
1276
|
+
:type last_known_id: str
|
|
1277
1277
|
:param device_id: Filter by device ID
|
|
1278
|
-
:type device_id: List[
|
|
1278
|
+
:type device_id: List[Optional[str]]
|
|
1279
1279
|
:param type: Filter by release type
|
|
1280
1280
|
:type type: List[ReleaseType]
|
|
1281
1281
|
:param release_type: Filter by release type (legacy)
|
|
@@ -1338,8 +1338,8 @@ class ReleaseApi:
|
|
|
1338
1338
|
@validate_call
|
|
1339
1339
|
async def get_updates_deprecated_without_preload_content(
|
|
1340
1340
|
self,
|
|
1341
|
-
last_known_id:
|
|
1342
|
-
device_id: Annotated[Optional[List[
|
|
1341
|
+
last_known_id: StrictStr,
|
|
1342
|
+
device_id: Annotated[Optional[List[Optional[StrictStr]]], Field(description="Filter by device ID")] = None,
|
|
1343
1343
|
type: Annotated[Optional[List[ReleaseType]], Field(description="Filter by release type")] = None,
|
|
1344
1344
|
release_type: Annotated[Optional[List[ReleaseType]], Field(description="Filter by release type (legacy)")] = None,
|
|
1345
1345
|
skip: Annotated[Optional[StrictInt], Field(description="Skip query results")] = None,
|
|
@@ -1362,9 +1362,9 @@ class ReleaseApi:
|
|
|
1362
1362
|
Get updates method. Returns all new releases with release IDs. For example, \"/updates/<id>\" will return a list of all releases that were created after. You can also use \"device_id\" or / and \"release_type\" params. The first one will filter releases by specific devices, the second one will filter by release type. This can be useful, for example, if you want to notify users only with stable releases for this specific device. Warning: This method is obsolete! Please use /release/?after_release_id= instead!
|
|
1363
1363
|
|
|
1364
1364
|
:param last_known_id: (required)
|
|
1365
|
-
:type last_known_id:
|
|
1365
|
+
:type last_known_id: str
|
|
1366
1366
|
:param device_id: Filter by device ID
|
|
1367
|
-
:type device_id: List[
|
|
1367
|
+
:type device_id: List[Optional[str]]
|
|
1368
1368
|
:param type: Filter by release type
|
|
1369
1369
|
:type type: List[ReleaseType]
|
|
1370
1370
|
:param release_type: Filter by release type (legacy)
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
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 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 5.2.
|
|
8
|
+
The version of the OpenAPI document: 5.2.3
|
|
9
9
|
Contact: admin@orangefox.tech
|
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
11
|
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
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 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 5.2.
|
|
8
|
+
The version of the OpenAPI document: 5.2.3
|
|
9
9
|
Contact: admin@orangefox.tech
|
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
11
|
|
|
@@ -91,7 +91,7 @@ class ApiClient:
|
|
|
91
91
|
self.default_headers[header_name] = header_value
|
|
92
92
|
self.cookie = cookie
|
|
93
93
|
# Set default User-Agent.
|
|
94
|
-
self.user_agent = 'OpenAPI-Generator/5.2.
|
|
94
|
+
self.user_agent = 'OpenAPI-Generator/5.2.3/python'
|
|
95
95
|
self.client_side_validation = configuration.client_side_validation
|
|
96
96
|
|
|
97
97
|
async def __aenter__(self):
|