Skip to content

API ‐ V3

Chris Mavrommatis edited this page Mar 28, 2025 · 3 revisions

Version 3 of the Binacle.Net API builds upon Version 2's Pack By Custom but only accepts an algorithm selection as a parameter. It also introduces ViPaq, a protocol for encoding packing information efficiently.

🔍 Learn more:

Warning

This API version is experimental and can change at any time.

🔌 Endpoints

📦 Pack by Custom

POST /api/v3/pack/by-custom
📡 Request: Provide a list of bins and items, along with the desired algorithm to be used for packing.
📩 Returns: The API performs the Packing function and returns results for each bin in the request, including specific locations for each item.

📦 Packing Parameters

The Pack endpoints accepts the following parameters:

  • Algorithm: Select the packing algorithm to use.

🧠 Available Algorithms:

  • ⚖️ FFD (First Fit Decreasing)
  • ⚠️ WFD (Worst Fit Decreasing)
  • ⚠️ BFD (Best Fit Decreasing)

Clone this wiki locally