Running my own instance of Bitbucket server.
There are tutorials on the web that say to use ..."repos/{repo-name}/raw/path/to/file", but the rest api returns null when using "raw".
Was this response ability discontinued?