Lots
####
Lots are folders that contain devices and other lots, and can be
at the same time under several lots.
`Here `_ you have
a low-level technical implementation of how lots and their
relationships are mapped.
Create lots
***********
You create a lot by ``POST /lots/`` a `JSON Lot object `_.
Adding / removing children
**************************
You can add lots to a lot by performing
``POST /lots//children/?id=&id=``.
Note that all lots must exist before. The **parent** lot is the
lot containing the **children** lots without any intermediate lot.
To remove children lots the idea is the same:
``DELETE /lots//children/?id=&id=``.
And for devices is all the same:
``POST /lots//devices/?id=&id=``;
idem for removing devices.