added an API endpoint for registering an install.