API endpoint updated for status code

Progress on #101

Added status_code to plain /api endpoint for consistency and to adhere
to the updated API specification