How to get a file which under directory via REST API?
Created by: BrickXu
Hi all, ENV: GitLab 7.2.1 ff1633f4
I want to get some config files via REST API, and I find it in the docs (/help)
GET /projects/:id/repository/blobs/:sha
It works well when I get the file in the repository root path, but it seems that does not support to get a file under the directory with filepath
curl -G -H "Content-type: application" http://my-gitlab-domain/api/v3/projects/10070/repository/blobs/init --data-urlencode private_token=xxxxx --data-urlencode filepath=conf/kernel.conf
it returns 404 File Not Found, but conf/kernel.conf
exist in the repo.