# \ApiGetUnitPropertyApi All URIs are relative to *http://localhost* Method | HTTP request | Description ------------- | ------------- | ------------- [**unit_properties**](ApiGetUnitPropertyApi.md#unit_properties) | **GET** /unit-properties/ | Return all registered unit properties [**unit_property_by_id**](ApiGetUnitPropertyApi.md#unit_property_by_id) | **GET** /unit-property/{id} | Get Unit property by id ## unit_properties > Vec unit_properties() Return all registered unit properties ### Parameters This endpoint does not need any parameter. ### Return type [**Vec**](UnitProperty.md) ### Authorization No authorization required ### HTTP request headers - **Content-Type**: Not defined - **Accept**: application/json, text/plain [[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) ## unit_property_by_id > models::UnitProperty unit_property_by_id(id) Get Unit property by id ### Parameters Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- **id** | [**UnitPropertyId**](.md) | Unit Property id | [required] | ### Return type [**models::UnitProperty**](UnitProperty.md) ### Authorization No authorization required ### HTTP request headers - **Content-Type**: Not defined - **Accept**: application/json, text/plain [[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)