Corrects some HTTP Status codes, adds media upload endpoint to the API