about summary refs log tree commit diff stats
path: root/crates/rocie-client/docs/ApiGetProductApi.md
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2025-11-28 16:35:35 +0100
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2025-11-28 16:35:35 +0100
commita479685602347b473d74f99f492e5e85d7afde94 (patch)
treeed7eea0fbab0a9f33d959345719d638271539da0 /crates/rocie-client/docs/ApiGetProductApi.md
parentfeat(crates/rocie-cli): Add support for product parents (diff)
downloadserver-a479685602347b473d74f99f492e5e85d7afde94.zip
chore(crates/rocie-client): Re-generate
Diffstat (limited to 'crates/rocie-client/docs/ApiGetProductApi.md')
-rw-r--r--crates/rocie-client/docs/ApiGetProductApi.md94
1 files changed, 91 insertions, 3 deletions
diff --git a/crates/rocie-client/docs/ApiGetProductApi.md b/crates/rocie-client/docs/ApiGetProductApi.md
index a7d0918..3491910 100644
--- a/crates/rocie-client/docs/ApiGetProductApi.md
+++ b/crates/rocie-client/docs/ApiGetProductApi.md
@@ -7,7 +7,10 @@ Method | HTTP request | Description
 [**product_by_id**](ApiGetProductApi.md#product_by_id) | **GET** /product/by-id/{id} | Get Product by id
 [**product_by_name**](ApiGetProductApi.md#product_by_name) | **GET** /product/by-name/{name} | Get Product by name
 [**product_suggestion_by_name**](ApiGetProductApi.md#product_suggestion_by_name) | **GET** /product/by-part-name/{name} | Get Product suggestion by name
-[**products**](ApiGetProductApi.md#products) | **GET** /products/ | Return all registered products
+[**products_by_product_parent_id_direct**](ApiGetProductApi.md#products_by_product_parent_id_direct) | **GET** /product/by-product-parent-id-direct/{id} | Get Products by it's product parent id
+[**products_by_product_parent_id_indirect**](ApiGetProductApi.md#products_by_product_parent_id_indirect) | **GET** /product/by-product-parent-id-indirect/{id} | Get Products by it's product parent id
+[**products_in_storage**](ApiGetProductApi.md#products_in_storage) | **GET** /products_in_storage/ | Return all products, which non-null amount in storage
+[**products_registered**](ApiGetProductApi.md#products_registered) | **GET** /products_registered/ | Return all registered products
 
 
 
@@ -95,9 +98,94 @@ No authorization required
 [[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)
 
 
-## products
+## products_by_product_parent_id_direct
 
-> Vec<models::Product> products()
+> Vec<models::Product> products_by_product_parent_id_direct(id)
+Get Products by it's product parent id
+
+This will only return products directly associated with this product parent id
+
+### Parameters
+
+
+Name | Type | Description  | Required | Notes
+------------- | ------------- | ------------- | ------------- | -------------
+**id** | [**ProductParentId**](.md) | Product parent id | [required] |
+
+### Return type
+
+[**Vec<models::Product>**](Product.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)
+
+
+## products_by_product_parent_id_indirect
+
+> Vec<models::Product> products_by_product_parent_id_indirect(id)
+Get Products by it's product parent id
+
+This will also return all products below this product parent id
+
+### Parameters
+
+
+Name | Type | Description  | Required | Notes
+------------- | ------------- | ------------- | ------------- | -------------
+**id** | [**ProductParentId**](.md) | Product parent id | [required] |
+
+### Return type
+
+[**Vec<models::Product>**](Product.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)
+
+
+## products_in_storage
+
+> Vec<models::Product> products_in_storage()
+Return all products, which non-null amount in storage
+
+### Parameters
+
+This endpoint does not need any parameter.
+
+### Return type
+
+[**Vec<models::Product>**](Product.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)
+
+
+## products_registered
+
+> Vec<models::Product> products_registered()
 Return all registered products
 
 ### Parameters