API: access to non-existent project branch returns 200
Created by: justahero
Using the API to access a project branch that does not exist returns the status
code 200 without any json data. The following GET request shows the behavior for a given
project with id and the non-existent branch unknown
.
GET /api/v3/projects/1/repository/branches/unknown
An error code of 404 should be returned and maybe a message that the branch does not exist.