Check content_type of api and more thorough coverage
Fix return types for errors
Download data buttons now use key
Can not use api while signed in with no api key anymore
Extract method