Api interface: add entry

Continuing the filling out of the API interface by enabling the addition of entries.