Re: How to get the content of a file by using Gitlab API

2017-08-18 Thread Aleksey Tsalolikhin
https://docs.gitlab.com/ee/api/repository_files.html#get-file-from-repository On Aug 18, 2017 7:04 AM, "Zeynep Uyanık" wrote: > http://git.example/api/v4/projects/:id/repository/tree? > PRIVATE-TOKEN=:private-token > > returns as; > > [{"id":id,"name":"test.js","type":"blob","path":"test.js","mo

How to get the content of a file by using Gitlab API

2017-08-18 Thread Zeynep Uyanık
http://git.example/api/v4/projects/:id/repository/tree?PRIVATE-TOKEN=:private-token returns as; [{"id":id,"name":"test.js","type":"blob","path":"test.js","mode":"100644"}] I want to get the content of file test.js. How can I achieve it? -- You received this message because you are subscribed