add upload and retrieve specs
fix status code in all files