Gitea API: get repo content from a branch

Hello,

GET /repos/{owner}/{repo}/raw/{filepath}

is there a way to specify the branch for this type of request ?

Looked around a bit in the Swagger API for Gitea and the source code, and have yet to find anything that matches. Looks like it might be bust.

in the gitea 10 swagger api I just found:

repos/{owner}/{repo}/contents/{file}?ref=myBranch