SEWebAPI icon indicating copy to clipboard operation
SEWebAPI copied to clipboard

Pull contents to container

Open mccorkle opened this issue 9 years ago • 0 comments

Allow a PUT to a block to request X amount of object (component, ingot, ore, tool) to be PULLED from all connected blocks (e.g. how assemblers do it during production).

I imagine it would work something like this:

PUT http://server.dom/MagicGridID/blocks

Content-Type:application/json
{
  "data":
  [
    {
      "id": 120295775471435265,
      "Item": "Iron Ore",
      "value": "2000",
      "action": "pull"
    }
  ]
}

mccorkle avatar Aug 12 '16 15:08 mccorkle