Updated api-spec JSON.

Updated the api-spec to stop the java generation tools from overwriting the Status class numberous time. Refactored the Status model into individual classes for each endpoint