REST interface to add items.