Open
Description
When testing the API to get the current set of lineups, I noticed that the returned JSON doesn't have a 'code' value like most of the other APIs. I was hoping I could count on this being present in all return values, so I could keep my error handling in a common function, always looking for 'code' to be 0 to indicate success.
Also, if you call this API when there are no lineups added for the user, it returns an HTTP 400 Bad Request error. It would be better to return an empty list here, or at least some kind of JSON error rather than an HTTP error.