foxclient 6.0.2

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.
Documentation
# \DeviceApi

All URIs are relative to *https://api.orangefox.download*

Method | HTTP request | Description
------------- | ------------- | -------------
[**get_device**]DeviceApi.md#get_device | **GET** /devices/get | GET /devices/get - Get a single device by device_id, codename, or _id.
[**get_device_by_id**]DeviceApi.md#get_device_by_id | **GET** /devices/{device_id} | GET /devices/{device_id} - Get device by ID (deprecated).
[**get_oems**]DeviceApi.md#get_oems | **GET** /oems | GET /oems - Get a list of all unique OEM names.
[**list_devices**]DeviceApi.md#list_devices | **GET** /devices | GET /devices/ - List devices with filters.



## get_device

> models::DeviceResponse get_device(device_id, codename, _id)
GET /devices/get - Get a single device by device_id, codename, or _id.

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**device_id** | Option<**String**> |  |  |
**codename** | Option<**String**> |  |  |
**_id** | Option<**String**> |  |  |

### Return type

[**models::DeviceResponse**](DeviceResponse.md)

### Authorization

No authorization required

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: application/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)


## get_device_by_id

> models::DeviceResponse get_device_by_id(device_id)
GET /devices/{device_id} - Get device by ID (deprecated).

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**device_id** | **String** | Device ID | [required] |

### Return type

[**models::DeviceResponse**](DeviceResponse.md)

### Authorization

No authorization required

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: application/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)


## get_oems

> models::ListResponseString get_oems()
GET /oems - Get a list of all unique OEM names.

### Parameters

This endpoint does not need any parameter.

### Return type

[**models::ListResponseString**](ListResponse_String.md)

### Authorization

No authorization required

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: application/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)


## list_devices

> models::ListResponseShortDeviceResponse list_devices(id, _id, oem_name, codename, model_name, supported, maintainer, freezed, has_releases, skip, limit)
GET /devices/ - List devices with filters.

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**id** | Option<**String**> |  |  |
**_id** | Option<**String**> |  |  |
**oem_name** | Option<**String**> |  |  |
**codename** | Option<**String**> |  |  |
**model_name** | Option<**String**> |  |  |
**supported** | Option<**bool**> |  |  |
**maintainer** | Option<**String**> |  |  |
**freezed** | Option<**bool**> |  |  |
**has_releases** | Option<**bool**> |  |  |
**skip** | Option<**i64**> |  |  |
**limit** | Option<**i64**> |  |  |

### Return type

[**models::ListResponseShortDeviceResponse**](ListResponse_ShortDeviceResponse.md)

### Authorization

No authorization required

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: application/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)