Added ability to view inventory from the REST API