Fix input descriptor

* Return the id in the /input API