Updated rest API to include support for more API calls.  Work in progress.