warID added to API, Fixes #256