# \DeviceApi
All URIs are relative to *https://api.orangefox.download*
[**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
**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
**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
**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)