SEWebAPI
SEWebAPI copied to clipboard
request build of X components to assembler block
Allow a PUT to an assembler block which will place X of component type specified to be built. Note that we also will need the status of whether an assembler is currently in assembling or disassembling state in the /blocks endpoint GET.
PROVIDES: Ability to manage production tab through sewa -- specifically, it would allow the player to pick from a menu on a web or mobile interface of completed blocks or completed blueprints and have all of the required components queued into the assembler.
PUT http://server.dom/MagicGridID/blocks
Content-Type:application/json
{
"data":
[
{
"id": 120295775471435265,
"Item": "Computers",
"value": "200",
"action": "assemble"
}
]
}