InventoryManager

СПЛАЧЕНО
(Ким) ChainLoop | Оновлено לפני חודשיים | Food
Health Check

N/A

Назад до всіх навчальних посібників (1)

Inventory Manager API Tutorial

This API allows users to manage inventory items, get product suggestions, recipes, and DIY ideas, share products, and view inventory overviews.

  1. Registration: /register
    Method: POST
    Description: Register a new user.
    Function: register

  2. Login: /login
    Method: POST
    Description: Log in with user credentials.
    Function: login

  3. Auth Test: /auth_test
    Method: GET
    Description: Test authentication.
    Function: auth_test

  4. Configure DB: /configure_db
    Method: POST
    Description: Configure the database.
    Function: configure_db

  5. Add Product: /product
    Method: POST
    Description: Add a single product.
    Function: add_product

  6. Add Products in Batch: /products/batch
    Method: POST
    Description: Add multiple products at once.
    Function: add_products_in_batch

  7. Get Suggestions: /suggestions
    Method: POST
    Description: Receive product usage suggestions.
    Function: get_suggestions

  8. Get Recipes: /recipes
    Method: POST
    Description: Get the top 3 recipes related to a product.
    Function: get_recipes

  9. Get DIY Suggestions: /diy-suggestions
    Method: POST
    Description: Get DIY ideas for a product.
    Function: get_diy_suggestions

  10. Share Product: /product/share
    Method: POST
    Description: Share a product with others.
    Function: share_product

  11. Get Shared Products: /product/shared
    Method: GET
    Description: Retrieve shared products.
    Function: get_shared_products

  12. Inventory Overview: /inventory/overview
    Method: GET
    Description: View an overview of the inventory.
    Function: inventory_overview